Moved dp equation from variable declaration to equation section

This avoids a problem with PyFMI