Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001389/0.001389, allocations: 194.6 kB / 16.14 MB, free: 6.688 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 62.66 kB / 0.9114 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3469, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.02102/0.3679, allocations: 16.27 MB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.38, allocations: 5.934 MB / 1.089 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.3821, allocations: 39.88 kB / 1.089 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.3863, allocations: 1.265 MB / 1.09 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.3898, allocations: 0.9694 MB / 1.091 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.3929, allocations: 0.9431 MB / 1.092 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006892/0.3998, allocations: 6.296 MB / 1.098 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00933/0.4091, allocations: 6.077 MB / 1.104 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.412, allocations: 1.53 MB / 1.106 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.4159, allocations: 2.248 MB / 1.108 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.417, allocations: 300 kB / 1.108 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.4199, allocations: 1.151 MB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.4227, allocations: 1.579 MB / 1.111 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003806/0.4265, allocations: 1.537 MB / 1.113 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008953/0.4355, allocations: 6.233 MB / 1.119 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4355, allocations: 0 / 1.119 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.123e-06/0.4355, allocations: 0 / 1.119 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002258/0.4358, allocations: 0 / 1.119 GB, free: 6.277 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.01047/0.4462, allocations: 2.947 MB / 1.122 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4463, allocations: 11.97 kB / 1.122 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.4575, allocations: 2.006 MB / 1.124 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/0.4613, allocations: 1.581 MB / 1.125 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.4614, allocations: 218.1 kB / 1.125 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006327/0.4621, allocations: 284.3 kB / 1.126 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.4749, allocations: 5.697 MB / 1.131 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-05/0.4751, allocations: 0 / 1.131 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008385/0.4759, allocations: 116 kB / 1.131 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000359/0.4763, allocations: 204.7 kB / 1.131 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.4902, allocations: 5.83 MB / 1.137 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03069/0.5209, allocations: 22.58 MB / 1.159 GB, free: 10.56 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005975/0.5269, allocations: 3.012 MB / 1.162 GB, free: 7.379 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004695/0.5316, allocations: 1.944 MB / 1.164 GB, free: 5.418 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.5319, allocations: 122 kB / 1.164 GB, free: 5.281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.5319, allocations: 55.5 kB / 1.164 GB, free: 5.219 MB / 0.92 GB Notification: Performance of pre-optimization done (n=132): time 5.521e-06/0.532, allocations: 0 / 1.164 GB, free: 5.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=174): time 0.03982/0.5718, allocations: 12.83 MB / 1.177 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.5719, allocations: 234.9 kB / 1.177 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.5733, allocations: 0.953 MB / 1.178 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.5735, allocations: 57.7 kB / 1.178 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006995/0.5742, allocations: 1.154 MB / 1.179 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/0.5748, allocations: 0.5853 MB / 1.18 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.5759, allocations: 467.7 kB / 1.18 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5761, allocations: 337.9 kB / 1.18 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004676/0.5807, allocations: 1.875 MB / 1.182 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005308/0.5861, allocations: 2.459 MB / 1.185 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009578/0.5957, allocations: 4.378 MB / 1.189 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.942e-05/0.5957, allocations: 8 kB / 1.189 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0134/0.6091, allocations: 5.419 MB / 1.194 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.6092, allocations: 13.41 kB / 1.194 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-05/0.6092, allocations: 16 kB / 1.194 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/0.6127, allocations: 1.213 MB / 1.195 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/0.6158, allocations: 0.7253 MB / 1.196 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/0.6319, allocations: 10.5 MB / 1.206 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/0.6352, allocations: 459 kB / 1.207 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000526/0.6357, allocations: 111.9 kB / 1.207 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007223/0.643, allocations: 2.943 MB / 1.21 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005459/0.6485, allocations: 2.456 MB / 1.212 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01024/0.6588, allocations: 4.35 MB / 1.216 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.593e-05/0.6588, allocations: 4 kB / 1.216 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.0136/0.6724, allocations: 5.361 MB / 1.222 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.6725, allocations: 12 kB / 1.222 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.6725, allocations: 16 kB / 1.222 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.6755, allocations: 1.122 MB / 1.223 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.6788, allocations: 0.7369 MB / 1.223 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/0.6934, allocations: 10.31 MB / 1.234 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/0.6966, allocations: 459.2 kB / 1.234 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004892/0.6971, allocations: 104 kB / 1.234 GB, free: 11.82 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (212): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (5,31,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000803/0.6979, allocations: 312.2 kB / 1.234 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006208/0.6985, allocations: 122.6 kB / 1.235 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.7111, allocations: 4.969 MB / 1.239 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/0.7111, allocations: 19.98 kB / 1.239 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/0.7112, allocations: 12 kB / 1.239 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.7112, allocations: 11.97 kB / 1.239 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6426/1.354, allocations: 8.956 MB / 1.248 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/1.354, allocations: 8.25 kB / 1.248 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.356, allocations: 0.5273 MB / 1.249 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002848/1.359, allocations: 0.9754 MB / 1.25 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/1.36, allocations: 52.06 kB / 1.25 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.373, allocations: 9.973 MB / 1.259 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.373, allocations: 13.72 kB / 1.259 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/1.384, allocations: 4.759 MB / 1.264 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.386, allocations: 0.4916 MB / 1.265 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004909/1.386, allocations: 36.83 kB / 1.265 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/1.389, allocations: 402.6 kB / 1.265 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005904/1.39, allocations: 158.1 kB / 1.265 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/1.39, allocations: 64.55 kB / 1.265 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001245/1.391, allocations: 0.6934 MB / 1.266 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.391, allocations: 0 / 1.266 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004848/1.396, allocations: 1.186 MB / 1.267 GB, free: 160.7 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 (103): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,32,100.0%), (8,28,53.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003237/1.396, allocations: 156.3 kB / 1.267 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01927/1.416, allocations: 7.941 MB / 1.275 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.416, allocations: 1.5 kB / 1.275 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006532/1.422, allocations: 2.667 MB / 1.278 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/1.424, allocations: 184 kB / 1.278 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.445, allocations: 8.584 MB / 1.286 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/1.448, allocations: 2.305 MB / 1.288 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004213/1.452, allocations: 1.224 MB / 1.29 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006838/1.453, allocations: 132.9 kB / 1.29 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.453, allocations: 0 / 1.29 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.05178/1.505, allocations: 35.57 MB / 1.324 GB, free: 124.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1)