Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 106.4 kB / 16.51 MB, free: 6.719 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.002224/0.002224, allocations: 190.5 kB / 17.43 MB, free: 6.062 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.645/1.645, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.00212/0.00212, allocations: 47.92 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1261, allocations: 46.62 MB / 326 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003794/0.13, allocations: 2.189 MB / 328.1 MB, free: 2.699 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.131, allocations: 0.562 MB / 328.7 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.1312, allocations: 4 kB / 328.7 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.1315, allocations: 19.84 kB / 328.7 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1316, allocations: 47.61 kB / 328.8 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1318, allocations: 43.95 kB / 328.8 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.1321, allocations: 227 kB / 329 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1323, allocations: 70.08 kB / 329.1 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1324, allocations: 71.78 kB / 329.2 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1326, allocations: 95.59 kB / 329.3 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.1326, allocations: 16 kB / 329.3 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.1327, allocations: 12 kB / 329.3 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.1327, allocations: 47.83 kB / 329.3 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1328, allocations: 91.53 kB / 329.4 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1331, allocations: 223.5 kB / 329.6 MB, free: 1.176 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1331, allocations: 0 / 329.6 MB, free: 1.176 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1331, allocations: 0 / 329.6 MB, free: 1.176 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1331, allocations: 0 / 329.6 MB, free: 1.176 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.0008697/0.134, allocations: 498.8 kB / 330.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1341, allocations: 12.03 kB / 330.1 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.1341, allocations: 20.66 kB / 330.2 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1344, allocations: 224 kB / 330.4 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.1345, allocations: 16.38 kB / 330.4 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.1345, allocations: 16.38 kB / 330.4 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.1349, allocations: 185.9 kB / 330.6 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.135, allocations: 0 / 330.6 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.135, allocations: 8 kB / 330.6 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.135, allocations: 4 kB / 330.6 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.1353, allocations: 139.9 kB / 330.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1368, allocations: 0.7545 MB / 331.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.1372, allocations: 162.4 kB / 331.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.1374, allocations: 96.81 kB / 331.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1374, allocations: 4.25 kB / 331.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.1374, allocations: 34.56 kB / 331.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.396e-06/0.1375, allocations: 3.984 kB / 331.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005137/0.138, allocations: 189.4 kB / 332 MB, free: 14.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1381, allocations: 59.34 kB / 332 MB, free: 14.58 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1382, allocations: 145.8 kB / 332.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1382, allocations: 29.7 kB / 332.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.1383, allocations: 132.2 kB / 332.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.1384, allocations: 47.3 kB / 332.4 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.1384, allocations: 33.7 kB / 332.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1386, allocations: 322.8 kB / 332.7 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1387, allocations: 55.97 kB / 332.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1388, allocations: 65.69 kB / 332.9 MB, free: 13.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.1391, allocations: 136.7 kB / 333 MB, free: 13.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1391, allocations: 0 / 333 MB, free: 13.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003371/0.1394, allocations: 173.5 kB / 333.2 MB, free: 13.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1395, allocations: 4 kB / 333.2 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1395, allocations: 3.984 kB / 333.2 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.1395, allocations: 7.938 kB / 333.2 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.1397, allocations: 47.91 kB / 333.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1398, allocations: 0 / 333.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1399, allocations: 11.91 kB / 333.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1399, allocations: 8 kB / 333.2 MB, free: 13.33 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.14, allocations: 121.9 kB / 333.4 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1401, allocations: 11.91 kB / 333.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.1401, allocations: 32.7 kB / 333.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1401, allocations: 0 / 333.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1401, allocations: 3.938 kB / 333.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1401, allocations: 0 / 333.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.1404, allocations: 265.4 kB / 333.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1405, allocations: 0 / 333.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.1407, allocations: 43.97 kB / 333.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1407, allocations: 4 kB / 333.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.1407, allocations: 3.938 kB / 333.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.1407, allocations: 4 kB / 333.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1407, allocations: 0 / 333.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.1412, allocations: 295.8 kB / 334 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.1413, allocations: 92.95 kB / 334.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.1413, allocations: 15.88 kB / 334.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.1415, allocations: 12 kB / 334.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.1416, allocations: 11.98 kB / 334.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.1416, allocations: 0 / 334.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.271e-05/0.1417, allocations: 116 kB / 334.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1417, allocations: 0 / 334.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.142, allocations: 47.84 kB / 334.3 MB, free: 12.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.1422, allocations: 103.4 kB / 334.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1425, allocations: 131.9 kB / 334.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1425, allocations: 0 / 334.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1426, allocations: 63.91 kB / 334.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.143, allocations: 24.05 kB / 334.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1441, allocations: 0.5781 MB / 335.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1444, allocations: 0.7243 MB / 335.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.747e-05/0.1445, allocations: 17.41 kB / 335.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.1445, allocations: 15.44 kB / 335.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1445, allocations: 0 / 335.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of Templates: time 0.004368/0.1489, allocations: 1.522 MB / 337.5 MB, free: 8.949 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)