Accelerating electromagnetic transient simulation of electrical power systems using graphics processing units