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