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_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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.096/2.096, 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.001559/0.001558, allocations: 184.2 kB / 360.4 MB, free: 7.477 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.599/1.599, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001211/0.00121, allocations: 88.58 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.692e-05, allocations: 4 kB / 0.8503 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5267, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2468/0.7736, allocations: 169.9 MB / 1.129 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/0.774, allocations: 99.8 kB / 1.129 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.037/1.811, allocations: 180.4 MB / 1.305 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003646/1.811, allocations: 123.7 kB / 1.305 GB, free: 180.9 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01487/1.826, allocations: 4.227 MB / 1.309 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.826, allocations: 11.72 kB / 1.309 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009288/1.835, allocations: 1.012 MB / 1.31 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/1.846, allocations: 3.226 MB / 1.313 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/1.846, allocations: 162.4 kB / 1.314 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/1.847, allocations: 280.8 kB / 1.314 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.014/1.861, allocations: 4.882 MB / 1.319 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/1.879, allocations: 6.858 MB / 1.325 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/1.88, allocations: 26.06 kB / 1.325 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007431/1.88, allocations: 15.47 kB / 1.325 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002978/1.881, allocations: 275.4 kB / 1.326 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04966/1.93, allocations: 35.34 MB / 1.36 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005323/1.936, allocations: 2.009 MB / 1.362 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/1.939, allocations: 1.444 MB / 1.363 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/1.939, allocations: 15.47 kB / 1.363 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/1.939, allocations: 52.69 kB / 1.364 GB, free: 147 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 4.589e-06/1.939, allocations: 4 kB / 1.364 GB, free: 147 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.01396/1.953, allocations: 4.878 MB / 1.368 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.953, allocations: 68.41 kB / 1.368 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/1.956, allocations: 1.252 MB / 1.37 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003423/1.956, allocations: 29.7 kB / 1.37 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009877/1.957, allocations: 1.802 MB / 1.371 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006967/1.958, allocations: 0.5319 MB / 1.372 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/1.958, allocations: 2.406 kB / 1.372 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.958, allocations: 387.7 kB / 1.372 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/1.961, allocations: 0.9901 MB / 1.373 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/1.963, allocations: 1.694 MB / 1.375 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/1.966, allocations: 1.291 MB / 1.376 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/1.966, allocations: 7.906 kB / 1.376 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00975/1.976, allocations: 3.581 MB / 1.38 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.976, allocations: 9.344 kB / 1.38 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/1.976, allocations: 22.62 kB / 1.38 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004275/1.98, allocations: 0.9044 MB / 1.381 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00306/1.983, allocations: 391.4 kB / 1.381 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/2.007, allocations: 19.68 MB / 1.4 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/2.01, allocations: 59.95 kB / 1.4 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/2.01, allocations: 99.42 kB / 1.4 GB, free: 121.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004964/2.01, allocations: 171.5 kB / 1.4 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/2.011, allocations: 234 kB / 1.401 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008531/2.019, allocations: 3.158 MB / 1.404 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/2.019, allocations: 17.22 kB / 1.404 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/2.019, allocations: 8.125 kB / 1.404 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/2.019, allocations: 10.72 kB / 1.404 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/2.037, allocations: 6.705 MB / 1.41 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/2.037, allocations: 4 kB / 1.41 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/2.039, allocations: 207.1 kB / 1.411 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00391/2.042, allocations: 0.8786 MB / 1.411 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/2.043, allocations: 4.812 kB / 1.411 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0227/2.065, allocations: 19.67 MB / 1.431 GB, free: 95.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/2.065, allocations: 7.938 kB / 1.431 GB, free: 95.91 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008267/2.074, allocations: 3.601 MB / 1.434 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/2.075, allocations: 0.5005 MB / 1.435 GB, free: 92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005121/2.076, allocations: 7.281 kB / 1.435 GB, free: 92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/2.078, allocations: 41.22 kB / 1.435 GB, free: 91.97 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/2.078, allocations: 91.11 kB / 1.435 GB, free: 91.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/2.078, allocations: 51.14 kB / 1.435 GB, free: 91.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001673/2.08, allocations: 0.9115 MB / 1.436 GB, free: 91.03 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003803/2.083, allocations: 0.8242 MB / 1.436 GB, free: 90.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(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.000341/2.084, allocations: 132.2 kB / 1.437 GB, free: 90.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008519/2.092, allocations: 4.017 MB / 1.441 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/2.092, allocations: 8.062 kB / 1.441 GB, free: 86.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005795/2.098, allocations: 2.703 MB / 1.443 GB, free: 83.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/2.103, allocations: 0.6318 MB / 1.444 GB, free: 83.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/2.119, allocations: 6.005 MB / 1.45 GB, free: 77.69 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005747/2.125, allocations: 3.37 MB / 1.453 GB, free: 75.04 MB / 0.8542 GB Notification: Performance of SimCode: time 1.242e-06/2.125, allocations: 0 / 1.453 GB, free: 75.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.09371/2.219, allocations: 37.78 MB / 1.49 GB, free: 39.43 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)