More work on IPOPT optimizer. Prevented repeated slv_get_status errors; added exception in getSimulationStatus in C++.