generalized multiple shooting for different Dae and integrator types