Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [: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.137/2.137, allocations: 284.9 MB / 292.2 MB, free: 10.68 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.001586/0.001585, allocations: 177.2 kB / 360.4 MB, free: 7.48 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.564/1.564, allocations: 205.2 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.001252/0.001251, allocations: 96.91 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.077e-05, allocations: 4 kB / 0.8502 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5284, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2662/0.7946, allocations: 185 MB / 1.143 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.795, allocations: 93.11 kB / 1.144 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.505/2.3, allocations: 317 MB / 1.453 GB, free: 64.47 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006182/2.301, allocations: 170.6 kB / 1.453 GB, free: 64.31 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02414/2.325, allocations: 5.601 MB / 1.459 GB, free: 58.66 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/2.325, allocations: 12.03 kB / 1.459 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02158/2.347, allocations: 1.685 MB / 1.46 GB, free: 56.95 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02017/2.367, allocations: 5.007 MB / 1.465 GB, free: 51.93 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/2.367, allocations: 192 kB / 1.466 GB, free: 51.74 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002992/2.37, allocations: 355.9 kB / 1.466 GB, free: 51.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02271/2.393, allocations: 7.065 MB / 1.473 GB, free: 44.32 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03094/2.424, allocations: 9.202 MB / 1.482 GB, free: 34.64 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003355/2.424, allocations: 27.62 kB / 1.482 GB, free: 34.61 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002541/2.427, allocations: 16 kB / 1.482 GB, free: 34.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004647/2.427, allocations: 396 kB / 1.482 GB, free: 34.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08528/2.513, allocations: 45.35 MB / 1.526 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009136/2.522, allocations: 3.711 MB / 1.53 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008611/2.53, allocations: 3.497 MB / 1.533 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/2.531, allocations: 42.22 kB / 1.534 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.873e-05/2.531, allocations: 69.34 kB / 1.534 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=353): time 6.432e-06/2.531, allocations: 3.938 kB / 1.534 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=578): time 0.1864/2.717, allocations: 38.1 MB / 1.571 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/2.717, allocations: 107.9 kB / 1.571 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004409/2.722, allocations: 1.836 MB / 1.573 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001408/2.723, allocations: 29.7 kB / 1.573 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00192/2.725, allocations: 2.181 MB / 1.575 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003582/2.729, allocations: 1.878 MB / 1.577 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007362/2.73, allocations: 0 / 1.577 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0005168/2.73, allocations: 0.522 MB / 1.577 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01054/2.741, allocations: 3.756 MB / 1.581 GB, free: 9.383 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/2.753, allocations: 4.837 MB / 1.586 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/2.766, allocations: 4.582 MB / 1.59 GB, free: 15.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.207e-05/2.766, allocations: 8 kB / 1.59 GB, free: 15.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.07056/2.837, allocations: 15.5 MB / 1.605 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/2.837, allocations: 7.938 kB / 1.605 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.988e-05/2.837, allocations: 32 kB / 1.605 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04969/2.886, allocations: 7.415 MB / 1.613 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005007/2.891, allocations: 0.5421 MB / 1.613 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4681/3.36, allocations: 61.16 MB / 1.673 GB, free: 292.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007886/3.367, allocations: 86.56 kB / 1.673 GB, free: 292.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/3.369, allocations: 207.4 kB / 1.673 GB, free: 292.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001487/3.371, allocations: 194.7 kB / 1.673 GB, free: 292.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/3.372, allocations: 451.4 kB / 1.674 GB, free: 292.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06482/3.437, allocations: 15.49 MB / 1.689 GB, free: 292 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.196e-05/3.437, allocations: 54.81 kB / 1.689 GB, free: 292 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001486/3.437, allocations: 74.84 kB / 1.689 GB, free: 292 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001173/3.437, allocations: 32.86 kB / 1.689 GB, free: 292 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08266/3.52, allocations: 22.6 MB / 1.711 GB, free: 290.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.876e-05/3.52, allocations: 3.625 kB / 1.711 GB, free: 290.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003609/3.524, allocations: 311.5 kB / 1.711 GB, free: 290.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04162/3.566, allocations: 6.767 MB / 1.718 GB, free: 290.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001329/3.567, allocations: 19.41 kB / 1.718 GB, free: 290.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1413/3.708, allocations: 58.12 MB / 1.775 GB, free: 258.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/3.708, allocations: 20.58 kB / 1.775 GB, free: 258.2 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06982/3.778, allocations: 20.71 MB / 1.795 GB, free: 249.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004771/3.783, allocations: 1.239 MB / 1.796 GB, free: 248.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001842/3.785, allocations: 15.97 kB / 1.796 GB, free: 248.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006072/3.791, allocations: 87.75 kB / 1.796 GB, free: 248.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/3.792, allocations: 283 kB / 1.797 GB, free: 248.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006456/3.793, allocations: 138.8 kB / 1.797 GB, free: 248.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.002912/3.796, allocations: 1.339 MB / 1.798 GB, free: 248.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01122/3.807, allocations: 1.84 MB / 1.8 GB, free: 248.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/3.809, allocations: 150.4 kB / 1.8 GB, free: 248.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04159/3.85, allocations: 12.41 MB / 1.812 GB, free: 242.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/3.85, allocations: 2.438 kB / 1.812 GB, free: 242.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.029/3.879, allocations: 7.725 MB / 1.82 GB, free: 236.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008952/3.888, allocations: 0.9474 MB / 1.82 GB, free: 235.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04451/3.933, allocations: 13.26 MB / 1.833 GB, free: 223.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01108/3.944, allocations: 4.828 MB / 1.838 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.603e-06/3.944, allocations: 0 / 1.838 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.2733/4.217, allocations: 123.3 MB / 1.959 GB, free: 127 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)