Multi-rate electromagnetic transient simulation of large-scale power system based on multi-core