Modeling of high power semiconductor switches operated in the nonlinear mode