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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 285.4 MB / 298 MB, free: 5.988 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.0009921/0.0009923, allocations: 176.9 kB / 366.4 MB, free: 2.113 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.709/1.709, allocations: 205.1 MB / 0.6248 GB, free: 7.766 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.0008304/0.0008299, allocations: 90.11 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.273e-05, allocations: 8 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/0.7227, allocations: 115.3 MB / 0.9709 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/0.9656, allocations: 209.5 MB / 1.176 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.966, allocations: 97.86 kB / 1.176 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2085/1.175, allocations: 85.31 MB / 1.259 GB, free: 144 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/1.175, allocations: 0 / 1.259 GB, free: 144 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000148/1.175, allocations: 43.92 kB / 1.259 GB, free: 100 kB / 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.5641/1.739, allocations: 1.608 MB / 1.261 GB, free: 209 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.131e-05/1.739, allocations: 9.656 kB / 1.261 GB, free: 209 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/1.758, allocations: 1.955 MB / 1.262 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008326/1.767, allocations: 2.072 MB / 1.264 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/1.767, allocations: 92.31 kB / 1.265 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006477/1.768, allocations: 113.3 kB / 1.265 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006893/1.775, allocations: 2.225 MB / 1.267 GB, free: 208 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.878e-05/1.775, allocations: 12.12 kB / 1.267 GB, free: 208 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004129/1.775, allocations: 55.2 kB / 1.267 GB, free: 208 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000318/1.776, allocations: 91.97 kB / 1.267 GB, free: 208 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00545/1.781, allocations: 1.854 MB / 1.269 GB, free: 208 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/1.806, allocations: 10.72 MB / 1.279 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004124/1.81, allocations: 1.502 MB / 1.281 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/1.812, allocations: 0.8982 MB / 1.282 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/1.812, allocations: 13.59 kB / 1.282 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/1.812, allocations: 47.84 kB / 1.282 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 5.269e-06/1.812, allocations: 3.031 kB / 1.282 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.08371/1.896, allocations: 13.68 MB / 1.295 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/1.896, allocations: 228.6 kB / 1.295 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/1.9, allocations: 0.9998 MB / 1.296 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005892/1.901, allocations: 53.27 kB / 1.296 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007763/1.902, allocations: 0.7368 MB / 1.297 GB, free: 201 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009336/1.903, allocations: 0.5199 MB / 1.298 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/1.903, allocations: 31.62 kB / 1.298 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.903, allocations: 361.9 kB / 1.298 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/1.906, allocations: 1.125 MB / 1.299 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002911/1.909, allocations: 1.408 MB / 1.3 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/1.912, allocations: 1.251 MB / 1.302 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.912, allocations: 2.406 kB / 1.302 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01713/1.929, allocations: 4.58 MB / 1.306 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/1.929, allocations: 8.156 kB / 1.306 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/1.929, allocations: 5.656 kB / 1.306 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/1.943, allocations: 2.121 MB / 1.308 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/1.946, allocations: 427.7 kB / 1.309 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03932/1.985, allocations: 22.49 MB / 1.331 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/1.99, allocations: 326.7 kB / 1.331 GB, free: 182 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003533/1.99, allocations: 67.58 kB / 1.331 GB, free: 182 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.0004156/1.99, allocations: 187.9 kB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/1.991, allocations: 178 kB / 1.331 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009975/2.001, allocations: 4.644 MB / 1.336 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/2.001, allocations: 15.09 kB / 1.336 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/2.001, allocations: 17.06 kB / 1.336 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/2.001, allocations: 8.344 kB / 1.336 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/2.015, allocations: 6.876 MB / 1.343 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/2.015, allocations: 3.719 kB / 1.343 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/2.016, allocations: 363.6 kB / 1.343 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007237/2.024, allocations: 1.975 MB / 1.345 GB, free: 177 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/2.024, allocations: 48.56 kB / 1.345 GB, free: 177 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02163/2.045, allocations: 21.68 MB / 1.366 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/2.046, allocations: 6 kB / 1.366 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00848/2.054, allocations: 4.419 MB / 1.37 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/2.055, allocations: 0.5105 MB / 1.371 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/2.055, allocations: 31.25 kB / 1.371 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/2.058, allocations: 335.1 kB / 1.371 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/2.058, allocations: 142 kB / 1.371 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/2.058, allocations: 60.75 kB / 1.371 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009745/2.059, allocations: 0.7796 MB / 1.372 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.3e-07/2.059, allocations: 4 kB / 1.372 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002477/2.062, allocations: 0.7257 MB / 1.373 GB, free: 159.1 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.0005369/2.062, allocations: 210 kB / 1.373 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006409/2.069, allocations: 4.341 MB / 1.377 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/2.069, allocations: 5.5 kB / 1.377 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004235/2.073, allocations: 2.955 MB / 1.38 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/2.075, allocations: 0.5039 MB / 1.381 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/2.08, allocations: 3.167 MB / 1.384 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008916/2.081, allocations: 1.607 MB / 1.385 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001529/2.082, allocations: 395.5 kB / 1.386 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/2.083, allocations: 122.3 kB / 1.386 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/2.083, allocations: 0 / 1.386 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.05939/2.142, allocations: 44.3 MB / 1.429 GB, free: 111 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)