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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7575/0.7575, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001715/0.001715, allocations: 163.3 kB / 144 MB, free: 4.805 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.545e-05/1.549e-05, allocations: 4 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04843/0.04846, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05004/0.09854, allocations: 33.87 MB / 232.9 MB, free: 11.79 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.09882, allocations: 63.97 kB / 233 MB, free: 11.72 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008461/0.1073, allocations: 2.955 MB / 235.9 MB, free: 8.754 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.1074, allocations: 0 / 235.9 MB, free: 8.754 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.1074, allocations: 7.938 kB / 235.9 MB, free: 8.746 MB / 186.7 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.0007487/0.1081, allocations: 446 kB / 236.4 MB, free: 8.266 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1082, allocations: 8.031 kB / 236.4 MB, free: 8.258 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.1083, allocations: 23.81 kB / 236.4 MB, free: 8.234 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1086, allocations: 218.7 kB / 236.6 MB, free: 7.98 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1086, allocations: 4 kB / 236.6 MB, free: 7.977 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.1087, allocations: 12 kB / 236.6 MB, free: 7.965 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002389/0.1089, allocations: 108 kB / 236.7 MB, free: 7.859 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.1092, allocations: 141.6 kB / 236.9 MB, free: 7.715 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1092, allocations: 3.953 kB / 236.9 MB, free: 7.711 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.1092, allocations: 4 kB / 236.9 MB, free: 7.707 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1092, allocations: 4 kB / 236.9 MB, free: 7.703 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1105, allocations: 0.7122 MB / 237.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1108, allocations: 134.5 kB / 237.7 MB, free: 6.793 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.1109, allocations: 80.86 kB / 237.8 MB, free: 6.711 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1109, allocations: 3.938 kB / 237.8 MB, free: 6.707 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.111, allocations: 30.56 kB / 237.8 MB, free: 6.668 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.111, allocations: 0 / 237.8 MB, free: 6.668 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002812/0.1113, allocations: 121.8 kB / 237.9 MB, free: 6.543 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1113, allocations: 55.34 kB / 238 MB, free: 6.477 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1114, allocations: 131.5 kB / 238.1 MB, free: 6.34 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1115, allocations: 25.7 kB / 238.2 MB, free: 6.309 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.1115, allocations: 136.1 kB / 238.3 MB, free: 6.172 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.1116, allocations: 51.3 kB / 238.3 MB, free: 6.121 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.1116, allocations: 0 / 238.3 MB, free: 6.121 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1117, allocations: 318.8 kB / 238.6 MB, free: 5.801 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.1118, allocations: 36 kB / 238.7 MB, free: 5.766 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.042e-05/0.1119, allocations: 53.67 kB / 238.7 MB, free: 5.707 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.474e-05/0.112, allocations: 44.92 kB / 238.8 MB, free: 5.664 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.112, allocations: 0 / 238.8 MB, free: 5.664 MB / 186.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002149/0.1122, allocations: 144.7 kB / 238.9 MB, free: 5.52 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1122, allocations: 4 kB / 238.9 MB, free: 5.516 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1122, allocations: 4 kB / 238.9 MB, free: 5.512 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1123, allocations: 0 / 238.9 MB, free: 5.512 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.1125, allocations: 43.97 kB / 239 MB, free: 5.469 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1125, allocations: 0 / 239 MB, free: 5.469 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1126, allocations: 23.86 kB / 239 MB, free: 5.445 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1126, allocations: 8 kB / 239 MB, free: 5.438 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(start = 4.0 unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real L.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real 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 () * 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.0001516/0.1128, allocations: 112.9 kB / 239.1 MB, free: 5.32 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.1129, allocations: 15.81 kB / 239.1 MB, free: 5.305 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.1129, allocations: 12.75 kB / 239.1 MB, free: 5.289 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1129, allocations: 8 kB / 239.1 MB, free: 5.281 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1129, allocations: 7.922 kB / 239.2 MB, free: 5.273 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1129, allocations: 0 / 239.2 MB, free: 5.273 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.1132, allocations: 214.1 kB / 239.4 MB, free: 5.027 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1132, allocations: 7.938 kB / 239.4 MB, free: 5.02 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.1134, allocations: 39.98 kB / 239.4 MB, free: 4.98 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1134, allocations: 0 / 239.4 MB, free: 4.98 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1134, allocations: 0 / 239.4 MB, free: 4.98 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1135, allocations: 0 / 239.4 MB, free: 4.98 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.1135, allocations: 3.938 kB / 239.4 MB, free: 4.977 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1138, allocations: 263.3 kB / 239.7 MB, free: 4.703 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.1138, allocations: 92.94 kB / 239.8 MB, free: 4.594 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1139, allocations: 11.94 kB / 239.8 MB, free: 4.582 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.114, allocations: 11.98 kB / 239.8 MB, free: 4.57 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.1141, allocations: 11.98 kB / 239.8 MB, free: 4.559 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1141, allocations: 8 kB / 239.8 MB, free: 4.551 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.306e-05/0.1142, allocations: 108.1 kB / 239.9 MB, free: 4.445 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1142, allocations: 0 / 239.9 MB, free: 4.445 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.1145, allocations: 43.84 kB / 240 MB, free: 4.402 MB / 186.7 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 () * 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.0001501/0.1146, allocations: 103.2 kB / 240.1 MB, free: 4.293 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1148, allocations: 92 kB / 240.1 MB, free: 4.203 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1148, allocations: 0 / 240.1 MB, free: 4.203 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.1149, allocations: 47.94 kB / 240.2 MB, free: 4.156 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1152, allocations: 31.98 kB / 240.2 MB, free: 4.125 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.1159, allocations: 385.5 kB / 240.6 MB, free: 3.727 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1162, allocations: 0.7279 MB / 241.3 MB, free: 2.973 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.152e-05/0.1163, allocations: 9.203 kB / 241.3 MB, free: 2.961 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.1163, allocations: 15.44 kB / 241.4 MB, free: 2.949 MB / 186.7 MB Notification: Performance of SimCode: time 1.664e-06/0.1163, allocations: 0 / 241.4 MB, free: 2.949 MB / 186.7 MB Notification: Performance of Templates: time 0.003639/0.12, allocations: 1.327 MB / 242.7 MB, free: 1.625 MB / 186.7 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)