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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [: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.124/2.124, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001571/0.00157, allocations: 173.3 kB / 360.4 MB, free: 7.523 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.611/1.611, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.00125/0.001249, allocations: 95.72 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.099e-05, allocations: 4 kB / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.538, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/0.8032, allocations: 169.9 MB / 1.129 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.8035, allocations: 92.55 kB / 1.129 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.007/1.81, allocations: 178.4 MB / 1.303 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003337/1.811, allocations: 120.5 kB / 1.303 GB, free: 182.2 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01399/1.825, allocations: 3.901 MB / 1.307 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.825, allocations: 8.094 kB / 1.307 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00941/1.834, allocations: 0.9292 MB / 1.308 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009865/1.844, allocations: 3.001 MB / 1.311 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/1.844, allocations: 147.8 kB / 1.311 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001805/1.846, allocations: 280.8 kB / 1.311 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01448/1.861, allocations: 4.687 MB / 1.316 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/1.881, allocations: 6.704 MB / 1.322 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002415/1.881, allocations: 28 kB / 1.322 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001174/1.883, allocations: 11.59 kB / 1.322 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003234/1.883, allocations: 293.6 kB / 1.323 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04752/1.93, allocations: 34.21 MB / 1.356 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/1.934, allocations: 1.49 MB / 1.358 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/1.937, allocations: 1.311 MB / 1.359 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/1.937, allocations: 15.38 kB / 1.359 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.937, allocations: 45.12 kB / 1.359 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 4.668e-06/1.937, allocations: 3.5 kB / 1.359 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.01386/1.951, allocations: 4.581 MB / 1.363 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.951, allocations: 69.75 kB / 1.363 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/1.953, allocations: 1.062 MB / 1.364 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002731/1.953, allocations: 29.7 kB / 1.364 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009981/1.954, allocations: 1.754 MB / 1.366 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006076/1.955, allocations: 471.2 kB / 1.367 GB, free: 145 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/1.955, allocations: 1.25 kB / 1.367 GB, free: 145 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.955, allocations: 377 kB / 1.367 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/1.957, allocations: 0.9005 MB / 1.368 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/1.96, allocations: 1.542 MB / 1.369 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/1.963, allocations: 1.176 MB / 1.371 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/1.963, allocations: 6.812 kB / 1.371 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009763/1.972, allocations: 3.359 MB / 1.374 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.972, allocations: 2.969 kB / 1.374 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/1.972, allocations: 29.12 kB / 1.374 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005012/1.977, allocations: 0.9653 MB / 1.375 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/1.98, allocations: 332.3 kB / 1.375 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02482/2.005, allocations: 19.74 MB / 1.394 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/2.007, allocations: 42.75 kB / 1.394 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/2.008, allocations: 87.72 kB / 1.395 GB, free: 124.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(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.0004354/2.008, allocations: 171.2 kB / 1.395 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/2.008, allocations: 194.6 kB / 1.395 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008674/2.017, allocations: 2.977 MB / 1.398 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/2.017, allocations: 15.28 kB / 1.398 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/2.017, allocations: 11.66 kB / 1.398 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/2.017, allocations: 10.06 kB / 1.398 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/2.034, allocations: 6.202 MB / 1.404 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/2.034, allocations: 5.844 kB / 1.404 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/2.036, allocations: 161.5 kB / 1.404 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004898/2.04, allocations: 0.9319 MB / 1.405 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000212/2.041, allocations: 7.281 kB / 1.405 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0251/2.066, allocations: 19.75 MB / 1.424 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/2.066, allocations: 4 kB / 1.424 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008457/2.074, allocations: 3.392 MB / 1.428 GB, free: 99.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/2.076, allocations: 454.4 kB / 1.428 GB, free: 99.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/2.076, allocations: 11.19 kB / 1.428 GB, free: 99.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/2.078, allocations: 29.52 kB / 1.428 GB, free: 99.26 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/2.078, allocations: 75.44 kB / 1.428 GB, free: 99.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/2.078, allocations: 36.81 kB / 1.428 GB, free: 99.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001413/2.079, allocations: 0.7833 MB / 1.429 GB, free: 98.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003736/2.083, allocations: 0.7344 MB / 1.43 GB, free: 97.74 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 (85): * Single equations (assignments): 73 * 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%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003204/2.083, allocations: 130.4 kB / 1.43 GB, free: 97.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008219/2.092, allocations: 3.795 MB / 1.433 GB, free: 94.03 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/2.092, allocations: 1.562 kB / 1.433 GB, free: 94.03 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005808/2.098, allocations: 2.599 MB / 1.436 GB, free: 91.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004833/2.102, allocations: 0.5724 MB / 1.437 GB, free: 91.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/2.119, allocations: 5.657 MB / 1.442 GB, free: 85.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00569/2.125, allocations: 3.248 MB / 1.445 GB, free: 83.39 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/2.125, allocations: 0 / 1.445 GB, free: 83.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.08431/2.209, allocations: 33.4 MB / 1.478 GB, free: 52.71 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)