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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001253/0.001253, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.281/1.281, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001363/0.001362, allocations: 111.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.141e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06299/0.06303, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2528/0.3159, allocations: 66.98 MB / 374.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.3162, allocations: 65.59 kB / 374.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008478/0.3247, allocations: 3.16 MB / 377.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3247, allocations: 4 kB / 377.8 MB, free: 6.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3247, allocations: 0 / 377.8 MB, free: 6.477 MB / 266.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.0005411/0.3253, allocations: 467.1 kB / 378.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3253, allocations: 8.031 kB / 378.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.3254, allocations: 19.81 kB / 378.3 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3257, allocations: 217.7 kB / 378.5 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3257, allocations: 15.88 kB / 378.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.3257, allocations: 22.77 kB / 378.6 MB, free: 5.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.326, allocations: 162 kB / 378.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.326, allocations: 0 / 378.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.3261, allocations: 11 kB / 378.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3261, allocations: 4 kB / 378.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.3263, allocations: 119.9 kB / 378.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.3275, allocations: 0.7554 MB / 379.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.3277, allocations: 137.6 kB / 379.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.3279, allocations: 82.48 kB / 379.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3279, allocations: 4 kB / 379.8 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3279, allocations: 37.17 kB / 379.9 MB, free: 4.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.3279, allocations: 0 / 379.9 MB, free: 4.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002713/0.3282, allocations: 119 kB / 380 MB, free: 4.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3283, allocations: 59.34 kB / 380.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3284, allocations: 137 kB / 380.2 MB, free: 4.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3284, allocations: 25.7 kB / 380.2 MB, free: 4.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.3285, allocations: 140.5 kB / 380.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.3286, allocations: 41.55 kB / 380.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.3286, allocations: 3.375 kB / 380.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3287, allocations: 329.6 kB / 380.7 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.3288, allocations: 38.5 kB / 380.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.3289, allocations: 64.75 kB / 380.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.124e-05/0.329, allocations: 50.23 kB / 380.9 MB, free: 3.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.329, allocations: 0 / 380.9 MB, free: 3.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002242/0.3292, allocations: 158.1 kB / 381 MB, free: 3.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3292, allocations: 8 kB / 381 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3292, allocations: 4 kB / 381 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3293, allocations: 3.938 kB / 381 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.3295, allocations: 44.02 kB / 381.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3295, allocations: 7.938 kB / 381.1 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3296, allocations: 19.66 kB / 381.1 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3296, allocations: 4 kB / 381.1 MB, free: 3.465 MB / 266.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 7.938e-05/0.3297, allocations: 110.4 kB / 381.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.3298, allocations: 11.91 kB / 381.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.3298, allocations: 22.48 kB / 381.2 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3298, allocations: 4 kB / 381.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3298, allocations: 0 / 381.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3299, allocations: 3.953 kB / 381.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.3301, allocations: 271.3 kB / 381.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3302, allocations: 0 / 381.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.3304, allocations: 43.91 kB / 381.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3304, allocations: 0 / 381.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3304, allocations: 7.312 kB / 381.6 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3304, allocations: 0 / 381.6 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3304, allocations: 0 / 381.6 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.3308, allocations: 274 kB / 381.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.3309, allocations: 85.02 kB / 381.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3309, allocations: 0 / 381.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.331, allocations: 19.34 kB / 381.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.3311, allocations: 7.984 kB / 381.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3311, allocations: 8 kB / 382 MB, free: 2.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.3312, allocations: 118.9 kB / 382.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3312, allocations: 0 / 382.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.3315, allocations: 51 kB / 382.1 MB, free: 2.484 MB / 266.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.0001534/0.3316, allocations: 110.3 kB / 382.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3318, allocations: 98.5 kB / 382.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3319, allocations: 0 / 382.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.3319, allocations: 57.98 kB / 382.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.3322, allocations: 18.94 kB / 382.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/0.333, allocations: 408.3 kB / 382.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3333, allocations: 0.7359 MB / 383.5 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.3334, allocations: 13.19 kB / 383.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.3334, allocations: 15.44 kB / 383.6 MB, free: 1.059 MB / 266.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3334, allocations: 0 / 383.6 MB, free: 1.059 MB / 266.7 MB Notification: Performance of Templates: time 0.00406/0.3375, allocations: 1.46 MB / 385 MB, free: 15.61 MB / 282.7 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)