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_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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.118/2.118, 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.001536/0.001536, allocations: 173.3 kB / 360.4 MB, free: 7.512 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.624/1.624, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001216/0.001216, allocations: 98.28 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.857e-06/8.997e-06, allocations: 0 / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5373, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.273/0.8103, allocations: 194 MB / 1.152 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/0.8107, allocations: 96.78 kB / 1.152 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.8744/1.685, allocations: 144.7 MB / 1.294 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002561/1.685, allocations: 93.92 kB / 1.294 GB, free: 198.4 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01073/1.696, allocations: 3.257 MB / 1.297 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.696, allocations: 10.28 kB / 1.297 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008016/1.704, allocations: 0.8075 MB / 1.298 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008325/1.713, allocations: 2.573 MB / 1.3 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/1.713, allocations: 118.3 kB / 1.3 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/1.714, allocations: 233.8 kB / 1.301 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01027/1.724, allocations: 3.709 MB / 1.304 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/1.737, allocations: 5.224 MB / 1.309 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/1.737, allocations: 22.16 kB / 1.309 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005386/1.738, allocations: 11.88 kB / 1.309 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002401/1.738, allocations: 223.1 kB / 1.31 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03662/1.775, allocations: 26.95 MB / 1.336 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/1.777, allocations: 1.035 MB / 1.337 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/1.779, allocations: 0.974 MB / 1.338 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-05/1.779, allocations: 16.03 kB / 1.338 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.779, allocations: 48.16 kB / 1.338 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 4.739e-06/1.779, allocations: 0 / 1.338 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.02189/1.801, allocations: 6.937 MB / 1.345 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/1.801, allocations: 66.06 kB / 1.345 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/1.804, allocations: 1.076 MB / 1.346 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/1.804, allocations: 25.7 kB / 1.346 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007658/1.805, allocations: 1.425 MB / 1.347 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/1.805, allocations: 449.4 kB / 1.348 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/1.805, allocations: 0 / 1.348 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.805, allocations: 383.6 kB / 1.348 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.807, allocations: 0.8553 MB / 1.349 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/1.81, allocations: 1.434 MB / 1.35 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/1.812, allocations: 1.11 MB / 1.351 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.812, allocations: 5.188 kB / 1.351 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.008984/1.821, allocations: 3.048 MB / 1.354 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.821, allocations: 7.406 kB / 1.354 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/1.821, allocations: 26.62 kB / 1.354 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/1.825, allocations: 0.7183 MB / 1.355 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/1.828, allocations: 376.9 kB / 1.355 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/1.846, allocations: 14.48 MB / 1.37 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/1.849, allocations: 53.81 kB / 1.37 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/1.849, allocations: 81.97 kB / 1.37 GB, free: 151.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004228/1.85, allocations: 162.4 kB / 1.37 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/1.85, allocations: 185.9 kB / 1.37 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007804/1.858, allocations: 2.662 MB / 1.373 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/1.858, allocations: 17.22 kB / 1.373 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.858, allocations: 11.25 kB / 1.373 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.858, allocations: 7.734 kB / 1.373 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.872, allocations: 5.445 MB / 1.378 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.872, allocations: 9.344 kB / 1.378 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/1.875, allocations: 227.8 kB / 1.378 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.878, allocations: 0.6437 MB / 1.379 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/1.878, allocations: 14.53 kB / 1.379 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/1.895, allocations: 14.18 MB / 1.393 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/1.895, allocations: 6.656 kB / 1.393 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009792/1.905, allocations: 4.236 MB / 1.397 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.906, allocations: 433 kB / 1.397 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/1.907, allocations: 13.19 kB / 1.397 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.908, allocations: 42.39 kB / 1.397 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/1.909, allocations: 78.06 kB / 1.397 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.909, allocations: 41.5 kB / 1.397 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001606/1.91, allocations: 0.7977 MB / 1.398 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003166/1.914, allocations: 0.6299 MB / 1.399 GB, free: 132.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003163/1.914, allocations: 140.2 kB / 1.399 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006876/1.921, allocations: 3.207 MB / 1.402 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.921, allocations: 4 kB / 1.402 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004228/1.925, allocations: 2.063 MB / 1.404 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/1.929, allocations: 0.5045 MB / 1.405 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.943, allocations: 5.22 MB / 1.41 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004399/1.947, allocations: 2.808 MB / 1.412 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.423e-06/1.947, allocations: 0 / 1.412 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.07531/2.023, allocations: 30.08 MB / 1.442 GB, free: 94.27 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)