Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01077/0.01077, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 8.25 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3148, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03611/0.351, allocations: 29.73 MB / 1.103 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02037/0.3714, allocations: 13.41 MB / 1.116 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002885/0.3744, allocations: 127.2 kB / 1.116 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.3765, allocations: 0.6473 MB / 1.117 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007566/0.3841, allocations: 2.476 MB / 1.119 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005741/0.3898, allocations: 1.719 MB / 1.121 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01375/0.4036, allocations: 10.42 MB / 1.131 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01662/0.4203, allocations: 10.19 MB / 1.141 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006051/0.4264, allocations: 2.588 MB / 1.144 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005775/0.4322, allocations: 2.938 MB / 1.147 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009952/0.4332, allocations: 248 kB / 1.147 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.4368, allocations: 1.38 MB / 1.148 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.4392, allocations: 1.921 MB / 1.15 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003396/0.4426, allocations: 2.38 MB / 1.152 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.4532, allocations: 9.017 MB / 1.161 GB, free: 13.97 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4532, allocations: 3.938 kB / 1.161 GB, free: 13.96 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.447e-06/0.4532, allocations: 0 / 1.161 GB, free: 13.96 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000306/0.4536, allocations: 0 / 1.161 GB, free: 13.96 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01067/0.4642, allocations: 4.146 MB / 1.165 GB, free: 9.746 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.4643, allocations: 12.03 kB / 1.165 GB, free: 9.734 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/0.471, allocations: 1.006 MB / 1.166 GB, free: 8.723 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006498/0.4776, allocations: 2.888 MB / 1.169 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.4778, allocations: 316.8 kB / 1.169 GB, free: 5.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/0.479, allocations: 427.9 kB / 1.17 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.4942, allocations: 6.795 MB / 1.176 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001647/0.4944, allocations: 23.77 kB / 1.176 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005188/0.4949, allocations: 184 kB / 1.177 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009332/0.4959, allocations: 372 kB / 1.177 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.5064, allocations: 5.11 MB / 1.182 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04471/0.5511, allocations: 30.79 MB / 1.212 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.5539, allocations: 1.389 MB / 1.213 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.556, allocations: 1.336 MB / 1.215 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.5562, allocations: 13.31 kB / 1.215 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.5563, allocations: 43.88 kB / 1.215 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 2.976e-06/0.5563, allocations: 4 kB / 1.215 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.09077/0.647, allocations: 22.81 MB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.6472, allocations: 73.41 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/0.651, allocations: 2.058 MB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003955/0.6514, allocations: 57.7 kB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.653, allocations: 2.014 MB / 1.241 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009506/0.654, allocations: 0.6739 MB / 1.242 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.6545, allocations: 194.2 kB / 1.242 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6546, allocations: 305.1 kB / 1.242 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/0.6572, allocations: 1.43 MB / 1.244 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/0.6601, allocations: 2.01 MB / 1.246 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.701/1.361, allocations: 3.684 MB / 1.249 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/1.361, allocations: 4.469 kB / 1.249 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01269/1.374, allocations: 5.662 MB / 1.255 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/1.374, allocations: 12.38 kB / 1.255 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.374, allocations: 20.5 kB / 1.255 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006703/1.381, allocations: 2.083 MB / 1.257 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.382, allocations: 382.6 kB / 1.257 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03503/1.417, allocations: 35.54 MB / 1.292 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/1.42, allocations: 128.3 kB / 1.292 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/1.42, allocations: 90.95 kB / 1.292 GB, free: 132.7 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.003368/1.424, allocations: 1.504 MB / 1.294 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006583/1.425, allocations: 282.4 kB / 1.294 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.436, allocations: 5.218 MB / 1.299 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/1.436, allocations: 20.3 kB / 1.299 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.395e-05/1.436, allocations: 21.56 kB / 1.299 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.91e-05/1.436, allocations: 11 kB / 1.299 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/1.455, allocations: 9.683 MB / 1.308 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/1.455, allocations: 9.469 kB / 1.308 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/1.456, allocations: 215.5 kB / 1.309 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005786/1.462, allocations: 1.844 MB / 1.31 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/1.462, allocations: 41.38 kB / 1.311 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02824/1.491, allocations: 34.56 MB / 1.344 GB, free: 94.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.491, allocations: 7.625 kB / 1.344 GB, free: 94.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008757/1.499, allocations: 4.917 MB / 1.349 GB, free: 91.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.501, allocations: 0.6124 MB / 1.35 GB, free: 91.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007179/1.502, allocations: 42.97 kB / 1.35 GB, free: 91.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.503, allocations: 123.8 kB / 1.35 GB, free: 91.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006605/1.504, allocations: 200.7 kB / 1.35 GB, free: 91.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/1.504, allocations: 64.91 kB / 1.35 GB, free: 91.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00235/1.507, allocations: 1.372 MB / 1.351 GB, free: 90.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.507, allocations: 3.875 kB / 1.351 GB, free: 90.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004373/1.511, allocations: 1.048 MB / 1.352 GB, free: 90.24 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004016/1.511, allocations: 161.2 kB / 1.353 GB, free: 90.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008827/1.52, allocations: 6.284 MB / 1.359 GB, free: 83.94 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.52, allocations: 0 / 1.359 GB, free: 83.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005546/1.526, allocations: 4.405 MB / 1.363 GB, free: 79.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007463/1.533, allocations: 0.9136 MB / 1.364 GB, free: 78.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/1.546, allocations: 10.06 MB / 1.374 GB, free: 68.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/1.548, allocations: 3.121 MB / 1.377 GB, free: 65.15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001872/1.55, allocations: 0.5276 MB / 1.377 GB, free: 64.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/1.551, allocations: 143.4 kB / 1.377 GB, free: 64.48 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.551, allocations: 4 kB / 1.377 GB, free: 64.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.08276/1.633, allocations: 57.03 MB / 1.433 GB, free: 8.242 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)