Source code and library for the inverted pendulum controller system identification with direct collocation and other methods.