Opened 9 years ago

Last modified 4 years ago

#3843 new defect

Write .log file directly to disk — at Initial Version

Reported by: Francesco Casella Owned by: somebody
Priority: high Milestone:
Component: Run-time Version:
Keywords: Cc:

Description

If I simulate ThermoPower.Examples.CISE.CISESim120501 with OMC for Windows 64 bit with the following flags:

setCommandLineOptions("+cseCall +cseEachCall 
  --tearingMethod=omcTearing --preOptModules+=introduceDerAlias 
  --preOptModules-=clockPartitioning 
  -d=dumpSimCode,nogen,initialization,backenddaeinfo,discreteinfo,
     stateselection"); getErrorString();

I get this message on the console:

Error: File too large to fit into a MetaModelica string: 
ThermoPower.Examples.CISE.CISESim120501.log.

and the log file does not contain the log of the solver.

These log files can become huge (hundreds of megabytes). This is no big deal, as long as they are written directly to file. Having access to this information can be crucial for debugging.

Please make sure this date goes straight to mass storage without being stored in a MetaModelica string.

Change History (0)

Note: See TracTickets for help on using tickets.