Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001104/0.001104, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009839/0.00984, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.693/1.693, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.0004863/0.0004863, allocations: 20 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2608, allocations: 47.58 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002092/0.263, allocations: 1.83 MB / 328.9 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.2642, allocations: 0.5606 MB / 329.4 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.2645, allocations: 6.906 kB / 329.4 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.2647, allocations: 23.59 kB / 329.4 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.2649, allocations: 46.64 kB / 329.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.2651, allocations: 48.31 kB / 329.5 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.2655, allocations: 219.4 kB / 329.8 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2657, allocations: 61.09 kB / 329.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.2659, allocations: 73.95 kB / 329.9 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.266, allocations: 95.11 kB / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.2661, allocations: 11.09 kB / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.2662, allocations: 10.59 kB / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.2662, allocations: 34.31 kB / 330 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2664, allocations: 119.5 kB / 330.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.2666, allocations: 225.8 kB / 330.4 MB, free: 14.81 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2666, allocations: 1.156 kB / 330.4 MB, free: 14.81 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2666, allocations: 0 / 330.4 MB, free: 14.81 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2667, allocations: 0 / 330.4 MB, free: 14.81 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.0007458/0.2674, allocations: 464.7 kB / 330.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2675, allocations: 9.906 kB / 330.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.2676, allocations: 22.78 kB / 330.9 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.2678, allocations: 210.4 kB / 331.1 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.2679, allocations: 16 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.2679, allocations: 19.44 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.2684, allocations: 188.9 kB / 331.3 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2684, allocations: 0 / 331.3 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.2684, allocations: 9.281 kB / 331.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2684, allocations: 5.406 kB / 331.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.2688, allocations: 149.3 kB / 331.4 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2701, allocations: 0.757 MB / 332.2 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.2705, allocations: 170.1 kB / 332.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.2707, allocations: 103.1 kB / 332.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.2707, allocations: 5.125 kB / 332.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.2708, allocations: 31.72 kB / 332.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2708, allocations: 5 kB / 332.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004973/0.2713, allocations: 198.7 kB / 332.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.2713, allocations: 56.44 kB / 332.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.2715, allocations: 148.7 kB / 332.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2715, allocations: 31.2 kB / 332.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.2716, allocations: 133.1 kB / 333.1 MB, free: 12.63 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.2717, allocations: 48.67 kB / 333.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.2717, allocations: 21.89 kB / 333.1 MB, free: 12.56 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2718, allocations: 326.2 kB / 333.4 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.272, allocations: 57.97 kB / 333.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.2721, allocations: 73.22 kB / 333.6 MB, free: 12.17 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.2724, allocations: 130.1 kB / 333.7 MB, free: 12.1 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2724, allocations: 0 / 333.7 MB, free: 12.1 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004102/0.2729, allocations: 187 kB / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2729, allocations: 5.25 kB / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2729, allocations: 0 / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2729, allocations: 5.094 kB / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.2732, allocations: 46.34 kB / 333.9 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2732, allocations: 6.219 kB / 333.9 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.2733, allocations: 22.91 kB / 334 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2733, allocations: 7.094 kB / 334 MB, free: 11.96 MB / 270.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.0001146/0.2735, allocations: 121.9 kB / 334.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.2735, allocations: 9.562 kB / 334.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.2736, allocations: 22.98 kB / 334.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2736, allocations: 2.062 kB / 334.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2736, allocations: 0 / 334.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2736, allocations: 5.156 kB / 334.1 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.2739, allocations: 269.3 kB / 334.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2739, allocations: 1.125 kB / 334.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.2742, allocations: 46.53 kB / 334.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2742, allocations: 0 / 334.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2742, allocations: 9.906 kB / 334.5 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2742, allocations: 0 / 334.5 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2742, allocations: 5.125 kB / 334.5 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.2747, allocations: 306.8 kB / 334.8 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.2748, allocations: 92.95 kB / 334.8 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.2748, allocations: 7.938 kB / 334.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.275, allocations: 16 kB / 334.9 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.275, allocations: 16.06 kB / 334.9 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2751, allocations: 4 kB / 334.9 MB, free: 11.15 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.593e-05/0.2752, allocations: 115.2 kB / 335 MB, free: 11.04 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2752, allocations: 0 / 335 MB, free: 11.04 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.2755, allocations: 47.84 kB / 335.1 MB, free: 10.99 MB / 270.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.0001395/0.2756, allocations: 103.2 kB / 335.2 MB, free: 10.88 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.2759, allocations: 135.9 kB / 335.3 MB, free: 10.74 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.276, allocations: 0 / 335.3 MB, free: 10.74 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.2761, allocations: 63.97 kB / 335.3 MB, free: 10.68 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.2765, allocations: 28.05 kB / 335.4 MB, free: 10.65 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.2775, allocations: 0.6459 MB / 336 MB, free: 9.984 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.2778, allocations: 0.7243 MB / 336.7 MB, free: 9.234 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.634e-05/0.2779, allocations: 13.42 kB / 336.8 MB, free: 9.223 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.2779, allocations: 11.44 kB / 336.8 MB, free: 9.211 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2779, allocations: 4 kB / 336.8 MB, free: 9.207 MB / 270.1 MB Notification: Performance of Templates: time 0.004799/0.2827, allocations: 1.506 MB / 338.3 MB, free: 7.703 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)