Skip to content

OMSens Sensitivity Optimization Tool Error: Doesn't run under any configuration #25

@DiscoWolf99

Description

@DiscoWolf99

Description

Cannot run any Sensitivity Optimizations. Error is quite long. See attached image.
Fresh install of OM 1.20. Windows 10. Python path points to OM install folders ../Modelica/tools/msys/mingw64/bin/python.exe (default)
Most of the errors seem to point to python scripts within the OMSens folder.
I have attempted installing and running a different Python; provides a different error (probably because the default path is what I should be using)
Nonetheless, I would really like to know how I can get Sensitivity analysis to run.

The issue is model independent. I observed it on both custom models/packages and also built in models such as the PID controller example.

Steps to reproduce

Given all the defaults and the fresh install, I really cant say. But let me know if there are any tricks I should try or options I should troubleshoot.

Expected behavior

I assume it to behave like the example documentation shows. I really don't know because I have never got it to run. (I am a new user)

Screenshots

OMSens_error

OMSens_error2

Image 1 and 2 differ by some Sensitivity Analysis parameter/variable selections
Below is the log files regarding image 1 above.
OMSens_error_docs

Version and OS

  • OpenModelica Version 1.20 64bit (installed via stable build .exe on official website)
  • OS: [e.g. Windows 10, 64 bit]
  • Installed mode CurrentUser
  • tested install with Admin and without.

Additional context

I haven't been able to find any further information about this particular error. Maybe my search terms are not getting traction.
This is the first major issue I have run into with OM. And since it is only occuring with OMSens, I think the issue is localized there and among the python scripts, etc.

I have a feeling that maybe the Python.exe in OM install needs to be added to PATH?

Any thoughts on this, Void?
PS, Same issue was posted to the OpenModelica Repo issue tracker. Moving here upon request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions