Fixed the issue of the IDA solver not being able to retrieve consistent initial conditions (closes #153).