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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009917/0.0009918, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.458/1.458, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001576/0.001576, allocations: 128.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.527e-05, allocations: 0 / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08496, allocations: 44.51 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.4753, allocations: 72.12 MB / 421.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.4756, allocations: 75.75 kB / 421.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007689/0.4833, allocations: 3.107 MB / 424.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4834, allocations: 0 / 424.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.4834, allocations: 3.844 kB / 424.7 MB, free: 10.5 MB / 298.7 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.000476/0.4839, allocations: 452.5 kB / 425.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4839, allocations: 7.688 kB / 425.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.484, allocations: 23.34 kB / 425.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.4842, allocations: 220.3 kB / 425.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.4842, allocations: 10.16 kB / 425.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.4843, allocations: 18.34 kB / 425.5 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.4846, allocations: 165.8 kB / 425.6 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4846, allocations: 0 / 425.6 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.4846, allocations: 17.62 kB / 425.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4846, allocations: 3.844 kB / 425.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.4849, allocations: 123.4 kB / 425.8 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4859, allocations: 0.7637 MB / 426.5 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.4862, allocations: 134.1 kB / 426.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.4863, allocations: 86.69 kB / 426.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.4863, allocations: 0 / 426.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.4864, allocations: 34.5 kB / 426.8 MB, free: 9.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.4864, allocations: 0 / 426.8 MB, free: 9.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002408/0.4866, allocations: 134.8 kB / 426.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.4867, allocations: 51.41 kB / 427 MB, free: 9.117 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/0.4868, allocations: 135.7 kB / 427.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4868, allocations: 33.52 kB / 427.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.4868, allocations: 134.8 kB / 427.3 MB, free: 8.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.4869, allocations: 50.36 kB / 427.3 MB, free: 8.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.4869, allocations: 3.938 kB / 427.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.487, allocations: 325.1 kB / 427.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/0.487, allocations: 36.88 kB / 427.7 MB, free: 8.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.4871, allocations: 66.08 kB / 427.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.4872, allocations: 45.14 kB / 427.8 MB, free: 8.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4872, allocations: 3.938 kB / 427.8 MB, free: 8.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001825/0.4874, allocations: 155 kB / 427.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4874, allocations: 7.656 kB / 427.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4874, allocations: 0 / 427.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4874, allocations: 0 / 427.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.4876, allocations: 45.42 kB / 428 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4876, allocations: 3.984 kB / 428 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.486e-05/0.4877, allocations: 19.59 kB / 428 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4878, allocations: 11.45 kB / 428 MB, free: 8.402 MB / 298.7 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 () * 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 5.477e-05/0.4878, allocations: 108.6 kB / 428.1 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.4879, allocations: 15.45 kB / 428.1 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.4879, allocations: 15.55 kB / 428.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4879, allocations: 7.812 kB / 428.2 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4879, allocations: 0 / 428.2 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4879, allocations: 0 / 428.2 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.4882, allocations: 266.9 kB / 428.4 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4882, allocations: 7.844 kB / 428.4 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.4884, allocations: 36.95 kB / 428.5 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4884, allocations: 0 / 428.5 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4884, allocations: 7.938 kB / 428.5 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4884, allocations: 3.938 kB / 428.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4884, allocations: 0 / 428.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.4887, allocations: 270 kB / 428.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.4887, allocations: 92.73 kB / 428.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4888, allocations: 7.062 kB / 428.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.4889, allocations: 15.77 kB / 428.8 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.489, allocations: 19.31 kB / 428.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.489, allocations: 4 kB / 428.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.013e-05/0.489, allocations: 122.2 kB / 429 MB, free: 7.664 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.489, allocations: 0 / 429 MB, free: 7.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.4893, allocations: 50.59 kB / 429 MB, free: 7.652 MB / 298.7 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 () * 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.0001322/0.4894, allocations: 102.2 kB / 429.1 MB, free: 7.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.4896, allocations: 108.6 kB / 429.2 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4896, allocations: 0 / 429.2 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.904e-05/0.4897, allocations: 57.02 kB / 429.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.49, allocations: 22.38 kB / 429.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.4906, allocations: 393.5 kB / 429.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.4908, allocations: 0.7267 MB / 430.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.4909, allocations: 16.92 kB / 430.5 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.4909, allocations: 15.12 kB / 430.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4909, allocations: 0 / 430.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of Templates: time 0.003471/0.4944, allocations: 1.451 MB / 431.9 MB, free: 5.82 MB / 298.7 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)