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.631/3.631, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.742e-05/4.762e-05, allocations: 11.98 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7315/0.7316, allocations: 92.67 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.829, allocations: 394.8 MB / 0.9751 GB, free: 12.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/1.829, allocations: 90.39 kB / 0.9752 GB, free: 11.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 23.55/25.38, allocations: 4.335 GB / 5.31 GB, free: 54.18 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.024e-06/25.38, allocations: 0 / 5.31 GB, free: 54.18 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.003276/25.38, allocations: 398.1 kB / 5.311 GB, free: 54.12 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.06294/25.45, allocations: 13.58 MB / 5.324 GB, free: 49.23 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/25.45, allocations: 12.19 kB / 5.324 GB, free: 49.23 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009276/25.46, allocations: 1.7 MB / 5.326 GB, free: 49.12 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/25.47, allocations: 1.875 MB / 5.327 GB, free: 48.22 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07224/25.54, allocations: 18.77 MB / 5.346 GB, free: 46.44 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001757/25.55, allocations: 0.9834 MB / 5.347 GB, free: 46.41 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007089/25.55, allocations: 1.307 MB / 5.348 GB, free: 46.41 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06603/25.62, allocations: 18.29 MB / 5.366 GB, free: 43.86 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009246/25.62, allocations: 49.41 kB / 5.366 GB, free: 43.86 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005541/25.63, allocations: 0.5341 MB / 5.366 GB, free: 43.86 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000477/25.63, allocations: 357.4 kB / 5.367 GB, free: 43.86 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05153/25.68, allocations: 15.51 MB / 5.382 GB, free: 43.61 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.1926/25.87, allocations: 83.29 MB / 5.463 GB, free: 19.81 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02933/25.9, allocations: 11.1 MB / 5.474 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01629/25.92, allocations: 6.304 MB / 5.48 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08756/26, allocations: 24.81 MB / 5.505 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/26, allocations: 124.7 kB / 5.505 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01136/26.02, allocations: 0.8202 MB / 5.505 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=725): time 3.243e-05/26.02, allocations: 0 / 5.505 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of matching and sorting (n=762): time 0.9555/26.97, allocations: 32.71 MB / 5.537 GB, free: 88.68 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/26.97, allocations: 262.4 kB / 5.538 GB, free: 88.46 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03421/27.01, allocations: 11.46 MB / 5.549 GB, free: 87.76 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.00269/27.01, allocations: 194.3 kB / 5.549 GB, free: 87.73 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0104/27.02, allocations: 6.96 MB / 5.556 GB, free: 85.79 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.005093/27.02, allocations: 2.646 MB / 5.558 GB, free: 84.12 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002916/27.03, allocations: 240 kB / 5.559 GB, free: 84.12 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.001286/27.03, allocations: 0.7968 MB / 5.559 GB, free: 83.79 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0171/27.04, allocations: 6.049 MB / 5.565 GB, free: 83.77 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02061/27.07, allocations: 9.738 MB / 5.575 GB, free: 79.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02137/27.09, allocations: 8.003 MB / 5.583 GB, free: 79.39 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001756/27.09, allocations: 33.5 kB / 5.583 GB, free: 79.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1526) (initialization): time 0.06444/27.15, allocations: 19.41 MB / 5.602 GB, free: 78.44 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.01524/27.17, allocations: 63.78 MB / 5.664 GB, free: 28.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000533/27.17, allocations: 114.7 kB / 5.664 GB, free: 28.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2101/27.38, allocations: 11.83 MB / 5.676 GB, free: 27.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03387/27.41, allocations: 2.749 MB / 5.678 GB, free: 27.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04391/27.46, allocations: 20.36 MB / 5.698 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03152/27.49, allocations: 1.115 MB / 5.699 GB, free: 15.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004848/27.49, allocations: 0.5541 MB / 5.7 GB, free: 15.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/27.49, allocations: 4.375 kB / 5.7 GB, free: 15.81 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08422/27.58, allocations: 18.34 MB / 5.718 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000673/27.58, allocations: 117.4 kB / 5.718 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2626/27.84, allocations: 11.83 MB / 5.729 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02839/27.87, allocations: 2.485 MB / 5.732 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03901/27.91, allocations: 18.35 MB / 5.75 GB, free: 19.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02944/27.94, allocations: 1.077 MB / 5.751 GB, free: 19.56 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004759/27.94, allocations: 0.5392 MB / 5.751 GB, free: 19.56 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.007246/27.95, allocations: 0.7967 MB / 5.752 GB, free: 19.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007414/27.96, allocations: 1.152 MB / 5.753 GB, free: 18.59 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06167/28.02, allocations: 13.25 MB / 5.766 GB, free: 17.94 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002382/28.02, allocations: 89.05 kB / 5.766 GB, free: 17.93 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.513e-05/28.02, allocations: 8.875 kB / 5.766 GB, free: 17.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03465/28.05, allocations: 10.95 MB / 5.777 GB, free: 17.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09627/28.15, allocations: 29.56 MB / 5.806 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001374/28.15, allocations: 35.5 kB / 5.806 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01722/28.17, allocations: 1.687 MB / 5.807 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09432/28.26, allocations: 6.424 MB / 5.814 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002181/28.26, allocations: 250.9 kB / 5.814 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03125/28.29, allocations: 20.87 MB / 5.834 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.425e-05/28.29, allocations: 48.91 kB / 5.834 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05683/28.35, allocations: 28.53 MB / 5.862 GB, free: 0.75 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01324/28.36, allocations: 2.795 MB / 5.865 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006111/28.37, allocations: 225.5 kB / 5.865 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01777/28.39, allocations: 0.7967 MB / 5.866 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002578/28.39, allocations: 0.5788 MB / 5.867 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002049/28.39, allocations: 315.5 kB / 5.867 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02693/28.42, allocations: 8.746 MB / 5.875 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.182e-06/28.42, allocations: 0 / 5.875 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.04128/28.46, allocations: 6.484 MB / 5.882 GB, free: 8.371 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.8998/29.36, allocations: 33.26 MB / 5.914 GB, free: 138.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.07227/29.43, allocations: 23.85 MB / 5.937 GB, free: 137.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.46e-05/29.43, allocations: 11.75 kB / 5.937 GB, free: 137.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.02288/29.46, allocations: 6.293 MB / 5.944 GB, free: 137.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05127/29.51, allocations: 6.293 MB / 5.95 GB, free: 137.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1136/29.62, allocations: 34.1 MB / 5.983 GB, free: 131.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02305/29.65, allocations: 10.31 MB / 5.993 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.05352/29.7, allocations: 9.09 MB / 6.002 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01757/29.72, allocations: 6.165 MB / 6.008 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.723e-06/29.72, allocations: 0 / 6.008 GB, free: 129.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.652/32.37, allocations: 429 MB / 6.427 GB, free: 135.5 MB / 0.9949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/32.37, allocations: 253.1 kB / 6.427 GB, free: 135.1 MB / 0.9949 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.68/58.05, allocations: 5.812 kB / 6.427 GB, free: 135.1 MB / 0.9949 GB