Confinement and power balance in the S-1 spheromak