Impact of Inverter Control on the Dynamic Performance of Power Systems with High Penetration of Inverter-based Resources