Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Optimizing OpenModelica in GenOpt - Logfile Problem

Optimizing OpenModelica in GenOpt - Logfile Problem

Hi,

I try to optimize a simulation in GenOpt.
For a first try I used the example from git for dymola and it worked well (https://github.com/lbl-srg/GenOpt/tree/ … e/dymola).

Doing the same with a simulation model in OpenModelica GenOpt shows the error:
File: '...\tmp-genopt-run-1\dslog.txt' does not exist after simulation call.

GenOpt scans the logfile which is created after running the file dymosim.exe of a simulation in dymola (example from git).
Simulating a model in OpenModelica creates the neccessary exe-file. Running this exe-file does unfortunately not create a logfile.

Which settings do I have to choose in OpenModelica to get that logfile?

Thanks for helping me!
Johannes

Re: Optimizing OpenModelica in GenOpt - Logfile Problem

Of course OpenModelica will not output a dslog.txt (Dassault Systemes log dot txt)... We produce the log on stdout like normal Unix tools current/smile

Re: Optimizing OpenModelica in GenOpt - Logfile Problem

Hey

thank you for your answer.
Can you tell me, what I have to do to get the log? I am not so good at Unix current/wink

Thanks for your effort!

Re: Optimizing OpenModelica in GenOpt - Logfile Problem

It's in the stdout - it's output in the console when you run the executable.

Re: Optimizing OpenModelica in GenOpt - Logfile Problem

................

Edited by: DTCPESOPHD - Jun-15-20 11:44:56
There are 0 guests and 0 other users also viewing this topic
You are here: