Numerical simulation of a power transformer using 3D finite element method coupled to circuit equation