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.007579/0.007579, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00168/0.00168, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.643/1.643, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001172/0.001173, allocations: 53.06 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1099, allocations: 46.61 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004129/0.1141, allocations: 2.117 MB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1152, allocations: 0.5773 MB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1154, allocations: 8 kB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1156, allocations: 31.7 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1157, allocations: 55.47 kB / 376 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1159, allocations: 59.92 kB / 376 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.1162, allocations: 234.9 kB / 376.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.1165, allocations: 89.58 kB / 376.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1166, allocations: 91.64 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1167, allocations: 91.61 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.1168, allocations: 24 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.1168, allocations: 20 kB / 376.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.1169, allocations: 39.91 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.117, allocations: 103.5 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.1174, allocations: 239.2 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1174, allocations: 0 / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.1174, allocations: 0 / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.1174, allocations: 4 kB / 376.9 MB, free: 13.53 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.0009716/0.1184, allocations: 486.8 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.1185, allocations: 8.031 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.1186, allocations: 24.75 kB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.119, allocations: 220 kB / 377.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.119, allocations: 12.38 kB / 377.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.1191, allocations: 20.38 kB / 377.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.1195, allocations: 185.8 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1195, allocations: 3.938 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.1196, allocations: 8 kB / 377.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1196, allocations: 8 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.1199, allocations: 135.9 kB / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1211, allocations: 0.7429 MB / 378.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.1215, allocations: 158.5 kB / 378.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.1217, allocations: 104.8 kB / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1217, allocations: 0 / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1218, allocations: 38.81 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 9.51e-07/0.1218, allocations: 0 / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004804/0.1222, allocations: 181.5 kB / 379.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.1223, allocations: 59.34 kB / 379.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1225, allocations: 145.8 kB / 379.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1225, allocations: 29.7 kB / 379.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1226, allocations: 136.1 kB / 379.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.1227, allocations: 55.28 kB / 379.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.1227, allocations: 37.7 kB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1229, allocations: 322.8 kB / 380 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.123, allocations: 47.97 kB / 380 MB, free: 10.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1231, allocations: 69.69 kB / 380.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.1234, allocations: 125.6 kB / 380.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1234, allocations: 0 / 380.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003318/0.1237, allocations: 181.3 kB / 380.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.1238, allocations: 7.938 kB / 380.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1238, allocations: 4 kB / 380.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1238, allocations: 3.938 kB / 380.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.124, allocations: 39.92 kB / 380.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.1241, allocations: 8.016 kB / 380.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1242, allocations: 19.84 kB / 380.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1242, allocations: 4 kB / 380.5 MB, free: 9.703 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 0.0001196/0.1243, allocations: 125.8 kB / 380.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.1244, allocations: 11.81 kB / 380.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.1244, allocations: 24.77 kB / 380.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1244, allocations: 0 / 380.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1244, allocations: 0 / 380.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1244, allocations: 0 / 380.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.1248, allocations: 265.6 kB / 380.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1248, allocations: 0 / 380.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.125, allocations: 47.89 kB / 381 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.125, allocations: 0 / 381 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.125, allocations: 3.938 kB / 381 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1251, allocations: 4 kB / 381 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1251, allocations: 0 / 381 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.1255, allocations: 299.3 kB / 381.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.1256, allocations: 89 kB / 381.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1256, allocations: 11.92 kB / 381.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1258, allocations: 12 kB / 381.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.1258, allocations: 16 kB / 381.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.1259, allocations: 4 kB / 381.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.566e-05/0.126, allocations: 115.2 kB / 381.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.126, allocations: 4 kB / 381.5 MB, free: 8.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1263, allocations: 47.84 kB / 381.6 MB, free: 8.551 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.0001291/0.1264, allocations: 103.2 kB / 381.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.1267, allocations: 127.9 kB / 381.8 MB, free: 8.316 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1267, allocations: 0 / 381.8 MB, free: 8.316 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1269, allocations: 63.97 kB / 381.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1272, allocations: 27.92 kB / 381.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009798/0.1282, allocations: 0.5099 MB / 382.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1285, allocations: 0.724 MB / 383.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.891e-05/0.1286, allocations: 13.42 kB / 383.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.1286, allocations: 19.38 kB / 383.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1286, allocations: 4 kB / 383.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of Templates: time 0.004446/0.1331, allocations: 1.648 MB / 384.8 MB, free: 5.25 MB / 318.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)