Solution to the multi-machine transient stability problem and simulated validation in realistic scenarios