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.001086/0.001086, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.001484/0.001484, allocations: 183.9 kB / 17.21 MB, free: 6.336 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.498/1.498, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0004584/0.0004585, allocations: 12 kB / 280.1 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09433, allocations: 47.58 MB / 327.7 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001845/0.09621, allocations: 1.762 MB / 329.5 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.09707, allocations: 0.5388 MB / 330 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.09717, allocations: 4 kB / 330 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.09728, allocations: 27.83 kB / 330.1 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.0974, allocations: 43.61 kB / 330.1 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.09756, allocations: 31.97 kB / 330.1 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.09778, allocations: 219 kB / 330.3 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.09794, allocations: 70 kB / 330.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.09805, allocations: 71.78 kB / 330.5 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.09817, allocations: 83.61 kB / 330.6 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.09821, allocations: 12 kB / 330.6 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/0.09824, allocations: 12 kB / 330.6 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.09828, allocations: 27.91 kB / 330.6 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.09833, allocations: 61.58 kB / 330.7 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.0985, allocations: 167.8 kB / 330.8 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.09851, allocations: 3.938 kB / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.09852, allocations: 0 / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.09853, allocations: 4 kB / 330.8 MB, free: 0.9258 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.0006446/0.09918, allocations: 478.6 kB / 331.3 MB, free: 420 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.09922, allocations: 8.031 kB / 331.3 MB, free: 412 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.09928, allocations: 23.81 kB / 331.3 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.09952, allocations: 210.8 kB / 331.5 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.09956, allocations: 19.95 kB / 331.6 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.0996, allocations: 16 kB / 331.6 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.09999, allocations: 177.6 kB / 331.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1, allocations: 0 / 331.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.1, allocations: 15.98 kB / 331.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1001, allocations: 4 kB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.1004, allocations: 147.9 kB / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.1015, allocations: 0.7624 MB / 332.7 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.1019, allocations: 170.6 kB / 332.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.1021, allocations: 100.8 kB / 332.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.1021, allocations: 0 / 332.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1022, allocations: 42.55 kB / 333 MB, free: 14.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.1022, allocations: 0 / 333 MB, free: 14.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004529/0.1026, allocations: 193.8 kB / 333.2 MB, free: 14.4 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1027, allocations: 55.41 kB / 333.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1028, allocations: 154.3 kB / 333.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1028, allocations: 33.64 kB / 333.4 MB, free: 14.13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.1029, allocations: 136.1 kB / 333.5 MB, free: 14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.103, allocations: 43.34 kB / 333.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.103, allocations: 4 kB / 333.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1031, allocations: 322.8 kB / 333.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1032, allocations: 55.92 kB / 334 MB, free: 13.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1034, allocations: 77.67 kB / 334 MB, free: 13.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1035, allocations: 59.98 kB / 334.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1035, allocations: 0 / 334.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003504/0.1039, allocations: 192.1 kB / 334.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1039, allocations: 8 kB / 334.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1039, allocations: 0 / 334.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1039, allocations: 3.953 kB / 334.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1041, allocations: 43.97 kB / 334.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1042, allocations: 0 / 334.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.1043, allocations: 27.95 kB / 334.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1043, allocations: 4 kB / 334.4 MB, free: 13.15 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.0001216/0.1044, allocations: 129.8 kB / 334.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.1044, allocations: 11.81 kB / 334.5 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.1045, allocations: 16.84 kB / 334.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1045, allocations: 3.953 kB / 334.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1045, allocations: 0 / 334.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1045, allocations: 4 kB / 334.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.1048, allocations: 269.5 kB / 334.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1048, allocations: 0 / 334.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.105, allocations: 35.97 kB / 334.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1051, allocations: 4 kB / 334.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1051, allocations: 4 kB / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1051, allocations: 0 / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1051, allocations: 3.953 kB / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.1057, allocations: 322.6 kB / 335.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.1057, allocations: 85.02 kB / 335.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1058, allocations: 4 kB / 335.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1059, allocations: 23.97 kB / 335.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.106, allocations: 7.984 kB / 335.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.106, allocations: 7.953 kB / 335.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.1061, allocations: 112.6 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1061, allocations: 0 / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1063, allocations: 51.84 kB / 335.4 MB, free: 11.99 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.0001295/0.1065, allocations: 95.25 kB / 335.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.1068, allocations: 131.9 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1068, allocations: 0 / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1069, allocations: 67.91 kB / 335.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.1073, allocations: 28.05 kB / 335.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1085, allocations: 0.6304 MB / 336.4 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.1091, allocations: 0.7243 MB / 337.1 MB, free: 10.26 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.04e-05/0.1092, allocations: 13.41 kB / 337.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.1092, allocations: 19.38 kB / 337.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1092, allocations: 0 / 337.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of Templates: time 0.004376/0.1136, allocations: 1.457 MB / 338.6 MB, free: 8.773 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)