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.0009737/0.0009738, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.001072/0.001072, allocations: 180.5 kB / 17.19 MB, free: 5.906 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.548/1.548, allocations: 205.4 MB / 223.4 MB, free: 5.523 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.0004814/0.0004815, allocations: 16 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2348, allocations: 47.58 MB / 327.7 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002049/0.2369, allocations: 1.687 MB / 329.4 MB, free: 112 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2381, allocations: 0.552 MB / 329.9 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.2384, allocations: 2.688 kB / 329.9 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.87e-05/0.2385, allocations: 22.7 kB / 330 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.2387, allocations: 71.56 kB / 330 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.2389, allocations: 37.3 kB / 330.1 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000344/0.2393, allocations: 156.1 kB / 330.2 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.2395, allocations: 63.31 kB / 330.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2396, allocations: 70.5 kB / 330.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.2398, allocations: 82.11 kB / 330.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.2399, allocations: 11.47 kB / 330.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.306e-05/0.2399, allocations: 10.59 kB / 330.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.24, allocations: 32.64 kB / 330.5 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.161e-05/0.24, allocations: 65.33 kB / 330.5 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.2403, allocations: 167.4 kB / 330.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.2403, allocations: 3.938 kB / 330.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2403, allocations: 0 / 330.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2403, allocations: 4 kB / 330.7 MB, free: 15.11 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.0008632/0.2412, allocations: 466.9 kB / 331.2 MB, free: 14.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2412, allocations: 8.25 kB / 331.2 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.2413, allocations: 23 kB / 331.2 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.2416, allocations: 212.7 kB / 331.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.2417, allocations: 19.48 kB / 331.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.2417, allocations: 19.05 kB / 331.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.2421, allocations: 180.7 kB / 331.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2422, allocations: 0 / 331.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.2422, allocations: 6.188 kB / 331.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.2422, allocations: 4.656 kB / 331.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.2426, allocations: 152.6 kB / 331.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.2439, allocations: 0.7535 MB / 332.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.2443, allocations: 177.3 kB / 332.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2443, allocations: 5.406 kB / 332.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2444, allocations: 32.34 kB / 332.7 MB, free: 13.44 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.2444, allocations: 0 / 332.7 MB, free: 13.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005233/0.2449, allocations: 202.2 kB / 332.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.245, allocations: 53.53 kB / 333 MB, free: 13.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.2451, allocations: 148.4 kB / 333.1 MB, free: 13.14 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.2451, allocations: 31.02 kB / 333.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.2452, allocations: 144.8 kB / 333.3 MB, free: 12.97 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.2453, allocations: 44.56 kB / 333.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.2453, allocations: 5.219 kB / 333.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2454, allocations: 325.3 kB / 333.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.2456, allocations: 54.31 kB / 333.7 MB, free: 12.58 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.2457, allocations: 79.97 kB / 333.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2459, allocations: 64.55 kB / 333.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2459, allocations: 0 / 333.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004/0.2463, allocations: 184.7 kB / 334 MB, free: 12.4 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2463, allocations: 4.406 kB / 334.1 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2463, allocations: 0.9688 kB / 334.1 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2464, allocations: 8.922 kB / 334.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2466, allocations: 46.56 kB / 334.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.2466, allocations: 2.25 kB / 334.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2467, allocations: 14.78 kB / 334.1 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.2468, allocations: 4.375 kB / 334.1 MB, free: 12.37 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.0001239/0.2469, allocations: 132.6 kB / 334.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.247, allocations: 13.66 kB / 334.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.247, allocations: 19.11 kB / 334.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.247, allocations: 2.344 kB / 334.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.247, allocations: 3.953 kB / 334.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.247, allocations: 0 / 334.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.2474, allocations: 262.2 kB / 334.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2474, allocations: 1.281 kB / 334.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.2476, allocations: 41.56 kB / 334.6 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2476, allocations: 1.031 kB / 334.6 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.2476, allocations: 5.062 kB / 334.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2476, allocations: 1.031 kB / 334.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2476, allocations: 0 / 334.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.2482, allocations: 318.5 kB / 334.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.2483, allocations: 88.3 kB / 335 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.2483, allocations: 4.938 kB / 335 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.2485, allocations: 15.02 kB / 335 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.2485, allocations: 3.531 kB / 335 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2485, allocations: 10.97 kB / 335 MB, free: 11.59 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.2487, allocations: 120 kB / 335.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2487, allocations: 3.938 kB / 335.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.249, allocations: 48.09 kB / 335.2 MB, free: 11.48 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.0001392/0.2491, allocations: 95.31 kB / 335.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.2495, allocations: 138 kB / 335.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2495, allocations: 1.406 kB / 335.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2496, allocations: 66.97 kB / 335.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.25, allocations: 27.3 kB / 335.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2511, allocations: 0.6333 MB / 336.2 MB, free: 10.69 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.2514, allocations: 0.7281 MB / 336.9 MB, free: 9.934 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.999e-05/0.2515, allocations: 17.42 kB / 336.9 MB, free: 9.918 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.2515, allocations: 15.44 kB / 336.9 MB, free: 9.902 MB / 270.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2516, allocations: 0 / 336.9 MB, free: 9.902 MB / 270.1 MB Notification: Performance of Templates: time 0.004096/0.2557, allocations: 1.447 MB / 338.4 MB, free: 8.457 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: