Fix the OpenModelica progress bar

- Do not start a new simulation thread for each request to get the progress