Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001548/0.001548, allocations: 110.1 kB / 17.06 MB, free: 6.016 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.001865/0.001865, allocations: 191 kB / 18 MB, free: 5.102 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.649/1.649, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.00127/0.00127, allocations: 55.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1229, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003236/0.1262, allocations: 2.128 MB / 376.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.1272, allocations: 0.5812 MB / 377.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1273, allocations: 0 / 377.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.1275, allocations: 27.72 kB / 377.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1276, allocations: 55.48 kB / 377.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1278, allocations: 55.92 kB / 377.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.1281, allocations: 242.8 kB / 377.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1283, allocations: 77.64 kB / 377.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1284, allocations: 83.77 kB / 377.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1286, allocations: 103.6 kB / 377.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.1286, allocations: 20 kB / 377.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.054e-05/0.1287, allocations: 20 kB / 377.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.1287, allocations: 51.84 kB / 377.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1288, allocations: 99.53 kB / 378 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1291, allocations: 239 kB / 378.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1291, allocations: 0 / 378.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1291, allocations: 0 / 378.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1291, allocations: 0 / 378.2 MB, free: 0.7852 MB / 318.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.0007728/0.1299, allocations: 0.4946 MB / 378.7 MB, free: 248 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.13, allocations: 12.03 kB / 378.8 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.13, allocations: 16.84 kB / 378.8 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.25/0.38, allocations: 215.4 kB / 379 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.3802, allocations: 14.28 kB / 379 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.3802, allocations: 18.69 kB / 379 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.3808, allocations: 177.4 kB / 379.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3808, allocations: 2.578 kB / 379.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.3808, allocations: 9.219 kB / 379.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3808, allocations: 6.109 kB / 379.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.3812, allocations: 147.9 kB / 379.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.3827, allocations: 0.7368 MB / 380.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.3832, allocations: 164.2 kB / 380.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.3834, allocations: 96.48 kB / 380.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3834, allocations: 1.125 kB / 380.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3835, allocations: 35.52 kB / 380.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.036e-06/0.3835, allocations: 5.953 kB / 380.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005654/0.3841, allocations: 185.7 kB / 380.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.3841, allocations: 52.78 kB / 380.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3843, allocations: 149 kB / 380.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3844, allocations: 31.02 kB / 380.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3845, allocations: 141.8 kB / 380.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.3845, allocations: 50.23 kB / 381 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.3846, allocations: 36.22 kB / 381 MB, free: 12.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3847, allocations: 326.4 kB / 381.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3849, allocations: 55.58 kB / 381.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.385, allocations: 66.53 kB / 381.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.3854, allocations: 124.6 kB / 381.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3854, allocations: 0 / 381.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004074/0.3858, allocations: 181.3 kB / 381.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3858, allocations: 6.25 kB / 381.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3859, allocations: 0 / 381.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3859, allocations: 1.375 kB / 381.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.3861, allocations: 43.25 kB / 381.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.3861, allocations: 5.75 kB / 381.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3862, allocations: 23.14 kB / 381.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3863, allocations: 3.781 kB / 381.8 MB, free: 11.72 MB / 318.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 9.015e-05/0.3864, allocations: 126.8 kB / 382 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3864, allocations: 14.25 kB / 382 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.3865, allocations: 21.05 kB / 382 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3865, allocations: 1.719 kB / 382 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3865, allocations: 0 / 382 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3865, allocations: 5.156 kB / 382 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.3868, allocations: 267.1 kB / 382.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3868, allocations: 0.5625 kB / 382.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.3871, allocations: 39.31 kB / 382.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.3871, allocations: 1.219 kB / 382.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3871, allocations: 5.734 kB / 382.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3871, allocations: 0.5625 kB / 382.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3871, allocations: 1.281 kB / 382.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.3876, allocations: 313 kB / 382.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.3877, allocations: 90.88 kB / 382.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3877, allocations: 1.094 kB / 382.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3878, allocations: 17.92 kB / 382.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.3879, allocations: 7.562 kB / 382.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3879, allocations: 7.844 kB / 382.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.152e-05/0.388, allocations: 117.9 kB / 382.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.388, allocations: 5.031 kB / 382.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.3883, allocations: 47.7 kB / 382.9 MB, free: 10.91 MB / 318.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.0001299/0.3885, allocations: 108.7 kB / 383 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.3888, allocations: 125.8 kB / 383.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3888, allocations: 1.344 kB / 383.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.389, allocations: 62.98 kB / 383.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3893, allocations: 23.06 kB / 383.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.3904, allocations: 0.5177 MB / 383.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3906, allocations: 0.723 MB / 384.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.392e-05/0.3907, allocations: 12.12 kB / 384.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.3907, allocations: 14.53 kB / 384.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3907, allocations: 0 / 384.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of Templates: time 0.005589/0.3963, allocations: 1.651 MB / 386.1 MB, free: 9.594 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)