This paper addresses the implementation of a computationally efficient optimization technique for designing structures simulated in 3D electromagnetic field solvers. A probe of concept is done by the EM-based optimization of a planar spiral inductor for high-power applications. The optimization technique employed is based on space mapping (SM) methods, more specifically on the Broyden-based input space mapping algorithm. Our optimization results confirm the efficiency of the proposed approach.