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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000916/0.0009161, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001299/0.001299, allocations: 172.7 kB / 15.95 MB, free: 208 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.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0004529/0.000453, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 47.59 MB / 326.5 MB, free: 1.215 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001617/0.2071, allocations: 1.76 MB / 328.2 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.2079, allocations: 0.5468 MB / 328.8 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.208, allocations: 3.688 kB / 328.8 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.2081, allocations: 29.52 kB / 328.8 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.694e-05/0.2082, allocations: 43.52 kB / 328.9 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.2083, allocations: 39.06 kB / 328.9 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.2086, allocations: 214.4 kB / 329.1 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2087, allocations: 64.05 kB / 329.2 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.2088, allocations: 65.91 kB / 329.2 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.2089, allocations: 90.59 kB / 329.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.209, allocations: 11.75 kB / 329.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.032e-05/0.209, allocations: 10.56 kB / 329.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.209, allocations: 32.47 kB / 329.4 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.2091, allocations: 60.36 kB / 329.4 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2093, allocations: 164.1 kB / 329.6 MB, free: 14.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2093, allocations: 1.406 kB / 329.6 MB, free: 14.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2093, allocations: 3.938 kB / 329.6 MB, free: 14.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2093, allocations: 3.938 kB / 329.6 MB, free: 14.81 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.0006106/0.2099, allocations: 471 kB / 330.1 MB, free: 14.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2099, allocations: 8.562 kB / 330.1 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.21, allocations: 18.78 kB / 330.1 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.2102, allocations: 224.6 kB / 330.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2103, allocations: 18.55 kB / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.2103, allocations: 19.75 kB / 330.3 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.2106, allocations: 178.6 kB / 330.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2107, allocations: 0 / 330.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2107, allocations: 6.312 kB / 330.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2107, allocations: 7.672 kB / 330.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.211, allocations: 153.5 kB / 330.7 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.2121, allocations: 0.7483 MB / 331.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.2125, allocations: 174.2 kB / 331.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.2127, allocations: 94.77 kB / 331.7 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.2127, allocations: 1.375 kB / 331.7 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.2127, allocations: 36.22 kB / 331.7 MB, free: 13.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2127, allocations: 1.344 kB / 331.7 MB, free: 13.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004278/0.2132, allocations: 197.3 kB / 331.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.2132, allocations: 53.78 kB / 332 MB, free: 12.92 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2133, allocations: 156.9 kB / 332.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2134, allocations: 25.7 kB / 332.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.2134, allocations: 145.3 kB / 332.3 MB, free: 12.62 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.2135, allocations: 52.97 kB / 332.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.2135, allocations: 0 / 332.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2136, allocations: 326.5 kB / 332.7 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2137, allocations: 50.05 kB / 332.7 MB, free: 12.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.2139, allocations: 77.02 kB / 332.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.214, allocations: 60.02 kB / 332.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.214, allocations: 0.9375 kB / 332.9 MB, free: 12.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003157/0.2144, allocations: 183.4 kB / 333 MB, free: 12.06 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2144, allocations: 5.25 kB / 333 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2144, allocations: 1 kB / 333 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2144, allocations: 5.172 kB / 333 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.2146, allocations: 46.62 kB / 333.1 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2146, allocations: 5.062 kB / 333.1 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.2147, allocations: 19.67 kB / 333.1 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2148, allocations: 10.97 kB / 333.1 MB, free: 12.02 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.000103/0.2149, allocations: 121.1 kB / 333.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.2149, allocations: 18.5 kB / 333.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.215, allocations: 19.16 kB / 333.3 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.215, allocations: 9.828 kB / 333.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.215, allocations: 0 / 333.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.215, allocations: 1.062 kB / 333.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.2153, allocations: 261.6 kB / 333.5 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2153, allocations: 0 / 333.5 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.2155, allocations: 50.53 kB / 333.6 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2155, allocations: 0.9688 kB / 333.6 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2155, allocations: 1.094 kB / 333.6 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2156, allocations: 1.188 kB / 333.6 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2156, allocations: 3.953 kB / 333.6 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.216, allocations: 317.8 kB / 333.9 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.2161, allocations: 84.27 kB / 334 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.2161, allocations: 6.062 kB / 334 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.2162, allocations: 14.34 kB / 334 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2163, allocations: 16.23 kB / 334 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2163, allocations: 11.05 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.848e-05/0.2164, allocations: 111.3 kB / 334.1 MB, free: 11.14 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2164, allocations: 0 / 334.1 MB, free: 11.14 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.2167, allocations: 48 kB / 334.2 MB, free: 11.13 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.0001048/0.2168, allocations: 102.9 kB / 334.3 MB, free: 11.03 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.2171, allocations: 130.7 kB / 334.4 MB, free: 10.98 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2171, allocations: 1 kB / 334.4 MB, free: 10.98 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2172, allocations: 63.06 kB / 334.5 MB, free: 10.96 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.2176, allocations: 31.58 kB / 334.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.2185, allocations: 0.6315 MB / 335.1 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.2188, allocations: 0.7204 MB / 335.9 MB, free: 9.578 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.582e-05/0.2189, allocations: 9.422 kB / 335.9 MB, free: 9.57 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.2189, allocations: 15.44 kB / 335.9 MB, free: 9.555 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2189, allocations: 0 / 335.9 MB, free: 9.555 MB / 270.1 MB Notification: Performance of Templates: time 0.003748/0.2227, allocations: 1.458 MB / 337.3 MB, free: 8.098 MB / 270.1 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)