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.001168/0.001168, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001009/0.00101, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0006474/0.0006477, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2966, allocations: 47.59 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002041/0.2987, allocations: 1.682 MB / 328.1 MB, free: 96 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.2997, allocations: 0.5546 MB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2998, allocations: 2.781 kB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.968e-05/0.2999, allocations: 22.36 kB / 328.7 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.3001, allocations: 65.2 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.3003, allocations: 49.19 kB / 328.8 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.3005, allocations: 147.7 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.3007, allocations: 68.09 kB / 329 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.3008, allocations: 67.53 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.301, allocations: 80.86 kB / 329.2 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.301, allocations: 10.5 kB / 329.2 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.3011, allocations: 11.69 kB / 329.2 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.3011, allocations: 28.22 kB / 329.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.475e-05/0.3012, allocations: 64.73 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.3014, allocations: 171.9 kB / 329.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3014, allocations: 7.938 kB / 329.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3014, allocations: 0 / 329.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3014, allocations: 0 / 329.5 MB, free: 15.1 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.0007864/0.3022, allocations: 466.5 kB / 329.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3023, allocations: 13.38 kB / 329.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.3024, allocations: 18.38 kB / 330 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3027, allocations: 216.5 kB / 330.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.3027, allocations: 15.36 kB / 330.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.3028, allocations: 19.59 kB / 330.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.3031, allocations: 180.6 kB / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3032, allocations: 0 / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.3032, allocations: 6.406 kB / 330.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3032, allocations: 8.719 kB / 330.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.3036, allocations: 148.2 kB / 330.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3048, allocations: 0.7538 MB / 331.3 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.3053, allocations: 173.3 kB / 331.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3053, allocations: 5.125 kB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.3053, allocations: 35.62 kB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.3054, allocations: 1.031 kB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005985/0.306, allocations: 194.2 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.306, allocations: 53.47 kB / 331.7 MB, free: 13.26 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3062, allocations: 148.7 kB / 331.9 MB, free: 13.13 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3062, allocations: 35.02 kB / 331.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3064, allocations: 144 kB / 332.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.3064, allocations: 45.83 kB / 332.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.3064, allocations: 0 / 332.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3066, allocations: 326.5 kB / 332.4 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3067, allocations: 53.62 kB / 332.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.3069, allocations: 79.44 kB / 332.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.307, allocations: 61.64 kB / 332.6 MB, free: 12.49 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.307, allocations: 0 / 332.6 MB, free: 12.49 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003658/0.3074, allocations: 183.8 kB / 332.8 MB, free: 12.39 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3074, allocations: 5.062 kB / 332.8 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3075, allocations: 1.281 kB / 332.8 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3075, allocations: 9.328 kB / 332.8 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.3077, allocations: 46.38 kB / 332.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3077, allocations: 2.062 kB / 332.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3078, allocations: 18.33 kB / 332.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3079, allocations: 11.66 kB / 332.9 MB, free: 12.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.308, allocations: 125.2 kB / 333 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.308, allocations: 13.16 kB / 333 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.3081, allocations: 19.83 kB / 333 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3081, allocations: 1.125 kB / 333 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.3081, allocations: 5.016 kB / 333 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3081, allocations: 0 / 333 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.3084, allocations: 267 kB / 333.3 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3084, allocations: 4 kB / 333.3 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.3087, allocations: 42.25 kB / 333.3 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3087, allocations: 1.375 kB / 333.4 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3087, allocations: 4 kB / 333.4 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3087, allocations: 1.375 kB / 333.4 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3087, allocations: 0 / 333.4 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.3093, allocations: 314.2 kB / 333.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.3093, allocations: 88.42 kB / 333.7 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.3094, allocations: 5.156 kB / 333.8 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3095, allocations: 11.03 kB / 333.8 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.3096, allocations: 15.39 kB / 333.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3096, allocations: 3.406 kB / 333.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3097, allocations: 119.1 kB / 333.9 MB, free: 11.48 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3097, allocations: 3.938 kB / 333.9 MB, free: 11.48 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.31, allocations: 47.66 kB / 333.9 MB, free: 11.47 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 (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.0001378/0.3102, allocations: 95.97 kB / 334 MB, free: 11.38 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.3105, allocations: 139 kB / 334.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3105, allocations: 0 / 334.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3107, allocations: 67.78 kB / 334.2 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.311, allocations: 38.22 kB / 334.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.312, allocations: 0.6259 MB / 334.9 MB, free: 10.68 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3124, allocations: 0.7321 MB / 335.6 MB, free: 9.926 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.603e-05/0.3125, allocations: 13.41 kB / 335.7 MB, free: 9.914 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.3125, allocations: 15.44 kB / 335.7 MB, free: 9.898 MB / 270.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3125, allocations: 0 / 335.7 MB, free: 9.898 MB / 270.1 MB Notification: Performance of Templates: time 0.003836/0.3164, allocations: 1.45 MB / 337.1 MB, free: 8.449 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: