Energy repartition in the nonequilibrium steady state