Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.342/1.342, allocations: 289.8 MB / 297.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 177.3 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.02/1.02, allocations: 205.2 MB / 0.6256 GB, free: 5.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007807/0.0007807, allocations: 98.05 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.821e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3966, allocations: 116.3 MB / 0.9726 GB, free: 68.49 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.5783, allocations: 207.2 MB / 1.175 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5785, allocations: 95.88 kB / 1.175 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of FrontEnd: time 0.4435/1.022, allocations: 83.47 MB / 1.257 GB, free: 171 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001009/1.022, allocations: 41.97 kB / 1.257 GB, free: 171 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002658/1.025, allocations: 1.596 MB / 1.258 GB, free: 170.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/1.025, allocations: 7.781 kB / 1.258 GB, free: 170.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009836/1.035, allocations: 1.521 MB / 1.26 GB, free: 170 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/1.037, allocations: 1.23 MB / 1.261 GB, free: 169.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/1.037, allocations: 38.06 kB / 1.261 GB, free: 169.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/1.038, allocations: 75.42 kB / 1.261 GB, free: 169.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00329/1.041, allocations: 1.758 MB / 1.263 GB, free: 169.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/1.044, allocations: 2.102 MB / 1.265 GB, free: 169.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/1.044, allocations: 11.28 kB / 1.265 GB, free: 169 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/1.044, allocations: 9 kB / 1.265 GB, free: 169 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.264e-05/1.044, allocations: 88.78 kB / 1.265 GB, free: 169 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/1.057, allocations: 10.34 MB / 1.275 GB, free: 163.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/1.059, allocations: 1.646 MB / 1.277 GB, free: 163.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009111/1.06, allocations: 0.9182 MB / 1.277 GB, free: 163.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.656e-05/1.06, allocations: 8.406 kB / 1.277 GB, free: 163.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/1.06, allocations: 50.41 kB / 1.277 GB, free: 163.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=89): time 2.335e-06/1.06, allocations: 0 / 1.277 GB, free: 163.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=131): time 0.0122/1.072, allocations: 5.808 MB / 1.283 GB, free: 162.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/1.072, allocations: 221.7 kB / 1.283 GB, free: 162.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/1.073, allocations: 0.7592 MB / 1.284 GB, free: 162.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.073, allocations: 27.98 kB / 1.284 GB, free: 162.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/1.073, allocations: 0.5189 MB / 1.285 GB, free: 161.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/1.074, allocations: 447.9 kB / 1.285 GB, free: 161.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/1.074, allocations: 0 / 1.285 GB, free: 161.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/1.074, allocations: 357.4 kB / 1.285 GB, free: 161.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/1.075, allocations: 0.9665 MB / 1.286 GB, free: 160.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/1.076, allocations: 1.224 MB / 1.288 GB, free: 159.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/1.077, allocations: 1.117 MB / 1.289 GB, free: 159.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.077, allocations: 0 / 1.289 GB, free: 159.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007276/1.085, allocations: 3.676 MB / 1.292 GB, free: 157 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.085, allocations: 8 kB / 1.292 GB, free: 156.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.085, allocations: 4 kB / 1.292 GB, free: 156.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005864/1.091, allocations: 1.574 MB / 1.294 GB, free: 155.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/1.093, allocations: 363 kB / 1.294 GB, free: 155.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/1.11, allocations: 23.32 MB / 1.317 GB, free: 133.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/1.112, allocations: 207.7 kB / 1.317 GB, free: 133.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.112, allocations: 61.47 kB / 1.317 GB, free: 133.3 MB / 0.823 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002612/1.112, allocations: 128.7 kB / 1.317 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/1.113, allocations: 150.2 kB / 1.317 GB, free: 133 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0073/1.12, allocations: 3.796 MB / 1.321 GB, free: 130.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.12, allocations: 12 kB / 1.321 GB, free: 130.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/1.12, allocations: 12 kB / 1.321 GB, free: 130.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/1.12, allocations: 3.984 kB / 1.321 GB, free: 130.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009846/1.13, allocations: 6.026 MB / 1.327 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.13, allocations: 0 / 1.327 GB, free: 125.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.131, allocations: 311.1 kB / 1.327 GB, free: 125.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005373/1.137, allocations: 1.463 MB / 1.329 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.137, allocations: 23.59 kB / 1.329 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/1.153, allocations: 22.36 MB / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.153, allocations: 7.906 kB / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006384/1.16, allocations: 3.658 MB / 1.354 GB, free: 99.22 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006586/1.161, allocations: 451.2 kB / 1.355 GB, free: 98.76 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/1.161, allocations: 11.98 kB / 1.355 GB, free: 98.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.163, allocations: 203.7 kB / 1.355 GB, free: 98.55 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.163, allocations: 77.31 kB / 1.355 GB, free: 98.47 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.163, allocations: 55.95 kB / 1.355 GB, free: 98.42 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005394/1.163, allocations: 0.5684 MB / 1.356 GB, free: 97.84 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001491/1.165, allocations: 0.5156 MB / 1.356 GB, free: 97.33 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002518/1.165, allocations: 137.1 kB / 1.356 GB, free: 97.19 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005069/1.17, allocations: 4.057 MB / 1.36 GB, free: 93.01 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.17, allocations: 0 / 1.36 GB, free: 93.01 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003623/1.174, allocations: 2.842 MB / 1.363 GB, free: 90.04 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.175, allocations: 417.9 kB / 1.363 GB, free: 89.64 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/1.181, allocations: 2.928 MB / 1.366 GB, free: 86.64 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.182, allocations: 1.557 MB / 1.368 GB, free: 85.06 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.182, allocations: 0 / 1.368 GB, free: 85.06 MB / 0.823 GB Notification: Performance of Templates: time 0.0433/1.225, allocations: 39.01 MB / 1.406 GB, free: 46.46 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)