Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.Conversion.Examples.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002275/0.002275, allocations: 196.2 kB / 16.14 MB, free: 6.703 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.69 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3392, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY): time 0.02129/0.3606, allocations: 16.88 MB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.3713, allocations: 6.067 MB / 1.09 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.3732, allocations: 43.81 kB / 1.09 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004193/0.3775, allocations: 1.377 MB / 1.091 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.3808, allocations: 0.9966 MB / 1.092 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.3838, allocations: 0.9475 MB / 1.093 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006692/0.3905, allocations: 6.585 MB / 1.1 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.401, allocations: 6.697 MB / 1.106 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.404, allocations: 1.612 MB / 1.108 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004295/0.4083, allocations: 2.349 MB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001371/0.4097, allocations: 312 kB / 1.11 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.4129, allocations: 1.17 MB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003062/0.416, allocations: 1.645 MB / 1.113 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004361/0.4204, allocations: 1.626 MB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008158/0.4285, allocations: 6.568 MB / 1.121 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4286, allocations: 4 kB / 1.121 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4286, allocations: 0 / 1.121 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002222/0.4288, allocations: 0 / 1.121 GB, free: 3.805 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.008956/0.4378, allocations: 3.061 MB / 1.124 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.4378, allocations: 8.031 kB / 1.124 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.449, allocations: 2.018 MB / 1.126 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/0.4532, allocations: 1.655 MB / 1.128 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.4534, allocations: 222.5 kB / 1.128 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.4546, allocations: 296.3 kB / 1.128 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.4707, allocations: 5.924 MB / 1.134 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.4708, allocations: 0 / 1.134 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009838/0.4718, allocations: 124 kB / 1.134 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003628/0.4722, allocations: 209 kB / 1.134 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.4878, allocations: 5.967 MB / 1.14 GB, free: 124 kB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.5192, allocations: 22.99 MB / 1.163 GB, free: 7.125 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005398/0.5247, allocations: 2.516 MB / 1.165 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004763/0.5294, allocations: 1.811 MB / 1.167 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.5297, allocations: 118 kB / 1.167 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.5298, allocations: 59.48 kB / 1.167 GB, free: 2.453 MB / 0.92 GB Notification: Performance of pre-optimization done (n=123): time 7.053e-06/0.5298, allocations: 4 kB / 1.167 GB, free: 2.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=153): time 0.0397/0.5695, allocations: 11.76 MB / 1.178 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5697, allocations: 234.8 kB / 1.179 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.5713, allocations: 1.067 MB / 1.18 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002564/0.5716, allocations: 49.7 kB / 1.18 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008511/0.5725, allocations: 1.262 MB / 1.181 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007114/0.5732, allocations: 0.5316 MB / 1.182 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009901/0.5742, allocations: 467.7 kB / 1.182 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5743, allocations: 334 kB / 1.182 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004858/0.5792, allocations: 1.84 MB / 1.184 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00526/0.5845, allocations: 2.513 MB / 1.187 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009757/0.5943, allocations: 4.352 MB / 1.191 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.07e-05/0.5943, allocations: 11.94 kB / 1.191 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01379/0.6081, allocations: 5.208 MB / 1.196 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.6082, allocations: 19.98 kB / 1.196 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.656e-05/0.6083, allocations: 20 kB / 1.196 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00313/0.6114, allocations: 0.8833 MB / 1.197 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/0.6149, allocations: 0.7682 MB / 1.198 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/0.6309, allocations: 12.79 MB / 1.21 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/0.6344, allocations: 474.9 kB / 1.21 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005175/0.6349, allocations: 115.9 kB / 1.211 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006927/0.6419, allocations: 2.947 MB / 1.213 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005382/0.6473, allocations: 2.505 MB / 1.216 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009816/0.6571, allocations: 4.332 MB / 1.22 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.869e-05/0.6572, allocations: 8 kB / 1.22 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01516/0.6724, allocations: 5.138 MB / 1.225 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.6725, allocations: 20.28 kB / 1.225 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/0.6725, allocations: 20 kB / 1.225 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/0.6756, allocations: 0.7856 MB / 1.226 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/0.6793, allocations: 0.7721 MB / 1.227 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.6938, allocations: 12.65 MB / 1.239 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.6973, allocations: 447.2 kB / 1.24 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005847/0.6979, allocations: 115.9 kB / 1.24 GB, free: 4.953 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (240): * Single equations (assignments): 234 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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 prepare postOptimizeDAE: time 0.0009961/0.6989, allocations: 328.4 kB / 1.24 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006301/0.6996, allocations: 118.6 kB / 1.24 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6128/1.312, allocations: 4.591 MB / 1.245 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.47e-05/1.312, allocations: 16.09 kB / 1.245 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-05/1.312, allocations: 9.938 kB / 1.245 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.706e-05/1.313, allocations: 12.5 kB / 1.245 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.331, allocations: 8.305 MB / 1.253 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.331, allocations: 7.438 kB / 1.253 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/1.333, allocations: 0.5291 MB / 1.253 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/1.336, allocations: 0.6963 MB / 1.254 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/1.336, allocations: 57.53 kB / 1.254 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/1.348, allocations: 12.28 MB / 1.266 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/1.348, allocations: 7.156 kB / 1.266 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.36, allocations: 4.299 MB / 1.27 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.361, allocations: 480.5 kB / 1.271 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006388/1.362, allocations: 36.61 kB / 1.271 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003309/1.365, allocations: 389.1 kB / 1.271 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000709/1.366, allocations: 139 kB / 1.271 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002894/1.366, allocations: 62.52 kB / 1.271 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00249/1.369, allocations: 0.7772 MB / 1.272 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.369, allocations: 3.062 kB / 1.272 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007656/1.376, allocations: 1.153 MB / 1.273 GB, free: 152.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.0005307/1.377, allocations: 156.3 kB / 1.273 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02033/1.397, allocations: 8.183 MB / 1.281 GB, free: 149 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/1.397, allocations: 1.219 kB / 1.281 GB, free: 149 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006254/1.404, allocations: 2.755 MB / 1.284 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.406, allocations: 185.7 kB / 1.284 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/1.428, allocations: 8.613 MB / 1.292 GB, free: 144 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/1.432, allocations: 2.341 MB / 1.295 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004009/1.436, allocations: 1.291 MB / 1.296 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006081/1.437, allocations: 132.7 kB / 1.296 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.437, allocations: 3.938 kB / 1.296 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04736/1.484, allocations: 31.86 MB / 1.327 GB, free: 118.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)