Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 64.42 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3567, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01731/0.3741, allocations: 14.8 MB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01875/0.3929, allocations: 10.35 MB / 1.093 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/0.3954, allocations: 55.69 kB / 1.093 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0047/0.4002, allocations: 1.692 MB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00666/0.4069, allocations: 1.81 MB / 1.096 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.4093, allocations: 0.7598 MB / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004313/0.4137, allocations: 2.735 MB / 1.1 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.4156, allocations: 1.419 MB / 1.101 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.4183, allocations: 1.508 MB / 1.102 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.4203, allocations: 1.156 MB / 1.104 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.4205, allocations: 164 kB / 1.104 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.4222, allocations: 0.7877 MB / 1.105 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.4228, allocations: 0.6076 MB / 1.105 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.4239, allocations: 0.9523 MB / 1.106 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.4276, allocations: 2.73 MB / 1.109 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4276, allocations: 0 / 1.109 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.926e-06/0.4276, allocations: 0 / 1.109 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.691e-05/0.4276, allocations: 0 / 1.109 GB, free: 0.7539 MB / 0.8575 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.004001/0.4316, allocations: 2.166 MB / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4317, allocations: 12.03 kB / 1.111 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.443, allocations: 2.108 MB / 1.113 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.4462, allocations: 1.221 MB / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.4464, allocations: 82.69 kB / 1.114 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006112/0.447, allocations: 124.1 kB / 1.114 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007688/0.4547, allocations: 2.674 MB / 1.117 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.4548, allocations: 11.84 kB / 1.117 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/0.4552, allocations: 51.97 kB / 1.117 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007738/0.456, allocations: 194.1 kB / 1.117 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00816/0.4641, allocations: 2.791 MB / 1.12 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.4808, allocations: 10.51 MB / 1.13 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006835/0.4877, allocations: 2.336 MB / 1.132 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003216/0.491, allocations: 1.276 MB / 1.134 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-05/0.4911, allocations: 16.92 kB / 1.134 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4911, allocations: 43.56 kB / 1.134 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.755e-06/0.4912, allocations: 0 / 1.134 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=153): time 0.06061/0.5518, allocations: 16.47 MB / 1.15 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.5519, allocations: 76.7 kB / 1.15 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.5539, allocations: 1.18 MB / 1.151 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.5542, allocations: 53.64 kB / 1.151 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/0.5547, allocations: 0.7398 MB / 1.152 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/0.5554, allocations: 0.512 MB / 1.152 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006272/0.556, allocations: 287.4 kB / 1.153 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5562, allocations: 309.1 kB / 1.153 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.5598, allocations: 1.51 MB / 1.154 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003765/0.5635, allocations: 1.78 MB / 1.156 GB, free: 15.03 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/0.5709, allocations: 3.369 MB / 1.159 GB, free: 11.56 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.5709, allocations: 0 / 1.159 GB, free: 11.56 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01342/0.5843, allocations: 5.281 MB / 1.165 GB, free: 6.242 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.5844, allocations: 9.406 kB / 1.165 GB, free: 6.234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.5844, allocations: 4 kB / 1.165 GB, free: 6.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006764/0.5912, allocations: 1.898 MB / 1.166 GB, free: 4.309 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.5933, allocations: 415.2 kB / 1.167 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03081/0.6241, allocations: 24.15 MB / 1.19 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/0.6275, allocations: 307.6 kB / 1.191 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004739/0.628, allocations: 67.91 kB / 1.191 GB, free: 10.27 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001731/0.6298, allocations: 470.7 kB / 1.191 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007714/0.6306, allocations: 173.9 kB / 1.191 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/0.6446, allocations: 5.316 MB / 1.197 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.6447, allocations: 19.94 kB / 1.197 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.867e-05/0.6448, allocations: 20 kB / 1.197 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.6448, allocations: 11.97 kB / 1.197 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.6619, allocations: 7.433 MB / 1.204 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.662, allocations: 4 kB / 1.204 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.6636, allocations: 355.7 kB / 1.204 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005787/0.6694, allocations: 1.709 MB / 1.206 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.6696, allocations: 47.95 kB / 1.206 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02909/0.6987, allocations: 23.32 MB / 1.229 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.6988, allocations: 4 kB / 1.229 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.7115, allocations: 4.882 MB / 1.233 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.7129, allocations: 0.4909 MB / 1.234 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.7132, allocations: 28 kB / 1.234 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/0.7154, allocations: 315.9 kB / 1.234 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006482/0.716, allocations: 153.1 kB / 1.234 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.7162, allocations: 55.95 kB / 1.234 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001155/0.7173, allocations: 0.7899 MB / 1.235 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.963e-06/0.7173, allocations: 0 / 1.235 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002536/0.7199, allocations: 0.6639 MB / 1.236 GB, free: 10.61 MB / 0.9981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003582/0.7202, allocations: 149.8 kB / 1.236 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01225/0.7325, allocations: 5.425 MB / 1.241 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/0.7325, allocations: 4.125 kB / 1.241 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007292/0.7398, allocations: 3.355 MB / 1.245 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/0.7434, allocations: 0.5552 MB / 1.245 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5963/1.34, allocations: 4.316 MB / 1.249 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/1.341, allocations: 1.569 MB / 1.251 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001873/1.343, allocations: 380.3 kB / 1.251 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/1.344, allocations: 108.3 kB / 1.251 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.353e-06/1.344, allocations: 0 / 1.251 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.08962/1.433, allocations: 44.86 MB / 1.295 GB, free: 152.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)