Identification of Power System Stability Using Relevant Modes