Thank you Yasser for the answer. I tried that. In the output file it works and the graph shows the accumulatted average over time, and in that case the last data of the Time vs AvTorque graph would be useful, however, the output parameter generated does not correspond to that of the average but to the torque at the last time-step. It is weird, I dont know why it happens.n