Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.Stratified,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.262/4.262, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.207e-05/4.22e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2399, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.484, allocations: 403.6 MB / 1.066 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/1.484, allocations: 91 kB / 1.066 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 15.38/16.87, allocations: 2.845 GB / 3.911 GB, free: 130.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.926e-06/16.87, allocations: 2.5 kB / 3.911 GB, free: 130.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001855/16.87, allocations: 251.7 kB / 3.911 GB, free: 130.4 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: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.03781/16.91, allocations: 8.29 MB / 3.92 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/16.91, allocations: 14.44 kB / 3.92 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006761/16.92, allocations: 1.136 MB / 3.921 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/16.93, allocations: 1.158 MB / 3.922 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04899/16.98, allocations: 10.72 MB / 3.932 GB, free: 125.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/16.98, allocations: 0.6158 MB / 3.933 GB, free: 125.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004876/16.98, allocations: 0.817 MB / 3.934 GB, free: 125.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04693/17.03, allocations: 11.32 MB / 3.945 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006804/17.03, allocations: 30.77 kB / 3.945 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00387/17.03, allocations: 351.9 kB / 3.945 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003506/17.03, allocations: 247.3 kB / 3.945 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03114/17.06, allocations: 9.323 MB / 3.954 GB, free: 124.4 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.1027/17.17, allocations: 46.09 MB / 3.999 GB, free: 98.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01501/17.18, allocations: 6.228 MB / 4.005 GB, free: 95.78 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01265/17.2, allocations: 5.425 MB / 4.011 GB, free: 94.08 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/17.2, allocations: 0.8206 MB / 4.012 GB, free: 93.31 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009269/17.21, allocations: 3.253 MB / 4.015 GB, free: 92.15 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006806/17.21, allocations: 0.5591 MB / 4.015 GB, free: 91.79 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=455): time 2.028e-05/17.21, allocations: 0 / 4.015 GB, free: 91.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=455): time 0.01853/17.23, allocations: 6.227 MB / 4.021 GB, free: 89.51 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/17.23, allocations: 158.9 kB / 4.022 GB, free: 89.38 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01875/17.25, allocations: 7.012 MB / 4.028 GB, free: 83.56 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001463/17.25, allocations: 105.7 kB / 4.028 GB, free: 83.45 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.006666/17.26, allocations: 4.267 MB / 4.033 GB, free: 79.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003292/17.26, allocations: 1.589 MB / 4.034 GB, free: 78.17 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/17.26, allocations: 120 kB / 4.034 GB, free: 78.05 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0006424/17.26, allocations: 0.5471 MB / 4.035 GB, free: 77.57 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008357/17.27, allocations: 2.908 MB / 4.038 GB, free: 75.03 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009935/17.28, allocations: 4.722 MB / 4.042 GB, free: 69.99 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/17.29, allocations: 3.969 MB / 4.046 GB, free: 66.68 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-05/17.29, allocations: 20 kB / 4.046 GB, free: 66.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02573/17.32, allocations: 8.53 MB / 4.055 GB, free: 59.21 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.006223/17.33, allocations: 28.65 MB / 4.083 GB, free: 28.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/17.33, allocations: 56 kB / 4.083 GB, free: 28.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/17.33, allocations: 100 kB / 4.083 GB, free: 28.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/17.34, allocations: 1.447 MB / 4.084 GB, free: 27.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001805/17.34, allocations: 122.1 kB / 4.084 GB, free: 27.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01291/17.35, allocations: 0.6284 MB / 4.085 GB, free: 26.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/17.35, allocations: 278.9 kB / 4.085 GB, free: 26.42 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/17.35, allocations: 6.156 kB / 4.085 GB, free: 26.42 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02327/17.38, allocations: 7.942 MB / 4.093 GB, free: 19.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/17.38, allocations: 59.23 kB / 4.093 GB, free: 19.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/17.38, allocations: 104 kB / 4.093 GB, free: 19.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01174/17.39, allocations: 1.445 MB / 4.094 GB, free: 18.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001884/17.39, allocations: 125.5 kB / 4.095 GB, free: 18.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01249/17.4, allocations: 0.6042 MB / 4.095 GB, free: 17.58 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/17.4, allocations: 282.7 kB / 4.095 GB, free: 17.31 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 746 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003204/17.41, allocations: 0.5389 MB / 4.096 GB, free: 16.77 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00365/17.41, allocations: 0.7063 MB / 4.097 GB, free: 16.05 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02237/17.43, allocations: 7.001 MB / 4.103 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.152e-05/17.43, allocations: 51.61 kB / 4.103 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/17.43, allocations: 3.938 kB / 4.103 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01573/17.45, allocations: 5.703 MB / 4.109 GB, free: 5.227 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 postOpt removeSimpleEquations (simulation): time 0.06833/17.52, allocations: 16.44 MB / 4.125 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/17.52, allocations: 0 / 4.125 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009696/17.53, allocations: 0.9206 MB / 4.126 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.715e-05/17.53, allocations: 16 kB / 4.126 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001327/17.53, allocations: 123.9 kB / 4.126 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-05/17.53, allocations: 12 kB / 4.126 GB, free: 4.289 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/17.53, allocations: 4 kB / 4.126 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7587/18.29, allocations: 10.59 MB / 4.137 GB, free: 136.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008157/18.29, allocations: 1.72 MB / 4.138 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003733/18.3, allocations: 100 kB / 4.138 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01216/18.31, allocations: 0.5622 MB / 4.139 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001606/18.31, allocations: 259.1 kB / 4.139 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001152/18.31, allocations: 185.1 kB / 4.139 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01772/18.33, allocations: 5.462 MB / 4.145 GB, free: 136.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.91e-07/18.33, allocations: 0 / 4.145 GB, free: 136.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02674/18.36, allocations: 4.918 MB / 4.149 GB, free: 136.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 447 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03353/18.39, allocations: 12.08 MB / 4.161 GB, free: 134.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02982/18.42, allocations: 11.26 MB / 4.172 GB, free: 134.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/18.42, allocations: 5.969 kB / 4.172 GB, free: 134.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008227/18.43, allocations: 3.125 MB / 4.175 GB, free: 134.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.037/18.47, allocations: 4.376 MB / 4.18 GB, free: 134 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06492/18.53, allocations: 19.54 MB / 4.199 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01289/18.54, allocations: 6.272 MB / 4.205 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03513/18.58, allocations: 6.567 MB / 4.211 GB, free: 130.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009312/18.59, allocations: 3.616 MB / 4.215 GB, free: 130.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.823e-06/18.59, allocations: 0 / 4.215 GB, free: 130.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5471/19.14, allocations: 237.1 MB / 4.446 GB, free: 9.762 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/19.14, allocations: 196.7 kB / 4.446 GB, free: 9.531 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/32.17, allocations: 4 kB / 4.446 GB, free: 9.527 MB / 0.9323 GB