Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.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.0008631/0.0008631, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007478/0.007478, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.66/1.66, allocations: 205.4 MB / 222.5 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.0004237/0.0004239, allocations: 18.66 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2769, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001893/0.2789, allocations: 1.823 MB / 328.9 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008453/0.2797, allocations: 0.5646 MB / 329.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.2798, allocations: 2.531 kB / 329.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.2799, allocations: 24.16 kB / 329.4 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2801, allocations: 49.92 kB / 329.5 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.2802, allocations: 44.64 kB / 329.5 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.2805, allocations: 224.5 kB / 329.8 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.2807, allocations: 60.03 kB / 329.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2809, allocations: 74.08 kB / 329.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.281, allocations: 90.3 kB / 330 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.2811, allocations: 15.38 kB / 330 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-05/0.2811, allocations: 11.28 kB / 330 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.2812, allocations: 32.53 kB / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.2813, allocations: 116.9 kB / 330.1 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.2816, allocations: 221.8 kB / 330.4 MB, free: 14.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2816, allocations: 0.9062 kB / 330.4 MB, free: 14.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.2816, allocations: 0 / 330.4 MB, free: 14.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2816, allocations: 0 / 330.4 MB, free: 14.84 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.0008074/0.2824, allocations: 469.7 kB / 330.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.2825, allocations: 9.844 kB / 330.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.2826, allocations: 18.16 kB / 330.8 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.2828, allocations: 215 kB / 331.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2829, allocations: 11.75 kB / 331.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.2829, allocations: 20.12 kB / 331.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.2834, allocations: 191.1 kB / 331.3 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2834, allocations: 0 / 331.3 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.2834, allocations: 6.5 kB / 331.3 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2834, allocations: 4.031 kB / 331.3 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.2838, allocations: 154.6 kB / 331.4 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2851, allocations: 0.7561 MB / 332.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.2856, allocations: 174.2 kB / 332.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.2858, allocations: 103.3 kB / 332.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2858, allocations: 5.219 kB / 332.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2858, allocations: 31.72 kB / 332.5 MB, free: 13.12 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2858, allocations: 5.156 kB / 332.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005351/0.2864, allocations: 194.1 kB / 332.7 MB, free: 13.01 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.2864, allocations: 64.75 kB / 332.8 MB, free: 12.94 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2866, allocations: 149.7 kB / 332.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2866, allocations: 25.7 kB / 332.9 MB, free: 12.78 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.2867, allocations: 132.8 kB / 333.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.2868, allocations: 53.23 kB / 333.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.2868, allocations: 22.11 kB / 333.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2869, allocations: 321.6 kB / 333.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.2871, allocations: 64 kB / 333.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.2872, allocations: 72.12 kB / 333.6 MB, free: 12.19 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.2875, allocations: 126.5 kB / 333.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2875, allocations: 1.375 kB / 333.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003675/0.2879, allocations: 188.5 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2879, allocations: 4.375 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2879, allocations: 5.047 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2879, allocations: 5.125 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.2882, allocations: 47.09 kB / 334 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2882, allocations: 1.188 kB / 334 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2883, allocations: 22.47 kB / 334 MB, free: 11.99 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.2883, allocations: 8.469 kB / 334 MB, free: 11.98 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.0001175/0.2884, allocations: 120.7 kB / 334.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.2885, allocations: 14.89 kB / 334.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.2885, allocations: 22.89 kB / 334.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2885, allocations: 1.156 kB / 334.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2886, allocations: 1 kB / 334.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2886, allocations: 0 / 334.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.2889, allocations: 270 kB / 334.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2889, allocations: 4 kB / 334.4 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.2891, allocations: 43 kB / 334.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2891, allocations: 1.219 kB / 334.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2892, allocations: 9.375 kB / 334.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2892, allocations: 4 kB / 334.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2892, allocations: 5.125 kB / 334.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.2897, allocations: 306.4 kB / 334.8 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.2898, allocations: 92.95 kB / 334.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.2898, allocations: 7.938 kB / 334.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2899, allocations: 16 kB / 334.9 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.29, allocations: 7.984 kB / 334.9 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.29, allocations: 8 kB / 334.9 MB, free: 11.14 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.2901, allocations: 115.2 kB / 335 MB, free: 11.03 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2901, allocations: 0 / 335 MB, free: 11.03 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.2904, allocations: 47.84 kB / 335.1 MB, free: 10.98 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.0001239/0.2905, allocations: 99.19 kB / 335.2 MB, free: 10.88 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.2908, allocations: 143.8 kB / 335.3 MB, free: 10.73 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2908, allocations: 0 / 335.3 MB, free: 10.73 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.291, allocations: 63.97 kB / 335.4 MB, free: 10.67 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.2913, allocations: 28.05 kB / 335.4 MB, free: 10.64 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2924, allocations: 0.646 MB / 336 MB, free: 9.977 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.2927, allocations: 0.7243 MB / 336.8 MB, free: 9.227 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.2928, allocations: 17.41 kB / 336.8 MB, free: 9.211 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.2928, allocations: 15.44 kB / 336.8 MB, free: 9.195 MB / 270.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2929, allocations: 0 / 336.8 MB, free: 9.195 MB / 270.1 MB Notification: Performance of Templates: time 0.004254/0.2971, allocations: 1.498 MB / 338.3 MB, free: 7.699 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)