Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001324/0.001324, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.000917/0.0009171, allocations: 107.8 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002392/0.0002393, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2458, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09439/0.3403, allocations: 77.86 MB / 453.8 MB, free: 2.793 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.3406, allocations: 83.95 kB / 453.9 MB, free: 2.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.3524, allocations: 4.4 MB / 458.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3525, allocations: 0 / 458.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.3525, allocations: 11.98 kB / 458.3 MB, free: 14.29 MB / 346.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.0008678/0.3534, allocations: 0.546 MB / 458.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3534, allocations: 8.031 kB / 458.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.441e-05/0.3535, allocations: 62.53 kB / 458.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.3536, allocations: 35.62 kB / 458.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.3539, allocations: 264.4 kB / 459.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.354, allocations: 16.56 kB / 459.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.354, allocations: 24 kB / 459.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.3545, allocations: 244.8 kB / 459.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3545, allocations: 0 / 459.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.3546, allocations: 12 kB / 459.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3546, allocations: 8 kB / 459.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.3551, allocations: 222.1 kB / 459.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.3568, allocations: 0.9524 MB / 460.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.3573, allocations: 194.5 kB / 460.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3573, allocations: 7.969 kB / 460.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3574, allocations: 34.56 kB / 460.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.3574, allocations: 0 / 460.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001323/0.3587, allocations: 0.5345 MB / 461.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.3588, allocations: 59.33 kB / 461.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.359, allocations: 200.7 kB / 461.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.359, allocations: 33.7 kB / 461.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3591, allocations: 171.9 kB / 461.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.3592, allocations: 63.11 kB / 461.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.3592, allocations: 8 kB / 461.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3594, allocations: 334.8 kB / 462.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3595, allocations: 64.47 kB / 462.3 MB, free: 9.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.3597, allocations: 122 kB / 462.4 MB, free: 9.832 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3599, allocations: 78.42 kB / 462.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3599, allocations: 0 / 462.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006322/0.3605, allocations: 342 kB / 462.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.3608, allocations: 0.6172 MB / 463.5 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3608, allocations: 4 kB / 463.5 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.3612, allocations: 72.81 kB / 463.6 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.3614, allocations: 47.97 kB / 463.6 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007296/0.3621, allocations: 0.681 MB / 464.3 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3623, allocations: 27.81 kB / 464.3 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.3623, allocations: 11.98 kB / 464.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.3623, allocations: 8.062 kB / 464.3 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003616/0.3627, allocations: 216.3 kB / 464.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.3627, allocations: 0 / 464.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.515e-05/0.3628, allocations: 36.84 kB / 464.6 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.363, allocations: 55.84 kB / 464.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.3643, allocations: 1.534 MB / 466.2 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3644, allocations: 31.78 kB / 466.2 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3644, allocations: 15.88 kB / 466.2 MB, free: 5.848 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.3646, allocations: 217.1 kB / 466.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.3647, allocations: 19.81 kB / 466.4 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.3647, allocations: 25.86 kB / 466.5 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3647, allocations: 4 kB / 466.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3647, allocations: 0 / 466.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3648, allocations: 0 / 466.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3651, allocations: 313.3 kB / 466.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.3651, allocations: 0 / 466.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3653, allocations: 31.92 kB / 466.8 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002163/0.3655, allocations: 76.8 kB / 466.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3655, allocations: 4 kB / 466.9 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.3674, allocations: 1.761 MB / 468.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3674, allocations: 0 / 468.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/0.3681, allocations: 444.9 kB / 469.1 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.3682, allocations: 104.8 kB / 469.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.3682, allocations: 0 / 469.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3684, allocations: 28.05 kB / 469.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.3684, allocations: 7.984 kB / 469.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3684, allocations: 8 kB / 469.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3686, allocations: 164.5 kB / 469.4 MB, free: 2.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.613e-06/0.3686, allocations: 4 kB / 469.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005107/0.3691, allocations: 127.6 kB / 469.5 MB, free: 2.305 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.3701, allocations: 0.9832 MB / 470.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008429/0.371, allocations: 454.3 kB / 470.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.371, allocations: 3.984 kB / 470.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.3713, allocations: 219.3 kB / 471.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3716, allocations: 32.61 kB / 471.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.3749, allocations: 2.734 MB / 473.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3752, allocations: 0.7522 MB / 474.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3753, allocations: 25.94 kB / 474.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.3754, allocations: 75.41 kB / 474.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3754, allocations: 0 / 474.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.3931, allocations: 4.979 MB / 479.8 MB, free: 7.93 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/0.3934, allocations: 210.8 kB / 480 MB, free: 7.695 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.177, allocations: 8.062 kB / 480 MB, free: 7.688 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat