Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009917, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008361/0.008361, allocations: 170 kB / 16.27 MB, free: 6.652 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 14.22 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3955, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03919/0.4347, allocations: 34 MB / 1.107 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.4537, allocations: 9.821 MB / 1.117 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003956/0.4578, allocations: 127.2 kB / 1.117 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.4605, allocations: 0.6977 MB / 1.118 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.4668, allocations: 1.921 MB / 1.12 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.4715, allocations: 1.605 MB / 1.121 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01334/0.4849, allocations: 11.2 MB / 1.132 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02021/0.5051, allocations: 12.16 MB / 1.144 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005303/0.5104, allocations: 2.415 MB / 1.146 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005456/0.5159, allocations: 3.211 MB / 1.149 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.517, allocations: 284 kB / 1.15 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.52, allocations: 1.26 MB / 1.151 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00251/0.5225, allocations: 2.104 MB / 1.153 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003786/0.5263, allocations: 2.532 MB / 1.156 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.5374, allocations: 9.862 MB / 1.165 GB, free: 10.03 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5374, allocations: 0 / 1.165 GB, free: 10.03 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.025e-06/0.5374, allocations: 0 / 1.165 GB, free: 10.03 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002931/0.5377, allocations: 0 / 1.165 GB, free: 10.03 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009686/0.5474, allocations: 4.363 MB / 1.169 GB, free: 5.594 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.5475, allocations: 8.031 kB / 1.169 GB, free: 5.586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005353/0.5528, allocations: 0.9626 MB / 1.17 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005737/0.5586, allocations: 2.995 MB / 1.173 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.5589, allocations: 361.9 kB / 1.174 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.56, allocations: 464.3 kB / 1.174 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.5749, allocations: 7.906 MB / 1.182 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.5751, allocations: 19.78 kB / 1.182 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005734/0.5757, allocations: 208 kB / 1.182 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005353/0.5762, allocations: 365.1 kB / 1.182 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.5877, allocations: 5.941 MB / 1.188 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03918/0.627, allocations: 36.27 MB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.6304, allocations: 2.138 MB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.6325, allocations: 1.477 MB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.16e-05/0.6326, allocations: 17.31 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.6326, allocations: 63.8 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 4.518e-06/0.6326, allocations: 0 / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01434/0.647, allocations: 7.579 MB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.6471, allocations: 72.72 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.6496, allocations: 1.86 MB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.6498, allocations: 53.7 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.6512, allocations: 2.119 MB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000508/0.6517, allocations: 0.5584 MB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.6519, allocations: 178.1 kB / 1.239 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.652, allocations: 305.1 kB / 1.24 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.6536, allocations: 1.055 MB / 1.241 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.6557, allocations: 1.768 MB / 1.242 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.6595, allocations: 3.049 MB / 1.245 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.6596, allocations: 4 kB / 1.245 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.7203/1.38, allocations: 3.914 MB / 1.249 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/1.38, allocations: 14.86 kB / 1.249 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/1.38, allocations: 22.25 kB / 1.249 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/1.383, allocations: 0.9351 MB / 1.25 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.385, allocations: 433.3 kB / 1.251 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/1.401, allocations: 21.07 MB / 1.271 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.404, allocations: 125.8 kB / 1.271 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/1.404, allocations: 92.86 kB / 1.271 GB, free: 145.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003299/1.407, allocations: 1.651 MB / 1.273 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005208/1.408, allocations: 257.3 kB / 1.273 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005653/1.413, allocations: 3.261 MB / 1.276 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.413, allocations: 18.31 kB / 1.276 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.413, allocations: 12.06 kB / 1.276 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/1.413, allocations: 7.828 kB / 1.276 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.428, allocations: 7.551 MB / 1.284 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.428, allocations: 4.25 kB / 1.284 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009805/1.429, allocations: 224.7 kB / 1.284 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/1.432, allocations: 0.8928 MB / 1.285 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.432, allocations: 31.34 kB / 1.285 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/1.449, allocations: 21.05 MB / 1.305 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.449, allocations: 10.06 kB / 1.305 GB, free: 121.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005891/1.455, allocations: 3.378 MB / 1.309 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.457, allocations: 0.5366 MB / 1.309 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000321/1.457, allocations: 34.56 kB / 1.309 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.458, allocations: 96.39 kB / 1.309 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/1.459, allocations: 137.7 kB / 1.31 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.459, allocations: 50.5 kB / 1.31 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001778/1.46, allocations: 1.225 MB / 1.311 GB, free: 119.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.453e-06/1.46, allocations: 0 / 1.311 GB, free: 119.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003799/1.464, allocations: 0.9113 MB / 1.312 GB, free: 119.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003216/1.465, allocations: 148.9 kB / 1.312 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006513/1.471, allocations: 4.428 MB / 1.316 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.471, allocations: 1.938 kB / 1.316 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00395/1.475, allocations: 2.997 MB / 1.319 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005389/1.481, allocations: 0.7659 MB / 1.32 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.495, allocations: 9.71 MB / 1.329 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003333/1.498, allocations: 3.208 MB / 1.332 GB, free: 106.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001969/1.5, allocations: 0.522 MB / 1.333 GB, free: 106.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/1.501, allocations: 152 kB / 1.333 GB, free: 106.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.501, allocations: 0 / 1.333 GB, free: 106.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.06548/1.566, allocations: 40.89 MB / 1.373 GB, free: 69.82 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)