Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [: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.369/1.369, allocations: 289.8 MB / 297.1 MB, free: 9.062 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.0009418/0.0009417, allocations: 177.3 kB / 366.3 MB, free: 11.33 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.081/1.081, allocations: 205.1 MB / 0.6256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007938/0.000794, allocations: 93.28 kB / 0.7396 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.39e-06/5.41e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1426, allocations: 116.3 MB / 0.9726 GB, free: 31.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.5958, allocations: 209.8 MB / 1.177 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.5961, allocations: 94.56 kB / 1.178 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.1853/0.7814, allocations: 84.93 MB / 1.26 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001058/0.7815, allocations: 51.92 kB / 1.26 GB, free: 14.12 MB / 0.7917 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.003287/0.7848, allocations: 1.638 MB / 1.262 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.7848, allocations: 12.03 kB / 1.262 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.7958, allocations: 1.609 MB / 1.264 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004814/0.8006, allocations: 2.09 MB / 1.266 GB, free: 8.664 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.8007, allocations: 43.94 kB / 1.266 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.8009, allocations: 72 kB / 1.266 GB, free: 8.551 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002698/0.8036, allocations: 1.711 MB / 1.268 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/0.8066, allocations: 2.092 MB / 1.27 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.8066, allocations: 15.92 kB / 1.27 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.8068, allocations: 7.984 kB / 1.27 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.11e-05/0.8069, allocations: 90.28 kB / 1.27 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.8205, allocations: 10.34 MB / 1.28 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.8226, allocations: 1.443 MB / 1.281 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.8237, allocations: 0.894 MB / 1.282 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/0.8238, allocations: 12.78 kB / 1.282 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.8239, allocations: 47.28 kB / 1.282 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 2.374e-06/0.8239, allocations: 4 kB / 1.282 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.01657/0.8404, allocations: 6.979 MB / 1.289 GB, free: 80 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.8406, allocations: 230.9 kB / 1.289 GB, free: 15.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.8417, allocations: 0.8053 MB / 1.29 GB, free: 14.99 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.8419, allocations: 25.7 kB / 1.29 GB, free: 14.96 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.8422, allocations: 0.5277 MB / 1.29 GB, free: 14.42 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/0.8427, allocations: 0.4925 MB / 1.291 GB, free: 13.92 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.8428, allocations: 0 / 1.291 GB, free: 13.92 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.843, allocations: 365.9 kB / 1.291 GB, free: 13.56 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.8444, allocations: 1.136 MB / 1.292 GB, free: 12.42 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.8461, allocations: 1.411 MB / 1.294 GB, free: 10.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.8479, allocations: 1.307 MB / 1.295 GB, free: 9.602 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8479, allocations: 0 / 1.295 GB, free: 9.602 MB / 0.823 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01019/0.8581, allocations: 4.511 MB / 1.299 GB, free: 5.051 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.8581, allocations: 4 kB / 1.299 GB, free: 5.047 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.8581, allocations: 8 kB / 1.299 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008389/0.8665, allocations: 2.093 MB / 1.302 GB, free: 2.922 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.8684, allocations: 347.6 kB / 1.302 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02522/0.8936, allocations: 20.89 MB / 1.322 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.8961, allocations: 211.7 kB / 1.322 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.8963, allocations: 67.97 kB / 1.323 GB, free: 12.5 MB / 0.8542 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003205/0.8966, allocations: 124.8 kB / 1.323 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.897, allocations: 158.3 kB / 1.323 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.9076, allocations: 4.649 MB / 1.327 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.9076, allocations: 16.08 kB / 1.327 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.9077, allocations: 23.94 kB / 1.327 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.9077, allocations: 7.969 kB / 1.327 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.9208, allocations: 6.647 MB / 1.334 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9208, allocations: 4.062 kB / 1.334 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.9224, allocations: 283.5 kB / 1.334 GB, free: 452 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007677/0.9301, allocations: 1.933 MB / 1.336 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.9303, allocations: 19.95 kB / 1.336 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02366/0.9539, allocations: 20 MB / 1.356 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.954, allocations: 8.031 kB / 1.356 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009274/0.9632, allocations: 4.355 MB / 1.36 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000849/0.9641, allocations: 0.4911 MB / 1.36 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/0.9644, allocations: 4 kB / 1.36 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/0.9664, allocations: 215.6 kB / 1.361 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.9666, allocations: 77.2 kB / 1.361 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.9668, allocations: 55.97 kB / 1.361 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0007372/0.9675, allocations: 0.6057 MB / 1.361 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0018/0.9693, allocations: 0.5937 MB / 1.362 GB, free: 3 MB / 0.8855 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000374/0.9697, allocations: 173.5 kB / 1.362 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006627/0.9763, allocations: 4.047 MB / 1.366 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.9763, allocations: 4.125 kB / 1.366 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004599/0.981, allocations: 2.635 MB / 1.369 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.9825, allocations: 428.4 kB / 1.369 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/0.9888, allocations: 3.233 MB / 1.372 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/0.9903, allocations: 1.627 MB / 1.374 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of SimCode: time 1.543e-06/0.9903, allocations: 0 / 1.374 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of Templates: time 0.05821/1.049, allocations: 44.98 MB / 1.418 GB, free: 9.914 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)