Equilibrium state of the electric circuits - a minimum dissipated power