Modeling and Simulation of Power System with High Penetration of Inverter-based Resources