Stability analysis of ELMs in long-pulse discharges with ELITE code on EAST tokamak