Compute the energy consummed by HR2 from openHRP log "-astate".