Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.336/1.336, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.0008998/0.0008998, allocations: 179.8 kB / 366.3 MB, free: 1.953 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.022/1.022, allocations: 205.2 MB / 0.6256 GB, free: 5.797 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.0007564/0.0007564, allocations: 86.66 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.601e-06/5.61e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4318, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.5898, allocations: 164.6 MB / 1.133 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5901, allocations: 92.75 kB / 1.133 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.08115/0.6713, allocations: 36.76 MB / 1.169 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.973e-05/0.6714, allocations: 20 kB / 1.169 GB, free: 10.63 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001218/0.6726, allocations: 0.8761 MB / 1.17 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6726, allocations: 8.031 kB / 1.17 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.6741, allocations: 226.7 kB / 1.17 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008567/0.675, allocations: 0.5444 MB / 1.171 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.675, allocations: 20 kB / 1.171 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.439e-05/0.6751, allocations: 39.91 kB / 1.171 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008006/0.6759, allocations: 0.5694 MB / 1.171 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.6771, allocations: 0.9984 MB / 1.172 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.6771, allocations: 7.922 kB / 1.172 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.6772, allocations: 4 kB / 1.172 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.969e-05/0.6773, allocations: 65.22 kB / 1.173 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004226/0.6815, allocations: 5.668 MB / 1.178 GB, free: 0.9531 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.682, allocations: 398.4 kB / 1.178 GB, free: 0.5547 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.6823, allocations: 304.7 kB / 1.179 GB, free: 260 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.6824, allocations: 8 kB / 1.179 GB, free: 252 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.6824, allocations: 39.25 kB / 1.179 GB, free: 204 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 1.843e-06/0.6824, allocations: 0 / 1.179 GB, free: 204 kB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.001922/0.6843, allocations: 1.127 MB / 1.18 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.6843, allocations: 59.34 kB / 1.18 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.6847, allocations: 333.2 kB / 1.18 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.6847, allocations: 25.7 kB / 1.18 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.6848, allocations: 331 kB / 1.181 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.827e-05/0.685, allocations: 145.9 kB / 1.181 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.685, allocations: 0 / 1.181 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6851, allocations: 366.7 kB / 1.181 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.6854, allocations: 221.2 kB / 1.181 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.6858, allocations: 409.2 kB / 1.182 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.6862, allocations: 296.4 kB / 1.182 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6862, allocations: 7.984 kB / 1.182 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001508/0.6877, allocations: 0.9056 MB / 1.183 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6877, allocations: 8 kB / 1.183 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6877, allocations: 8.688 kB / 1.183 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008739/0.6886, allocations: 275.2 kB / 1.183 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.6889, allocations: 95.83 kB / 1.183 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/0.6942, allocations: 6.211 MB / 1.189 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.6945, allocations: 19.98 kB / 1.189 GB, free: 4.773 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.6946, allocations: 20 kB / 1.189 GB, free: 4.754 MB / 0.7917 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.6947, allocations: 123.2 kB / 1.189 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.6948, allocations: 55.34 kB / 1.19 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.6962, allocations: 0.8258 MB / 1.19 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.6962, allocations: 4 kB / 1.19 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6963, allocations: 8 kB / 1.19 GB, free: 3.719 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.6963, allocations: 3.984 kB / 1.19 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.6986, allocations: 1.518 MB / 1.192 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6986, allocations: 4 kB / 1.192 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.6988, allocations: 47.91 kB / 1.192 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008158/0.6996, allocations: 267.4 kB / 1.192 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.6996, allocations: 8 kB / 1.192 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/0.7049, allocations: 6.196 MB / 1.198 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.705, allocations: 11.97 kB / 1.198 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001443/0.7064, allocations: 0.9781 MB / 1.199 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.7066, allocations: 168.4 kB / 1.199 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.7067, allocations: 4 kB / 1.199 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.7069, allocations: 11.98 kB / 1.199 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.707, allocations: 23.97 kB / 1.199 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.707, allocations: 12 kB / 1.199 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.000219/0.7073, allocations: 255 kB / 1.2 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006368/0.7079, allocations: 167.9 kB / 1.2 GB, free: 9.414 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.708, allocations: 107.1 kB / 1.2 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.7095, allocations: 1.075 MB / 1.201 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7096, allocations: 7.938 kB / 1.201 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.7106, allocations: 0.7607 MB / 1.202 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/0.7113, allocations: 154.5 kB / 1.202 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.7128, allocations: 0.9042 MB / 1.203 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/0.7134, allocations: 1.032 MB / 1.204 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of SimCode: time 2.61e-07/0.7134, allocations: 0 / 1.204 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of Templates: time 0.01324/0.7267, allocations: 8.713 MB / 1.212 GB, free: 12.58 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)