Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.773/1.773, allocations: 287.5 MB / 302.6 MB, free: 8.266 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.001156/0.001156, allocations: 175 kB / 371.2 MB, free: 10.81 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.779/1.779, allocations: 205.4 MB / 0.6299 GB, free: 10.53 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.0008358/0.0008358, allocations: 92.89 kB / 0.7432 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006169/0.0006171, allocations: 11.03 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.213, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02279/0.2359, allocations: 27.88 MB / 1.006 GB, free: 212 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02113/0.2571, allocations: 12.81 MB / 1.018 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.2607, allocations: 127.2 kB / 1.019 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.2642, allocations: 0.6239 MB / 1.019 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009924/0.2742, allocations: 2.206 MB / 1.021 GB, free: 408 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005852/0.2801, allocations: 1.193 MB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01301/0.2932, allocations: 8.436 MB / 1.031 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01785/0.3111, allocations: 10.02 MB / 1.041 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006184/0.3173, allocations: 2.557 MB / 1.043 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005902/0.3232, allocations: 2.842 MB / 1.046 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001671/0.3249, allocations: 248 kB / 1.046 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.329, allocations: 0.7023 MB / 1.047 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005639/0.3347, allocations: 1.897 MB / 1.049 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003191/0.3379, allocations: 0.968 MB / 1.049 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009855/0.3478, allocations: 7.734 MB / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3478, allocations: 3.938 kB / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3478, allocations: 4 kB / 1.057 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003686/0.3482, allocations: 0 / 1.057 GB, free: 11.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01124/0.3595, allocations: 4.146 MB / 1.061 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3595, allocations: 8.031 kB / 1.061 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006369/0.3659, allocations: 1.002 MB / 1.062 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007236/0.3732, allocations: 2.896 MB / 1.065 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.3736, allocations: 316.9 kB / 1.065 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.3753, allocations: 420 kB / 1.066 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4379/0.8132, allocations: 6.754 MB / 1.072 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/0.8135, allocations: 16.56 kB / 1.072 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/0.8148, allocations: 184.1 kB / 1.072 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001147/0.816, allocations: 370.6 kB / 1.073 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.8283, allocations: 5.085 MB / 1.078 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03801/0.8664, allocations: 30.77 MB / 1.108 GB, free: 52.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.8687, allocations: 1.389 MB / 1.109 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.8706, allocations: 1.334 MB / 1.11 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.8707, allocations: 14.23 kB / 1.11 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.8708, allocations: 49.31 kB / 1.11 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 3.767e-06/0.8708, allocations: 0 / 1.11 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.08449/0.9553, allocations: 22.78 MB / 1.133 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.9554, allocations: 72.28 kB / 1.133 GB, free: 41.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/0.9586, allocations: 2.05 MB / 1.135 GB, free: 40.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.9589, allocations: 57.58 kB / 1.135 GB, free: 40.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008908/0.9598, allocations: 2.012 MB / 1.137 GB, free: 38.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/0.9603, allocations: 0.6731 MB / 1.137 GB, free: 37.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.9605, allocations: 48.5 kB / 1.138 GB, free: 37.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.9606, allocations: 399.3 kB / 1.138 GB, free: 37.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.9625, allocations: 1.419 MB / 1.139 GB, free: 36.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.9645, allocations: 2.002 MB / 1.141 GB, free: 34.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/0.9682, allocations: 3.688 MB / 1.145 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.9683, allocations: 4 kB / 1.145 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009346/0.9776, allocations: 5.631 MB / 1.15 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.9777, allocations: 13.72 kB / 1.15 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.9777, allocations: 19.98 kB / 1.15 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006007/0.9837, allocations: 2.081 MB / 1.152 GB, free: 22.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.9851, allocations: 384 kB / 1.153 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03307/1.018, allocations: 35.51 MB / 1.187 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/1.021, allocations: 131.8 kB / 1.188 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004365/1.021, allocations: 91.94 kB / 1.188 GB, free: 104 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003106/1.025, allocations: 1.509 MB / 1.189 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007719/1.025, allocations: 280.6 kB / 1.189 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.036, allocations: 5.197 MB / 1.195 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/1.036, allocations: 24 kB / 1.195 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.848e-05/1.036, allocations: 16 kB / 1.195 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.109e-05/1.036, allocations: 15.89 kB / 1.195 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/1.057, allocations: 9.666 MB / 1.204 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/1.057, allocations: 4 kB / 1.204 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009187/1.058, allocations: 221 kB / 1.204 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005896/1.064, allocations: 1.839 MB / 1.206 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/1.064, allocations: 40 kB / 1.206 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03582/1.1, allocations: 34.52 MB / 1.24 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.1, allocations: 11.94 kB / 1.24 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/1.11, allocations: 4.898 MB / 1.245 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/1.112, allocations: 0.6147 MB / 1.245 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006974/1.113, allocations: 44 kB / 1.245 GB, free: 2.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/1.114, allocations: 123.8 kB / 1.245 GB, free: 2.242 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000604/1.115, allocations: 193.6 kB / 1.245 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.115, allocations: 63.62 kB / 1.246 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002284/1.117, allocations: 1.363 MB / 1.247 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.21e-07/1.118, allocations: 0 / 1.247 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00382/1.121, allocations: 1.039 MB / 1.248 GB, free: 15.58 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003518/1.122, allocations: 163 kB / 1.248 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.132, allocations: 6.254 MB / 1.254 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.132, allocations: 4 kB / 1.254 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.006824/1.139, allocations: 4.403 MB / 1.258 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006142/1.145, allocations: 0.9008 MB / 1.259 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.159, allocations: 9.593 MB / 1.269 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/1.163, allocations: 3.123 MB / 1.272 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002083/1.165, allocations: 0.5198 MB / 1.272 GB, free: 6.082 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/1.165, allocations: 147.4 kB / 1.272 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of SimCode: time 1.112e-06/1.165, allocations: 0 / 1.272 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of Templates: time 0.09049/1.256, allocations: 55.5 MB / 1.327 GB, free: 15.13 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)