Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.322/1.322, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.000924/0.000924, allocations: 181.2 kB / 361.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9932/0.9932, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0006787/0.0006788, allocations: 84.39 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.57e-06/5.59e-06, allocations: 0 / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3884, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.5729, allocations: 208.8 MB / 1.168 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5732, allocations: 93.02 kB / 1.168 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 0.1932/0.7663, allocations: 84.95 MB / 1.251 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001052/0.7665, allocations: 51.86 kB / 1.251 GB, free: 5.512 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003076/0.7695, allocations: 1.634 MB / 1.252 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.7696, allocations: 8.531 kB / 1.252 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.7805, allocations: 1.601 MB / 1.254 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004577/0.7851, allocations: 2.105 MB / 1.256 GB, free: 48 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.7852, allocations: 39.94 kB / 1.256 GB, free: 8 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2097/0.9949, allocations: 70.89 kB / 1.256 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002715/0.9976, allocations: 1.712 MB / 1.258 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/1, allocations: 2.095 MB / 1.26 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/1, allocations: 10.62 kB / 1.26 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/1.001, allocations: 6.969 kB / 1.26 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/1.001, allocations: 91.81 kB / 1.26 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/1.013, allocations: 10.33 MB / 1.27 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/1.014, allocations: 1.429 MB / 1.271 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008702/1.015, allocations: 0.9016 MB / 1.272 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/1.015, allocations: 8.375 kB / 1.272 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/1.015, allocations: 49.3 kB / 1.272 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 2.635e-06/1.015, allocations: 0 / 1.272 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.0148/1.03, allocations: 6.982 MB / 1.279 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/1.03, allocations: 230 kB / 1.279 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007715/1.031, allocations: 0.8046 MB / 1.28 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/1.031, allocations: 25.7 kB / 1.28 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/1.031, allocations: 0.5327 MB / 1.281 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/1.032, allocations: 0.4939 MB / 1.281 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.032, allocations: 2.969 kB / 1.281 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.748e-05/1.032, allocations: 365.4 kB / 1.281 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.033, allocations: 1.134 MB / 1.283 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/1.034, allocations: 1.406 MB / 1.284 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/1.036, allocations: 1.305 MB / 1.285 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/1.036, allocations: 0 / 1.285 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009271/1.045, allocations: 4.518 MB / 1.29 GB, free: 273 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/1.045, allocations: 8.906 kB / 1.29 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.045, allocations: 3.938 kB / 1.29 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00808/1.053, allocations: 2.085 MB / 1.292 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.055, allocations: 335.1 kB / 1.292 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/1.076, allocations: 20.91 MB / 1.312 GB, free: 263 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/1.078, allocations: 210.6 kB / 1.313 GB, free: 263 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/1.079, allocations: 69.09 kB / 1.313 GB, free: 263 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.0003096/1.079, allocations: 129.6 kB / 1.313 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/1.079, allocations: 163.5 kB / 1.313 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009623/1.089, allocations: 4.644 MB / 1.317 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.089, allocations: 12.56 kB / 1.317 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.089, allocations: 21.75 kB / 1.318 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.089, allocations: 7.266 kB / 1.318 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.101, allocations: 6.65 MB / 1.324 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/1.101, allocations: 3.094 kB / 1.324 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.102, allocations: 279.1 kB / 1.324 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007313/1.11, allocations: 1.936 MB / 1.326 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/1.11, allocations: 19.45 kB / 1.326 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/1.131, allocations: 20 MB / 1.346 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.131, allocations: 6.188 kB / 1.346 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008924/1.14, allocations: 4.346 MB / 1.35 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008225/1.141, allocations: 0.4923 MB / 1.35 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/1.141, allocations: 7.547 kB / 1.35 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.143, allocations: 206.5 kB / 1.351 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.143, allocations: 86.41 kB / 1.351 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.143, allocations: 53.8 kB / 1.351 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007386/1.144, allocations: 0.6114 MB / 1.351 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001896/1.146, allocations: 0.5846 MB / 1.352 GB, free: 242.2 MB / 0.8542 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.0003923/1.146, allocations: 186.6 kB / 1.352 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006482/1.153, allocations: 4.043 MB / 1.356 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.153, allocations: 1.531 kB / 1.356 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004408/1.157, allocations: 2.632 MB / 1.359 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.159, allocations: 427.2 kB / 1.359 GB, free: 238.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/1.165, allocations: 3.242 MB / 1.362 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/1.167, allocations: 1.628 MB / 1.364 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.8e-07/1.167, allocations: 0 / 1.364 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.05316/1.22, allocations: 44.97 MB / 1.408 GB, free: 223.5 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)