Physics-Informed Machine Learning for Characterizing System Stability