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.001444/0.001444, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001743, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.462/1.462, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001436/0.001436, allocations: 59.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.254, allocations: 46.63 MB / 325.3 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003318/0.2574, allocations: 2.126 MB / 327.4 MB, free: 380 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.2584, allocations: 0.5658 MB / 328 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.2585, allocations: 11.22 kB / 328 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.2587, allocations: 35.17 kB / 328 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2588, allocations: 53.02 kB / 328.1 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.259, allocations: 49.72 kB / 328.1 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.2593, allocations: 233.8 kB / 328.4 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2595, allocations: 77.28 kB / 328.4 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.2596, allocations: 91.47 kB / 328.5 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2598, allocations: 99.92 kB / 328.6 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.2598, allocations: 19.62 kB / 328.7 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.89e-05/0.2599, allocations: 21.34 kB / 328.7 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.2599, allocations: 44.59 kB / 328.7 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.2601, allocations: 100.2 kB / 328.8 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.2603, allocations: 237.3 kB / 329 MB, free: 15.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2603, allocations: 4 kB / 329 MB, free: 15.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2603, allocations: 0 / 329 MB, free: 15.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2603, allocations: 0 / 329 MB, free: 15.19 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.0008539/0.2612, allocations: 486.6 kB / 329.5 MB, free: 14.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2612, allocations: 9.75 kB / 329.5 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.2613, allocations: 31.44 kB / 329.6 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.2616, allocations: 225.7 kB / 329.8 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2616, allocations: 16.25 kB / 329.8 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.2617, allocations: 15.25 kB / 329.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.262, allocations: 187.7 kB / 330 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2621, allocations: 1.281 kB / 330 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2621, allocations: 5.281 kB / 330 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.2621, allocations: 5 kB / 330 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.2624, allocations: 146.5 kB / 330.2 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2637, allocations: 0.743 MB / 330.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.2641, allocations: 161.8 kB / 331.1 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.2643, allocations: 90.95 kB / 331.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.2644, allocations: 5.156 kB / 331.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2644, allocations: 36.69 kB / 331.2 MB, free: 13.44 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.2644, allocations: 0 / 331.2 MB, free: 13.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.000498/0.2649, allocations: 179.3 kB / 331.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.265, allocations: 57.34 kB / 331.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.2651, allocations: 156.7 kB / 331.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.2652, allocations: 31.14 kB / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.2653, allocations: 132 kB / 331.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.2653, allocations: 49.95 kB / 331.8 MB, free: 12.94 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.2654, allocations: 31.56 kB / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2655, allocations: 329.5 kB / 332.1 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.2657, allocations: 51.44 kB / 332.2 MB, free: 12.56 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.2659, allocations: 72.7 kB / 332.2 MB, free: 12.51 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.2661, allocations: 130.9 kB / 332.4 MB, free: 12.44 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2662, allocations: 4 kB / 332.4 MB, free: 12.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004302/0.2666, allocations: 170.8 kB / 332.5 MB, free: 12.34 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2666, allocations: 5.844 kB / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2666, allocations: 0 / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2667, allocations: 6.062 kB / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.2669, allocations: 44.56 kB / 332.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2669, allocations: 5.031 kB / 332.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.267, allocations: 21.52 kB / 332.6 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2671, allocations: 3.219 kB / 332.6 MB, free: 12.3 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.0001114/0.2672, allocations: 124.7 kB / 332.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.2672, allocations: 11.62 kB / 332.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.2673, allocations: 18.16 kB / 332.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2673, allocations: 2.719 kB / 332.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2673, allocations: 0 / 332.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2673, allocations: 3.984 kB / 332.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.2676, allocations: 265.4 kB / 333 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2676, allocations: 5.094 kB / 333.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.2678, allocations: 40.06 kB / 333.1 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2679, allocations: 1.094 kB / 333.1 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2679, allocations: 17.03 kB / 333.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2679, allocations: 0.9375 kB / 333.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2679, allocations: 0 / 333.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.2684, allocations: 295.9 kB / 333.4 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.2685, allocations: 88.3 kB / 333.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.2685, allocations: 9.031 kB / 333.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.2686, allocations: 13.22 kB / 333.5 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.2687, allocations: 7.984 kB / 333.5 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2687, allocations: 8 kB / 333.5 MB, free: 11.51 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.241e-05/0.2688, allocations: 111.3 kB / 333.6 MB, free: 11.4 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.2688, allocations: 0 / 333.6 MB, free: 11.4 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000258/0.2691, allocations: 55.78 kB / 333.7 MB, free: 11.35 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.0001191/0.2692, allocations: 107.3 kB / 333.8 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.2695, allocations: 136 kB / 333.9 MB, free: 11.1 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2695, allocations: 0 / 333.9 MB, free: 11.1 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2697, allocations: 59.92 kB / 334 MB, free: 11.04 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.27, allocations: 31.97 kB / 334 MB, free: 11.01 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009496/0.271, allocations: 0.5151 MB / 334.5 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.2713, allocations: 0.7279 MB / 335.3 MB, free: 9.711 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.953e-05/0.2714, allocations: 5.438 kB / 335.3 MB, free: 9.703 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.2714, allocations: 15.44 kB / 335.3 MB, free: 9.691 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2714, allocations: 0 / 335.3 MB, free: 9.691 MB / 270.1 MB Notification: Performance of Templates: time 0.0044/0.2758, allocations: 1.641 MB / 336.9 MB, free: 8.055 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)