Interfacing dynamic phasor based system equivalents to an electromagnetic transient simulation