Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009521/0.0009522, allocations: 92.62 kB / 16.95 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 183.2 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006725/0.0006727, allocations: 12 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1414, allocations: 47.58 MB / 328.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003021/0.1445, allocations: 1.754 MB / 330.2 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1458, allocations: 0.5428 MB / 330.8 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.146, allocations: 4 kB / 330.8 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.1462, allocations: 27.77 kB / 330.8 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.1464, allocations: 51.61 kB / 330.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1466, allocations: 43.94 kB / 330.9 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.147, allocations: 211 kB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.1473, allocations: 58.09 kB / 331.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1474, allocations: 67.77 kB / 331.2 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.1476, allocations: 83.67 kB / 331.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.1477, allocations: 12 kB / 331.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.802e-05/0.1478, allocations: 12 kB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.1478, allocations: 35.84 kB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.1479, allocations: 57.64 kB / 331.4 MB, free: 1 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1481, allocations: 171.7 kB / 331.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.1482, allocations: 4 kB / 331.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1482, allocations: 0 / 331.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1482, allocations: 0 / 331.6 MB, free: 0.8281 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008587/0.149, allocations: 474.6 kB / 332 MB, free: 324 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1491, allocations: 8.031 kB / 332 MB, free: 316 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.5e-05/0.1492, allocations: 54.55 kB / 332.1 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.1493, allocations: 19.75 kB / 332.1 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1496, allocations: 222.7 kB / 332.3 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.1497, allocations: 11.95 kB / 332.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.1497, allocations: 16 kB / 332.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.1502, allocations: 181.5 kB / 332.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1503, allocations: 8 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.1503, allocations: 4 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1503, allocations: 4 kB / 332.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.1508, allocations: 147.9 kB / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.1525, allocations: 0.7624 MB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.1531, allocations: 174.5 kB / 333.6 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.1533, allocations: 96.83 kB / 333.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1534, allocations: 4 kB / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.1534, allocations: 34.56 kB / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.1534, allocations: 3.938 kB / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006545/0.1541, allocations: 197.5 kB / 334 MB, free: 14.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1542, allocations: 63.55 kB / 334 MB, free: 14.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1543, allocations: 154.3 kB / 334.2 MB, free: 14 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.1544, allocations: 29.7 kB / 334.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1545, allocations: 132.2 kB / 334.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.1546, allocations: 43.36 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.1546, allocations: 0 / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1548, allocations: 330.8 kB / 334.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.155, allocations: 55.97 kB / 334.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.1552, allocations: 65.69 kB / 334.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1554, allocations: 67.98 kB / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1554, allocations: 0 / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005135/0.1559, allocations: 188.6 kB / 335.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.156, allocations: 4 kB / 335.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.156, allocations: 3.953 kB / 335.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.156, allocations: 4.016 kB / 335.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.1564, allocations: 51.92 kB / 335.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1564, allocations: 0 / 335.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1566, allocations: 19.83 kB / 335.1 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1566, allocations: 8 kB / 335.2 MB, free: 12.99 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.1567, allocations: 121.8 kB / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.1568, allocations: 7.906 kB / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.1569, allocations: 24.84 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1569, allocations: 3.953 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1569, allocations: 7.984 kB / 335.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1569, allocations: 0 / 335.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.1574, allocations: 265.5 kB / 335.6 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1574, allocations: 0 / 335.6 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.1577, allocations: 43.92 kB / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1577, allocations: 0 / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1577, allocations: 0 / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.1578, allocations: 3.984 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1578, allocations: 7.953 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006939/0.1585, allocations: 303.3 kB / 335.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.1586, allocations: 97.05 kB / 336 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.1586, allocations: 3.984 kB / 336 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.1588, allocations: 16.03 kB / 336 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.1589, allocations: 15.94 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.159, allocations: 4 kB / 336.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1591, allocations: 116.5 kB / 336.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1591, allocations: 4 kB / 336.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.1596, allocations: 55.78 kB / 336.2 MB, free: 11.82 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * 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): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009724/0.1606, allocations: 0.8373 MB / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.161, allocations: 127.9 kB / 337.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.161, allocations: 0 / 337.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.1612, allocations: 71.97 kB / 337.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.1618, allocations: 24.98 kB / 337.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.1646, allocations: 1.184 MB / 338.5 MB, free: 9.5 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.165, allocations: 0.7243 MB / 339.2 MB, free: 8.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1651, allocations: 13.42 kB / 339.2 MB, free: 8.738 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.1652, allocations: 51.42 kB / 339.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1652, allocations: 0 / 339.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.1814, allocations: 2.957 MB / 342.2 MB, free: 5.734 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.1817, allocations: 193.4 kB / 342.4 MB, free: 5.484 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.969, allocations: 3.938 kB / 342.4 MB, free: 5.48 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat