Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.197/2.197, allocations: 284.9 MB / 292.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 177.2 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.001279, allocations: 90.62 kB / 0.7318 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.245e-06/8.376e-06, allocations: 0 / 0.8503 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5477, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2671/0.8148, allocations: 187 MB / 1.145 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/0.8152, allocations: 96.73 kB / 1.145 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1217/0.937, allocations: 31.32 MB / 1.176 GB, free: 2.008 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.936e-05/0.9371, allocations: 21.41 kB / 1.176 GB, free: 1.988 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001963/0.9391, allocations: 0.8097 MB / 1.177 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.9391, allocations: 8.531 kB / 1.177 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.9415, allocations: 194.9 kB / 1.177 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.9431, allocations: 0.4975 MB / 1.178 GB, free: 400 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.9432, allocations: 16 kB / 1.178 GB, free: 384 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.9434, allocations: 39.89 kB / 1.178 GB, free: 344 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/0.9448, allocations: 478.2 kB / 1.178 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.9465, allocations: 0.7988 MB / 1.179 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.9466, allocations: 15.92 kB / 1.179 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.9467, allocations: 4 kB / 1.179 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.233e-05/0.9468, allocations: 40.97 kB / 1.179 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007054/0.9539, allocations: 4.497 MB / 1.183 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.9546, allocations: 276.8 kB / 1.184 GB, free: 9.793 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/0.9551, allocations: 216.8 kB / 1.184 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.9552, allocations: 11.94 kB / 1.184 GB, free: 9.566 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.9552, allocations: 38.56 kB / 1.184 GB, free: 9.52 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/0.9552, allocations: 0 / 1.184 GB, free: 9.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.006906/0.9621, allocations: 2.03 MB / 1.186 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.9622, allocations: 55.41 kB / 1.186 GB, free: 7.336 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.9628, allocations: 329 kB / 1.186 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.9629, allocations: 29.7 kB / 1.186 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.9631, allocations: 283.7 kB / 1.186 GB, free: 6.691 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.9633, allocations: 145.9 kB / 1.187 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.9633, allocations: 0 / 1.187 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.9635, allocations: 358.8 kB / 1.187 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.9642, allocations: 221.2 kB / 1.187 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.9649, allocations: 380.1 kB / 1.188 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.9656, allocations: 285.4 kB / 1.188 GB, free: 5.258 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9656, allocations: 4 kB / 1.188 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00286/0.9685, allocations: 0.8397 MB / 1.189 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.9685, allocations: 9 kB / 1.189 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.9686, allocations: 4.562 kB / 1.189 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.97, allocations: 224.1 kB / 1.189 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/0.971, allocations: 99.88 kB / 1.189 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00721/0.9782, allocations: 4.632 MB / 1.193 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.9791, allocations: 15.89 kB / 1.193 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.9792, allocations: 20.06 kB / 1.193 GB, free: 15.06 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.9794, allocations: 122.1 kB / 1.194 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.9795, allocations: 55.34 kB / 1.194 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.9822, allocations: 0.7344 MB / 1.194 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.9822, allocations: 7.906 kB / 1.194 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.9822, allocations: 7.938 kB / 1.194 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.9822, allocations: 7.984 kB / 1.194 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/0.9861, allocations: 1.369 MB / 1.196 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.9862, allocations: 4 kB / 1.196 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.987, allocations: 63.89 kB / 1.196 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.9883, allocations: 204.2 kB / 1.196 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.9883, allocations: 4 kB / 1.196 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006767/0.9951, allocations: 4.55 MB / 1.2 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.9952, allocations: 4 kB / 1.2 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003247/0.9984, allocations: 1.195 MB / 1.202 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.9989, allocations: 164.4 kB / 1.202 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.999, allocations: 10.8 kB / 1.202 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.9996, allocations: 11.98 kB / 1.202 GB, free: 6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.9997, allocations: 23.97 kB / 1.202 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.9997, allocations: 12 kB / 1.202 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0004319/1, allocations: 263.2 kB / 1.202 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000969/1.001, allocations: 159.8 kB / 1.202 GB, free: 5.551 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002098/1.001, allocations: 103.3 kB / 1.202 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002413/1.004, allocations: 0.9245 MB / 1.203 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.004, allocations: 0 / 1.203 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.005, allocations: 0.6084 MB / 1.204 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.007, allocations: 147 kB / 1.204 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/1.01, allocations: 0.9688 MB / 1.205 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000891/1.011, allocations: 0.9881 MB / 1.206 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of SimCode: time 8.41e-07/1.011, allocations: 0 / 1.206 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of Templates: time 0.02385/1.035, allocations: 8.169 MB / 1.214 GB, free: 9.703 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)