Opened 12 years ago

Closed 12 years ago

#1863 closed defect (invalid)

simulate with storeInTemp=true fails (again)

Reported by: Bill Janssen Owned by: Martin Sjölund
Priority: normal Milestone: 1.9.0
Component: Interactive Environment Version: trunk
Keywords: Cc:

Description

The (new?) xml file describing the initialization isn't looked for properly when storeInTemp=true.

>>> loadModel(Modelica)
loadModel(Modelica)
true
>>> loadFile("rlc_series.mo")
loadFile("rlc_series.mo")
true
>>> simulate(rlc_series,outputFormat="csv",storeInTemp=true)
simulate(rlc_series,outputFormat="csv",storeInTemp=true)
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 0.000001, method = 'dassl', fileNamePrefix = 'rlc_series', storeInTemp = true, noClean = false, options = '', outputFormat = 'csv', variableFilter = '.*', measureTime = false, cflags = '', simflags = ''",
    messages = "Simulation execution failed for model: rlc_series
throw   | [line] 234 | [file] simulation/simulation_input_xml.cpp
        | simulation_input_xml.cpp: Error: can not read file rlc_series_init.xml as setup file to the generated simulation code.
",
    timeFrontend = 0.0,
    timeBackend = 0.0,
    timeSimCode = 0.0,
    timeTemplates = 0.0,
    timeCompile = 0.0,
    timeSimulation = 0.0,
    timeTotal = 0.0
end SimulationResult;
>>>


Change History (3)

comment:1 by Martin Sjölund, 12 years ago

storeInTemp was a MathCore feature that got put into OpenModelica because the front- and backends were not separated properly. It is now possible for us to remove all traces of it since it was not intended to be used in OpenModelica...

comment:2 by Martin Sjölund, 12 years ago

Owner: changed from somebody to Martin Sjölund
Status: newassigned

comment:3 by Martin Sjölund, 12 years ago

Resolution: invalid
Status: assignedclosed

Flag removed in r15927 (together with the noClean flag).

Note: See TracTickets for help on using tickets.