Zaslat SMS: Module-oriented automatic differentiation in nonlinear control