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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [: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.133/2.133, allocations: 284.9 MB / 292.2 MB, free: 14.66 MB / 238.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001661, allocations: 173.3 kB / 360.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 0.6188 GB, free: 4.605 MB / 462.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001238, allocations: 86.56 kB / 0.7318 GB, free: 53.48 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 9.899e-06/9.929e-06, allocations: 4 kB / 0.8503 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.231, allocations: 115.2 MB / 0.9628 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5709/0.8019, allocations: 162.6 MB / 1.122 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003833/0.8024, allocations: 91.94 kB / 1.122 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 0.1441/0.9465, allocations: 36.42 MB / 1.157 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.77e-05/0.9466, allocations: 31.98 kB / 1.157 GB, free: 1.25 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002344/0.949, allocations: 0.951 MB / 1.158 GB, free: 256 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.949, allocations: 12.53 kB / 1.158 GB, free: 244 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/0.9516, allocations: 252 kB / 1.158 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.953, allocations: 0.5393 MB / 1.159 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.9531, allocations: 24 kB / 1.159 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.9532, allocations: 36 kB / 1.159 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001825/0.9551, allocations: 0.6325 MB / 1.16 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.9573, allocations: 1.037 MB / 1.161 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.9574, allocations: 7.906 kB / 1.161 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.9575, allocations: 7.938 kB / 1.161 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.9576, allocations: 59.03 kB / 1.161 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008194/0.9658, allocations: 5.793 MB / 1.166 GB, free: 7.254 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.9674, allocations: 0.5156 MB / 1.167 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007285/0.9681, allocations: 322.1 kB / 1.167 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.9682, allocations: 8.438 kB / 1.167 GB, free: 6.398 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.9682, allocations: 39 kB / 1.167 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 3.186e-06/0.9682, allocations: 0 / 1.167 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48): time 0.003652/0.9719, allocations: 1.193 MB / 1.168 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.9719, allocations: 55.84 kB / 1.168 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.9726, allocations: 406.2 kB / 1.169 GB, free: 4.668 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.9727, allocations: 25.7 kB / 1.169 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.973, allocations: 346.8 kB / 1.169 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.9731, allocations: 161.6 kB / 1.169 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.9732, allocations: 0 / 1.169 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.9734, allocations: 370.8 kB / 1.17 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/0.9741, allocations: 257.2 kB / 1.17 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/0.9749, allocations: 461.4 kB / 1.17 GB, free: 2.98 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.9758, allocations: 325.3 kB / 1.171 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.9758, allocations: 0 / 1.171 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00294/0.9788, allocations: 0.9834 MB / 1.172 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.9788, allocations: 11.94 kB / 1.172 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.9788, allocations: 8 kB / 1.172 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.9803, allocations: 271.2 kB / 1.172 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/0.9813, allocations: 111.8 kB / 1.172 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00876/0.99, allocations: 6.208 MB / 1.178 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.9911, allocations: 15.98 kB / 1.178 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.9912, allocations: 34.8 kB / 1.178 GB, free: 10.54 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.9914, allocations: 130.7 kB / 1.178 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.9916, allocations: 67.31 kB / 1.178 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.9942, allocations: 0.8442 MB / 1.179 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.9942, allocations: 8 kB / 1.179 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.9943, allocations: 7.906 kB / 1.179 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.9943, allocations: 7.984 kB / 1.179 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.9985, allocations: 1.588 MB / 1.181 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.984e-06/0.9985, allocations: 5.406 kB / 1.181 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.9991, allocations: 61.12 kB / 1.181 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/1, allocations: 267.3 kB / 1.181 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/1.001, allocations: 4 kB / 1.181 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008643/1.009, allocations: 6.183 MB / 1.187 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/1.009, allocations: 4.953 kB / 1.187 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002709/1.012, allocations: 1.012 MB / 1.188 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/1.012, allocations: 188.2 kB / 1.188 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/1.013, allocations: 4 kB / 1.188 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/1.013, allocations: 11.98 kB / 1.188 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/1.013, allocations: 35.89 kB / 1.188 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/1.013, allocations: 16 kB / 1.188 GB, free: 15.44 MB / 0.795 GB Notification: Performance of sort global known variables: time 0.0005254/1.014, allocations: 301 kB / 1.189 GB, free: 15.15 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001083/1.015, allocations: 196 kB / 1.189 GB, free: 14.96 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002011/1.015, allocations: 115.1 kB / 1.189 GB, free: 14.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002839/1.018, allocations: 1.15 MB / 1.19 GB, free: 13.65 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.018, allocations: 0 / 1.19 GB, free: 13.65 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/1.02, allocations: 0.7999 MB / 1.191 GB, free: 12.81 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/1.022, allocations: 162.3 kB / 1.191 GB, free: 12.66 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/1.025, allocations: 0.9978 MB / 1.192 GB, free: 11.62 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.026, allocations: 1.052 MB / 1.193 GB, free: 10.54 MB / 0.795 GB Notification: Performance of SimCode: time 9.21e-07/1.026, allocations: 0 / 1.193 GB, free: 10.54 MB / 0.795 GB Notification: Performance of Templates: time 0.0289/1.055, allocations: 10.1 MB / 1.203 GB, free: 0.6523 MB / 0.795 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)