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.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001383/0.001383, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.589/1.589, allocations: 205.1 MB / 222 MB, free: 4.746 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.002085/0.002085, allocations: 55.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2825, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003525/0.2861, allocations: 2.178 MB / 326.9 MB, free: 224 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.287, allocations: 0.5739 MB / 327.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2871, allocations: 3.312 kB / 327.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.2873, allocations: 27.66 kB / 327.5 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2874, allocations: 45.2 kB / 327.5 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.2876, allocations: 49.45 kB / 327.5 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.2879, allocations: 223.1 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.2881, allocations: 61.38 kB / 327.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.2882, allocations: 79.84 kB / 327.9 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2883, allocations: 99.56 kB / 328 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.2884, allocations: 14.75 kB / 328 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.062e-05/0.2884, allocations: 14.59 kB / 328 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.2885, allocations: 39.98 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.2886, allocations: 97.75 kB / 328.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.2888, allocations: 224.9 kB / 328.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2888, allocations: 0 / 328.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2888, allocations: 0 / 328.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2889, allocations: 1.531 kB / 328.4 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.0007952/0.2897, allocations: 498.3 kB / 328.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2897, allocations: 8.75 kB / 328.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.2898, allocations: 22.97 kB / 328.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.2901, allocations: 210.6 kB / 329.1 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2901, allocations: 15.03 kB / 329.1 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.2901, allocations: 16.62 kB / 329.1 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.2905, allocations: 187.4 kB / 329.3 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2905, allocations: 1.031 kB / 329.3 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.2906, allocations: 9.219 kB / 329.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.2906, allocations: 4.25 kB / 329.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.2909, allocations: 138.7 kB / 329.5 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.2922, allocations: 0.7478 MB / 330.2 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.2926, allocations: 161.3 kB / 330.4 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.2928, allocations: 103.2 kB / 330.5 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2928, allocations: 1.125 kB / 330.5 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2929, allocations: 36.38 kB / 330.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.2929, allocations: 0 / 330.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004575/0.2933, allocations: 179.8 kB / 330.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.2934, allocations: 56.5 kB / 330.7 MB, free: 13.18 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2935, allocations: 161 kB / 330.9 MB, free: 13.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2936, allocations: 34.7 kB / 330.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.2937, allocations: 133.1 kB / 331.1 MB, free: 12.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.2937, allocations: 40.73 kB / 331.1 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.2938, allocations: 35.83 kB / 331.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2939, allocations: 322.3 kB / 331.5 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.2941, allocations: 50.59 kB / 331.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.2942, allocations: 74.19 kB / 331.6 MB, free: 12.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.2945, allocations: 121.4 kB / 331.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2945, allocations: 1.312 kB / 331.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003464/0.2948, allocations: 178.2 kB / 331.9 MB, free: 12.26 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2949, allocations: 4.562 kB / 331.9 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2949, allocations: 5.125 kB / 331.9 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2949, allocations: 5.188 kB / 331.9 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2951, allocations: 44.88 kB / 331.9 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2951, allocations: 1.125 kB / 331.9 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2953, allocations: 17.12 kB / 331.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2953, allocations: 4.25 kB / 332 MB, free: 12.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.2954, allocations: 124.4 kB / 332.1 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.2954, allocations: 10.56 kB / 332.1 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.2955, allocations: 26.92 kB / 332.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2955, allocations: 1.469 kB / 332.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2955, allocations: 5.312 kB / 332.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2955, allocations: 0 / 332.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.2958, allocations: 269.6 kB / 332.4 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2958, allocations: 1.188 kB / 332.4 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.2961, allocations: 40.84 kB / 332.4 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2961, allocations: 0 / 332.4 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2961, allocations: 9.156 kB / 332.4 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2961, allocations: 5.188 kB / 332.4 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2961, allocations: 4 kB / 332.4 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.2966, allocations: 291.5 kB / 332.7 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.2966, allocations: 95.94 kB / 332.8 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.2967, allocations: 5.438 kB / 332.8 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2968, allocations: 16.06 kB / 332.8 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.2969, allocations: 8.328 kB / 332.8 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2969, allocations: 10.88 kB / 332.9 MB, free: 11.43 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.283e-05/0.297, allocations: 115.9 kB / 333 MB, free: 11.34 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.297, allocations: 0 / 333 MB, free: 11.34 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.2973, allocations: 46.81 kB / 333 MB, free: 11.33 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 (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.0001273/0.2974, allocations: 100.4 kB / 333.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.2977, allocations: 132.8 kB / 333.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2977, allocations: 0 / 333.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2978, allocations: 64.94 kB / 333.3 MB, free: 11.15 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.2983, allocations: 23.33 kB / 333.3 MB, free: 11.13 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2993, allocations: 0.5783 MB / 333.9 MB, free: 10.53 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2997, allocations: 0.7204 MB / 334.6 MB, free: 9.781 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.611e-05/0.2997, allocations: 17.42 kB / 334.6 MB, free: 9.766 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.2998, allocations: 19.38 kB / 334.7 MB, free: 9.746 MB / 270.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2998, allocations: 0 / 334.7 MB, free: 9.746 MB / 270.1 MB Notification: Performance of Templates: time 0.004011/0.3038, allocations: 1.517 MB / 336.2 MB, free: 8.23 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (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)