Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.842/3.842, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.561e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5875, allocations: 92.69 MB / 0.5896 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.66, allocations: 394.8 MB / 0.9752 GB, free: 10.61 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/1.66, allocations: 88.52 kB / 0.9753 GB, free: 10.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 23.6/25.26, allocations: 4.335 GB / 5.31 GB, free: 54.27 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.114e-06/25.26, allocations: 0 / 5.31 GB, free: 54.27 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.002869/25.26, allocations: 402.8 kB / 5.311 GB, free: 54.22 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3254 * Number of variables: 3254 Notification: Performance of Generate backend data structure: time 0.0601/25.32, allocations: 13.58 MB / 5.324 GB, free: 49.33 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/25.32, allocations: 7.938 kB / 5.324 GB, free: 49.33 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008574/25.33, allocations: 1.704 MB / 5.326 GB, free: 49.21 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/25.34, allocations: 1.867 MB / 5.328 GB, free: 48.32 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06898/25.41, allocations: 18.77 MB / 5.346 GB, free: 46.53 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001788/25.41, allocations: 0.9854 MB / 5.347 GB, free: 46.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006919/25.42, allocations: 1.307 MB / 5.348 GB, free: 46.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06477/25.49, allocations: 18.14 MB / 5.366 GB, free: 44.01 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009959/25.49, allocations: 59.25 kB / 5.366 GB, free: 44 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005694/25.49, allocations: 0.5303 MB / 5.366 GB, free: 44 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005109/25.49, allocations: 362.2 kB / 5.367 GB, free: 44 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05162/25.55, allocations: 15.27 MB / 5.382 GB, free: 43.86 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.1916/25.74, allocations: 83.29 MB / 5.463 GB, free: 19.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.027/25.76, allocations: 11.02 MB / 5.474 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01596/25.78, allocations: 6.289 MB / 5.48 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09777/25.88, allocations: 25.41 MB / 5.505 GB, free: 0 / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/25.88, allocations: 133.4 kB / 5.505 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01205/25.89, allocations: 0.8244 MB / 5.506 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=725): time 2.354e-05/25.89, allocations: 0 / 5.506 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of matching and sorting (n=762): time 0.9251/26.82, allocations: 32.18 MB / 5.537 GB, free: 88.39 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/26.82, allocations: 262 kB / 5.537 GB, free: 88.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03403/26.85, allocations: 11.46 MB / 5.548 GB, free: 87.47 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002767/26.85, allocations: 197.7 kB / 5.549 GB, free: 87.44 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01054/26.86, allocations: 6.953 MB / 5.555 GB, free: 85.46 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.005184/26.87, allocations: 2.651 MB / 5.558 GB, free: 83.79 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002998/26.87, allocations: 240.2 kB / 5.558 GB, free: 83.79 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.001355/26.87, allocations: 0.7898 MB / 5.559 GB, free: 83.46 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01693/26.89, allocations: 6.053 MB / 5.565 GB, free: 83.43 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02041/26.91, allocations: 9.667 MB / 5.574 GB, free: 79.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02057/26.93, allocations: 8.002 MB / 5.582 GB, free: 79.09 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001834/26.93, allocations: 33 kB / 5.582 GB, free: 79.09 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1526) (initialization): time 0.06256/26.99, allocations: 19.11 MB / 5.601 GB, free: 78.13 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.01594/27.01, allocations: 63.78 MB / 5.663 GB, free: 27.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005648/27.01, allocations: 112.4 kB / 5.663 GB, free: 27.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1827/27.19, allocations: 11.83 MB / 5.675 GB, free: 27.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02394/27.22, allocations: 2.752 MB / 5.678 GB, free: 27.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03012/27.25, allocations: 20.34 MB / 5.697 GB, free: 31.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02163/27.27, allocations: 1.122 MB / 5.698 GB, free: 31.49 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003739/27.27, allocations: 0.5455 MB / 5.699 GB, free: 31.49 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/27.27, allocations: 3.594 kB / 5.699 GB, free: 31.49 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05704/27.33, allocations: 18.03 MB / 5.717 GB, free: 31 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003996/27.33, allocations: 120.8 kB / 5.717 GB, free: 30.99 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1825/27.51, allocations: 11.82 MB / 5.728 GB, free: 30.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01918/27.53, allocations: 2.491 MB / 5.731 GB, free: 30.14 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02659/27.56, allocations: 18.34 MB / 5.749 GB, free: 19.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02046/27.58, allocations: 1.075 MB / 5.75 GB, free: 19.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003809/27.58, allocations: 0.544 MB / 5.75 GB, free: 19.57 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1292): * Single equations (assignments): 1274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.00588/27.59, allocations: 0.7874 MB / 5.751 GB, free: 19.22 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00569/27.59, allocations: 1.152 MB / 5.752 GB, free: 18.61 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0438/27.64, allocations: 13.25 MB / 5.765 GB, free: 17.95 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001615/27.64, allocations: 88.12 kB / 5.765 GB, free: 17.95 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.618e-05/27.64, allocations: 6.578 kB / 5.765 GB, free: 17.95 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03249/27.67, allocations: 10.95 MB / 5.776 GB, free: 17.33 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09569/27.77, allocations: 29.49 MB / 5.805 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001275/27.77, allocations: 30 kB / 5.805 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01717/27.78, allocations: 1.688 MB / 5.806 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09419/27.88, allocations: 6.43 MB / 5.813 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002125/27.88, allocations: 248.1 kB / 5.813 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03103/27.91, allocations: 20.85 MB / 5.833 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.209e-05/27.91, allocations: 52.25 kB / 5.833 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05561/27.97, allocations: 28.53 MB / 5.861 GB, free: 0.957 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0127/27.98, allocations: 2.797 MB / 5.864 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005911/27.99, allocations: 220.5 kB / 5.864 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01743/28, allocations: 0.796 MB / 5.865 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002618/28.01, allocations: 0.5809 MB / 5.865 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00228/28.01, allocations: 317.9 kB / 5.866 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02617/28.03, allocations: 8.749 MB / 5.874 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.262e-06/28.03, allocations: 0 / 5.874 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.04427/28.08, allocations: 6.481 MB / 5.881 GB, free: 9.129 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 134 * Number of states: 30 (tanSte.vol[1].ports[3].h_outflow,tanSte.vol[2].ports[3].h_outflow,tanSte.vol[3].ports[3].h_outflow,tanSte.vol[4].ports[3].h_outflow,tanDyn.vol[1].ports[3].h_outflow,tanDyn.vol[2].ports[3].h_outflow,tanDyn.vol[3].ports[3].h_outflow,tanDyn.vol[4].ports[3].h_outflow,tanDyn.portHex_b.h_outflow,tanDyn.indTanHex.vol[1].ports[2].h_outflow,tanDyn.indTanHex.vol[2].ports[2].h_outflow,tanDyn.indTanHex.vol[3].ports[2].h_outflow,tanDyn.indTanHex.vol[4].ports[2].h_outflow,tanDyn.indTanHex.vol[5].ports[2].h_outflow,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].ports[3].h_outflow,tanDynSol.vol[2].ports[3].h_outflow,tanDynSol.vol[3].ports[3].h_outflow,tanDynSol.vol[4].ports[3].h_outflow,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (711): * Single equations (assignments): 672 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 21 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.9413/29.02, allocations: 33.32 MB / 5.913 GB, free: 139.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.07327/29.09, allocations: 23.36 MB / 5.936 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-05/29.09, allocations: 15.61 kB / 5.936 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.02253/29.12, allocations: 6.204 MB / 5.942 GB, free: 138.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05112/29.17, allocations: 6.288 MB / 5.948 GB, free: 138.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1186/29.29, allocations: 34.03 MB / 5.981 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03216/29.32, allocations: 10.3 MB / 5.991 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.06776/29.39, allocations: 9.095 MB / 6 GB, free: 130.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01584/29.4, allocations: 6.163 MB / 6.006 GB, free: 130.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.694e-06/29.4, allocations: 0 / 6.006 GB, free: 130.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.746/31.15, allocations: 426.4 MB / 6.423 GB, free: 138 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/31.15, allocations: 243.8 kB / 6.423 GB, free: 137.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.62/56.77, allocations: 3.938 kB / 6.423 GB, free: 137.7 MB / 0.9948 GB