Time-Varying Modelling and Stability Analysis Method of Grid-Connected Inverter under the Long-Term Operation