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.01139/0.01139, allocations: 165.6 kB / 15.11 MB, free: 6.039 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.477/1.477, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001608/0.001608, allocations: 109.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2285, allocations: 38.76 MB / 312.9 MB, free: 38.75 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08737/0.3159, allocations: 67.07 MB / 380 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.3162, allocations: 71.97 kB / 380 MB, free: 7.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008712/0.3249, allocations: 3.171 MB / 383.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.325, allocations: 0 / 383.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.325, allocations: 4 kB / 383.2 MB, free: 4.215 MB / 282.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.0006719/0.3257, allocations: 474.7 kB / 383.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3257, allocations: 8.031 kB / 383.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.3258, allocations: 23.72 kB / 383.7 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.3261, allocations: 206.8 kB / 383.9 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.3261, allocations: 16 kB / 383.9 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.3261, allocations: 19.95 kB / 383.9 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.3265, allocations: 181.5 kB / 384.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3265, allocations: 0 / 384.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.3266, allocations: 8 kB / 384.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3266, allocations: 4 kB / 384.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.3269, allocations: 151.8 kB / 384.3 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.3282, allocations: 0.7738 MB / 385 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.3287, allocations: 174.5 kB / 385.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3287, allocations: 0 / 385.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.3287, allocations: 30.56 kB / 385.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.3287, allocations: 0 / 385.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005241/0.3293, allocations: 211.6 kB / 385.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.3293, allocations: 51.41 kB / 385.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3295, allocations: 133.5 kB / 385.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3295, allocations: 29.7 kB / 385.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.3296, allocations: 132.2 kB / 385.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.3297, allocations: 55.2 kB / 385.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.3297, allocations: 0 / 385.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3298, allocations: 330.8 kB / 386.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.33, allocations: 54.06 kB / 386.2 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3301, allocations: 74.2 kB / 386.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3303, allocations: 66.48 kB / 386.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3303, allocations: 3.938 kB / 386.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003325/0.3306, allocations: 177.4 kB / 386.5 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3307, allocations: 4 kB / 386.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3307, allocations: 0 / 386.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3307, allocations: 8.031 kB / 386.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3309, allocations: 43.91 kB / 386.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3309, allocations: 7.953 kB / 386.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.331, allocations: 15.89 kB / 386.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3311, allocations: 4 kB / 386.6 MB, free: 0.5664 MB / 282.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.3312, allocations: 132.5 kB / 386.7 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.3312, allocations: 11.91 kB / 386.8 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.3313, allocations: 16.84 kB / 386.8 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3313, allocations: 4 kB / 386.8 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3313, allocations: 0 / 386.8 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3313, allocations: 11.88 kB / 386.8 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.3316, allocations: 269.4 kB / 387 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3316, allocations: 0 / 387 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.3318, allocations: 39.98 kB / 387.1 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3318, allocations: 0 / 387.1 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3319, allocations: 4 kB / 387.1 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.3319, allocations: 8 kB / 387.1 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3319, allocations: 0 / 387.1 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.3324, allocations: 311.3 kB / 387.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.3325, allocations: 96.86 kB / 387.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3325, allocations: 0 / 387.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.3327, allocations: 20.03 kB / 387.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.3327, allocations: 7.984 kB / 387.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3327, allocations: 4 kB / 387.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.3329, allocations: 119 kB / 387.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3329, allocations: 0 / 387.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.3332, allocations: 51.84 kB / 387.7 MB, free: 15.39 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 () * 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 (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.0001774/0.3333, allocations: 99.25 kB / 387.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.3337, allocations: 131.9 kB / 387.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3337, allocations: 64 / 387.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3338, allocations: 72.91 kB / 388 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.3341, allocations: 19.95 kB / 388 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.3352, allocations: 0.6306 MB / 388.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3356, allocations: 0.732 MB / 389.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.641e-05/0.3356, allocations: 13.36 kB / 389.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.3357, allocations: 19.44 kB / 389.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3357, allocations: 0 / 389.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of Templates: time 0.004227/0.3399, allocations: 1.447 MB / 390.9 MB, free: 12.2 MB / 298.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)