Real-Time Contingency Analysis on Massively Parallel Architectures With Compensation Method