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.001264/0.001264, allocations: 168.9 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.258/1.258, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.001564/0.001565, allocations: 115.4 kB / 218 MB, free: 8.398 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.585e-05, allocations: 0 / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08004, allocations: 38.78 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.279/0.3591, allocations: 66.32 MB / 367.3 MB, free: 2.047 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.3594, allocations: 65.58 kB / 367.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007443/0.3668, allocations: 3.139 MB / 370.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3669, allocations: 0 / 370.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.3669, allocations: 4 kB / 370.5 MB, free: 15.37 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.0006485/0.3675, allocations: 457.4 kB / 371 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3676, allocations: 8.031 kB / 371 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.3677, allocations: 19.81 kB / 371 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.368, allocations: 216.7 kB / 371.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.368, allocations: 4 kB / 371.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.368, allocations: 19.95 kB / 371.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002329/0.3683, allocations: 110.5 kB / 371.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.3686, allocations: 132.9 kB / 371.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3686, allocations: 3.984 kB / 371.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3686, allocations: 4 kB / 371.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3686, allocations: 4 kB / 371.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.3698, allocations: 0.7137 MB / 372.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3701, allocations: 123.5 kB / 372.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.3702, allocations: 76.3 kB / 372.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3702, allocations: 7.938 kB / 372.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3702, allocations: 39.5 kB / 372.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3703, allocations: 0 / 372.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000241/0.3705, allocations: 110.2 kB / 372.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.3705, allocations: 55.41 kB / 372.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3707, allocations: 132.2 kB / 372.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.3707, allocations: 25.7 kB / 372.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3708, allocations: 142.5 kB / 372.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3708, allocations: 41.73 kB / 372.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.3709, allocations: 0 / 372.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.371, allocations: 329.2 kB / 373.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.371, allocations: 36.38 kB / 373.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.3711, allocations: 68.91 kB / 373.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.848e-05/0.3712, allocations: 42.8 kB / 373.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3712, allocations: 0 / 373.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001948/0.3714, allocations: 140 kB / 373.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3714, allocations: 11.98 kB / 373.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3715, allocations: 0 / 373.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3715, allocations: 0 / 373.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3717, allocations: 43.92 kB / 373.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3717, allocations: 6.578 kB / 373.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.3718, allocations: 19.95 kB / 373.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3718, allocations: 4 kB / 373.6 MB, free: 12.47 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.775e-05/0.3719, allocations: 101 kB / 373.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.372, allocations: 15.81 kB / 373.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.372, allocations: 12.19 kB / 373.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.372, allocations: 3.984 kB / 373.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.372, allocations: 4 kB / 373.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.372, allocations: 7.953 kB / 373.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3723, allocations: 224.8 kB / 374 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3723, allocations: 3.938 kB / 374 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.3725, allocations: 35.3 kB / 374 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3725, allocations: 4 kB / 374 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3725, allocations: 0 / 374 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.3726, allocations: 4 kB / 374 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3726, allocations: 0 / 374 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.3729, allocations: 263.7 kB / 374.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.3729, allocations: 85.02 kB / 374.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.373, allocations: 0 / 374.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3731, allocations: 19.23 kB / 374.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.3732, allocations: 11.92 kB / 374.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.3732, allocations: 7.938 kB / 374.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.89e-05/0.3732, allocations: 101.4 kB / 374.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3733, allocations: 4 kB / 374.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.3735, allocations: 47.84 kB / 374.5 MB, free: 11.55 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.0001432/0.3737, allocations: 103.2 kB / 374.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3739, allocations: 97.56 kB / 374.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3739, allocations: 0 / 374.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/0.3739, allocations: 49.75 kB / 374.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3742, allocations: 27.22 kB / 374.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/0.375, allocations: 398.8 kB / 375.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3753, allocations: 0.7357 MB / 375.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.419e-05/0.3753, allocations: 5.219 kB / 375.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.3754, allocations: 15.44 kB / 376 MB, free: 10.15 MB / 266.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3754, allocations: 0 / 376 MB, free: 10.15 MB / 266.7 MB Notification: Performance of Templates: time 0.00347/0.3789, allocations: 1.267 MB / 377.2 MB, free: 8.891 MB / 266.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)