Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002296/0.002296, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 94.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.781e-05, allocations: 4 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5366, allocations: 77.77 MB / 447 MB, free: 15.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5369, allocations: 81.39 kB / 447 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01986/0.5568, allocations: 4.399 MB / 451.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5569, allocations: 0 / 451.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.5569, allocations: 8 kB / 451.4 MB, free: 11.6 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00107/0.558, allocations: 0.5106 MB / 452 MB, free: 11.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.558, allocations: 12.03 kB / 452 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.497e-05/0.5582, allocations: 62.41 kB / 452 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.5583, allocations: 31.72 kB / 452.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.5588, allocations: 261.2 kB / 452.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.5588, allocations: 19.88 kB / 452.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.5589, allocations: 23.25 kB / 452.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.5595, allocations: 218.6 kB / 452.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5595, allocations: 7.984 kB / 452.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.5596, allocations: 11.19 kB / 452.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.5596, allocations: 4 kB / 452.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.5601, allocations: 183.5 kB / 452.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.5626, allocations: 0.945 MB / 453.7 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.5633, allocations: 164.7 kB / 453.9 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.5638, allocations: 145.5 kB / 454 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.5638, allocations: 0 / 454 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.5639, allocations: 46.42 kB / 454.1 MB, free: 9.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/0.5639, allocations: 0 / 454.1 MB, free: 9.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008872/0.5648, allocations: 228.2 kB / 454.3 MB, free: 9.062 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.5649, allocations: 51.41 kB / 454.3 MB, free: 9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.5652, allocations: 213.2 kB / 454.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.5653, allocations: 25.7 kB / 454.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.5654, allocations: 237.5 kB / 454.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-05/0.5655, allocations: 69.06 kB / 454.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/0.5655, allocations: 3.938 kB / 454.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5657, allocations: 322.1 kB / 455.2 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.5659, allocations: 51.38 kB / 455.2 MB, free: 8.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.5661, allocations: 100.3 kB / 455.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.5663, allocations: 66.3 kB / 455.4 MB, free: 8.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5663, allocations: 4 kB / 455.4 MB, free: 8.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009628/0.5673, allocations: 286 kB / 455.7 MB, free: 7.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003641/0.5677, allocations: 0.6178 MB / 456.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5677, allocations: 3.953 kB / 456.3 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.5681, allocations: 59.16 kB / 456.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.5685, allocations: 43.92 kB / 456.4 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.5695, allocations: 0.648 MB / 457.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.5698, allocations: 30.59 kB / 457.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.5699, allocations: 8 kB / 457.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5699, allocations: 7.125 kB / 457.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005924/0.5705, allocations: 213 kB / 457.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5705, allocations: 3.984 kB / 457.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/0.5707, allocations: 47.14 kB / 457.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.5711, allocations: 43.92 kB / 457.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.5733, allocations: 1.587 MB / 459 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.5735, allocations: 23.34 kB / 459 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.5735, allocations: 11.94 kB / 459 MB, free: 4.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.5737, allocations: 120.9 kB / 459.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5738, allocations: 27.78 kB / 459.2 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.5739, allocations: 24.84 kB / 459.2 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5739, allocations: 0 / 459.2 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5739, allocations: 7.953 kB / 459.2 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.574, allocations: 3.984 kB / 459.2 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.5754, allocations: 0.604 MB / 459.8 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5754, allocations: 0 / 459.8 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.5757, allocations: 27.92 kB / 459.8 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002687/0.576, allocations: 60.39 kB / 459.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.576, allocations: 3.875 kB / 459.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.5786, allocations: 1.678 MB / 461.6 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5786, allocations: 320 / 461.6 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.5797, allocations: 382.7 kB / 462 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.5798, allocations: 108.8 kB / 462.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.5799, allocations: 0 / 462.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.5802, allocations: 27.92 kB / 462.1 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.5803, allocations: 16 kB / 462.1 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.5803, allocations: 12.06 kB / 462.1 MB, free: 1.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002437/0.5806, allocations: 161.9 kB / 462.3 MB, free: 1.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5806, allocations: 0 / 462.3 MB, free: 1.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007909/0.5814, allocations: 123.7 kB / 462.4 MB, free: 1.207 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.5829, allocations: 0.9347 MB / 463.3 MB, free: 252 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.5843, allocations: 430.4 kB / 463.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5844, allocations: 0 / 463.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.5848, allocations: 206.4 kB / 463.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.5853, allocations: 37.33 kB / 464 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.5883, allocations: 0.7299 MB / 464.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.5888, allocations: 0.7602 MB / 465.5 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.589, allocations: 75.41 kB / 465.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.589, allocations: 0 / 465.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.664/3.253, allocations: 4.643 MB / 470.2 MB, free: 9.277 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat