On the optimal control of implicit systems P. Petit ESAIM: COCV, 3 (1998) 49-81 Published online: 15 August 2002 DOI: 10.1051/cocv:1998102