Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 190.8 kB / 16.25 MB, free: 6.617 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 66.86 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3522, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01584/0.3681, allocations: 11.82 MB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.3784, allocations: 5.439 MB / 1.085 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.3798, allocations: 31.88 kB / 1.085 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.3833, allocations: 0.9768 MB / 1.086 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.3854, allocations: 0.5912 MB / 1.086 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.3881, allocations: 0.8533 MB / 1.087 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00318/0.3913, allocations: 2.47 MB / 1.089 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006402/0.3977, allocations: 4.177 MB / 1.093 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.4, allocations: 1.106 MB / 1.095 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.4023, allocations: 1.274 MB / 1.096 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007646/0.4031, allocations: 232 kB / 1.096 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.4047, allocations: 0.5267 MB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.4061, allocations: 0.8967 MB / 1.097 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.4086, allocations: 0.9883 MB / 1.098 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005192/0.4139, allocations: 3.572 MB / 1.102 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4139, allocations: 0 / 1.102 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4139, allocations: 0 / 1.102 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001077/0.414, allocations: 0 / 1.102 GB, free: 7.648 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005154/0.4192, allocations: 1.94 MB / 1.104 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4192, allocations: 8.031 kB / 1.104 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.4219, allocations: 498.4 kB / 1.104 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.4241, allocations: 1.101 MB / 1.105 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.511e-05/0.4242, allocations: 115.5 kB / 1.105 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.4245, allocations: 156.1 kB / 1.106 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004808/0.4293, allocations: 2.754 MB / 1.108 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.4294, allocations: 4 kB / 1.108 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.4296, allocations: 63.94 kB / 1.108 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002987/0.4299, allocations: 147 kB / 1.108 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/0.4337, allocations: 2.307 MB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.4467, allocations: 10.47 MB / 1.121 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.4481, allocations: 0.6106 MB / 1.122 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000673/0.4488, allocations: 404.5 kB / 1.122 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.449, allocations: 93.08 kB / 1.122 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.449, allocations: 38.5 kB / 1.122 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 3.267e-06/0.449, allocations: 0 / 1.122 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.02203/0.4711, allocations: 5.834 MB / 1.128 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.4712, allocations: 59.84 kB / 1.128 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.4725, allocations: 0.8788 MB / 1.129 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.4726, allocations: 33.7 kB / 1.129 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/0.4732, allocations: 0.7655 MB / 1.129 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.4734, allocations: 181.4 kB / 1.13 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.4737, allocations: 198.4 kB / 1.13 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4739, allocations: 390.8 kB / 1.13 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.4751, allocations: 0.6527 MB / 1.131 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.4765, allocations: 1.006 MB / 1.132 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.4789, allocations: 1.678 MB / 1.133 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.4789, allocations: 0 / 1.133 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009065/0.488, allocations: 3.127 MB / 1.136 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.4881, allocations: 8 kB / 1.136 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.4881, allocations: 12.38 kB / 1.136 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007153/0.4953, allocations: 1.653 MB / 1.138 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.4963, allocations: 231.6 kB / 1.138 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/0.5111, allocations: 10.57 MB / 1.149 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.5128, allocations: 163.6 kB / 1.149 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.513, allocations: 48.05 kB / 1.149 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002522/0.5156, allocations: 1.317 MB / 1.15 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001433/0.517, allocations: 0.9787 MB / 1.151 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002564/0.5196, allocations: 1.623 MB / 1.153 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.319e-05/0.5196, allocations: 4 kB / 1.153 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007446/0.5271, allocations: 2.662 MB / 1.155 GB, free: 14.42 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.5272, allocations: 8 kB / 1.155 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.5272, allocations: 12.38 kB / 1.155 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004836/0.532, allocations: 1.07 MB / 1.156 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.5332, allocations: 251.5 kB / 1.157 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007932/0.5412, allocations: 5.756 MB / 1.162 GB, free: 7.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.5428, allocations: 147.8 kB / 1.162 GB, free: 6.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.5431, allocations: 51.98 kB / 1.162 GB, free: 6.852 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004595/0.5435, allocations: 244 kB / 1.163 GB, free: 6.605 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.5438, allocations: 83.06 kB / 1.163 GB, free: 6.523 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00824/0.5521, allocations: 2.571 MB / 1.165 GB, free: 3.926 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.5521, allocations: 4 kB / 1.165 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5521, allocations: 0 / 1.165 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.5522, allocations: 7.984 kB / 1.165 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.5634, allocations: 4.448 MB / 1.17 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.5635, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.5639, allocations: 91.86 kB / 1.17 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006502/0.5704, allocations: 1.498 MB / 1.171 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.5705, allocations: 19.94 kB / 1.171 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/0.5836, allocations: 10.14 MB / 1.181 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5837, allocations: 4.031 kB / 1.181 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00745/0.5911, allocations: 2.5 MB / 1.183 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006677/0.5918, allocations: 264.1 kB / 1.184 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.5921, allocations: 15.98 kB / 1.184 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/0.5931, allocations: 119.8 kB / 1.184 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/0.5934, allocations: 52.2 kB / 1.184 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.5935, allocations: 20 kB / 1.184 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001178/0.5947, allocations: 0.6434 MB / 1.185 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5947, allocations: 0 / 1.185 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002818/0.5975, allocations: 0.5938 MB / 1.185 GB, free: 14.74 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002747/0.5978, allocations: 123.2 kB / 1.185 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006013/0.6038, allocations: 3.254 MB / 1.188 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/0.6039, allocations: 0.75 kB / 1.188 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.6058, allocations: 1.186 MB / 1.19 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.6072, allocations: 242.1 kB / 1.19 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.6138, allocations: 3.663 MB / 1.193 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.6156, allocations: 1.622 MB / 1.195 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001599/0.6172, allocations: 498.2 kB / 1.195 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.6174, allocations: 63.42 kB / 1.196 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of SimCode: time 1.012e-06/0.6174, allocations: 0 / 1.196 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of Templates: time 0.04277/0.6602, allocations: 24.84 MB / 1.22 GB, free: 11.17 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)