Numerical integration and time integration seems to work.
Validated with matlab model.