Stability analysis of power system under n-1 contingency condition | Synapse