The Stability and Energy Identity for Yang-Mills Functional