Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.544/2.544, allocations: 248.7 MB / 256.2 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 178.2 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 94.41 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.046e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9587/1.174, allocations: 181.3 MB / 1.061 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/1.174, allocations: 102.3 kB / 1.061 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4233/1.598, allocations: 101.9 MB / 1.161 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.114e-06/1.598, allocations: 0 / 1.161 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001421/1.598, allocations: 55.98 kB / 1.161 GB, free: 11.3 MB / 0.7761 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.009948/1.608, allocations: 2.341 MB / 1.163 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.608, allocations: 12.03 kB / 1.163 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/1.628, allocations: 1.9 MB / 1.165 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00634/1.634, allocations: 1.658 MB / 1.167 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/1.634, allocations: 92 kB / 1.167 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/1.636, allocations: 160 kB / 1.167 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01288/1.649, allocations: 3.947 MB / 1.171 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/1.664, allocations: 4.315 MB / 1.175 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.22e-05/1.664, allocations: 3.953 kB / 1.175 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005063/1.664, allocations: 4 kB / 1.175 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005434/1.665, allocations: 196.7 kB / 1.175 GB, free: 12.47 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05646/1.721, allocations: 21.82 MB / 1.196 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009077/1.73, allocations: 2.471 MB / 1.199 GB, free: 2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005487/1.736, allocations: 1.325 MB / 1.2 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/1.737, allocations: 122.3 kB / 1.2 GB, free: 0.5156 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.211e-05/1.737, allocations: 59.95 kB / 1.2 GB, free: 460 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=132): time 8.146e-06/1.737, allocations: 0 / 1.2 GB, free: 460 kB / 0.8073 GB Notification: Performance of matching and sorting (n=174): time 0.03282/1.769, allocations: 7.723 MB / 1.208 GB, free: 8.691 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/1.77, allocations: 222.9 kB / 1.208 GB, free: 8.426 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/1.772, allocations: 0.8195 MB / 1.209 GB, free: 7.598 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004653/1.772, allocations: 25.7 kB / 1.209 GB, free: 7.566 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/1.773, allocations: 1.15 MB / 1.21 GB, free: 6.398 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.774, allocations: 0.5735 MB / 1.21 GB, free: 5.816 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/1.775, allocations: 0 / 1.21 GB, free: 5.816 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003366/1.775, allocations: 435.2 kB / 1.211 GB, free: 5.383 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/1.779, allocations: 1.324 MB / 1.212 GB, free: 4.055 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004322/1.783, allocations: 1.892 MB / 1.214 GB, free: 1.914 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006898/1.79, allocations: 1.977 MB / 1.216 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-05/1.79, allocations: 8 kB / 1.216 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01699/1.807, allocations: 4.487 MB / 1.22 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003448/1.81, allocations: 6.882 MB / 1.227 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/1.811, allocations: 16 kB / 1.227 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008039/1.819, allocations: 0.985 MB / 1.228 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009691/1.828, allocations: 0.7331 MB / 1.229 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03297/1.861, allocations: 10.11 MB / 1.239 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005764/1.867, allocations: 427 kB / 1.239 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006586/1.868, allocations: 108 kB / 1.239 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.868, allocations: 4 kB / 1.239 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01411/1.882, allocations: 4.221 MB / 1.243 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.783e-05/1.882, allocations: 16 kB / 1.243 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003592/1.886, allocations: 0.8452 MB / 1.244 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/1.892, allocations: 0.7331 MB / 1.245 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/1.914, allocations: 9.634 MB / 1.254 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005577/1.92, allocations: 407.1 kB / 1.255 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006778/1.92, allocations: 115.9 kB / 1.255 GB, free: 7.172 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007384/1.921, allocations: 154.1 kB / 1.255 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01231/1.933, allocations: 3.506 MB / 1.258 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008991/1.934, allocations: 122.6 kB / 1.258 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.647/2.581, allocations: 4.006 MB / 1.262 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.709e-05/2.581, allocations: 22.19 kB / 1.262 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.524e-05/2.582, allocations: 12.91 kB / 1.262 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.343e-05/2.582, allocations: 13.12 kB / 1.262 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/2.605, allocations: 7.332 MB / 1.27 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/2.605, allocations: 7.219 kB / 1.27 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005138/2.611, allocations: 0.5253 MB / 1.27 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00406/2.615, allocations: 0.8563 MB / 1.271 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004639/2.615, allocations: 31.53 kB / 1.271 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02027/2.635, allocations: 9.365 MB / 1.28 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.705e-05/2.636, allocations: 14.25 kB / 1.28 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/2.647, allocations: 4.104 MB / 1.284 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/2.649, allocations: 0.5184 MB / 1.285 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/2.65, allocations: 9.984 kB / 1.285 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005209/2.655, allocations: 377.3 kB / 1.285 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007518/2.656, allocations: 152.9 kB / 1.285 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/2.656, allocations: 65.69 kB / 1.285 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001355/2.657, allocations: 0.6254 MB / 1.286 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/2.657, allocations: 2.188 kB / 1.286 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007176/2.665, allocations: 1.095 MB / 1.287 GB, free: 248.1 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 99 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01283/2.678, allocations: 6.542 MB / 1.293 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01957/2.697, allocations: 6.182 MB / 1.299 GB, free: 244 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/2.697, allocations: 1.125 kB / 1.299 GB, free: 244 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006509/2.704, allocations: 2.031 MB / 1.301 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/2.706, allocations: 117.2 kB / 1.301 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/2.737, allocations: 6.584 MB / 1.308 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003701/2.741, allocations: 2.358 MB / 1.31 GB, free: 242 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007059/2.748, allocations: 1.263 MB / 1.311 GB, free: 242 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/2.75, allocations: 0.8452 MB / 1.312 GB, free: 242 MB / 0.8698 GB Notification: Performance of SimCode: time 2.033e-06/2.75, allocations: 0 / 1.312 GB, free: 242 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1377/2.888, allocations: 50.63 MB / 1.362 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/2.889, allocations: 191.2 kB / 1.362 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.054/6.943, allocations: 2.438 kB / 1.362 GB, free: 238.3 MB / 0.8698 GB