function cumsum input Real x[:] = {0, 0}; output Real X[size(x, 1)]; end cumsum;
Developed 2014 at the DLR Institute of System Dynamics and Control