Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.Stratified,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.573/4.573, allocations: 404.1 MB / 411.3 MB, free: 440 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.834e-05, allocations: 4 kB / 0.4945 GB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.6732, allocations: 92.68 MB / 0.585 GB, free: 2.324 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/1.963, allocations: 384.5 MB / 0.9605 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/1.963, allocations: 91.06 kB / 0.9606 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 14.99/16.95, allocations: 2.261 GB / 3.221 GB, free: 78.06 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.425e-06/16.95, allocations: 0 / 3.221 GB, free: 78.06 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.002324/16.95, allocations: 262 kB / 3.222 GB, free: 78.02 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2186 * Number of variables: 2186 Notification: Performance of Generate backend data structure: time 0.03956/16.99, allocations: 8.343 MB / 3.23 GB, free: 75.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/16.99, allocations: 10.69 kB / 3.23 GB, free: 75.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/17, allocations: 1.184 MB / 3.231 GB, free: 74.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0468/17.05, allocations: 11.93 MB / 3.243 GB, free: 73.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006434/17.05, allocations: 276.9 kB / 3.243 GB, free: 73.48 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00399/17.05, allocations: 0.4889 MB / 3.243 GB, free: 73.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03427/17.09, allocations: 8.937 MB / 3.252 GB, free: 73.44 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0438/17.13, allocations: 10.52 MB / 3.262 GB, free: 71.9 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008037/17.13, allocations: 31.55 kB / 3.262 GB, free: 71.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00449/17.14, allocations: 18.34 kB / 3.262 GB, free: 71.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005831/17.14, allocations: 258.4 kB / 3.263 GB, free: 71.9 MB / 0.8073 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.1662/17.3, allocations: 49.52 MB / 3.311 GB, free: 48.24 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02329/17.33, allocations: 6.146 MB / 3.317 GB, free: 47.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01968/17.35, allocations: 4.975 MB / 3.322 GB, free: 47.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002753/17.35, allocations: 0.5038 MB / 3.322 GB, free: 47.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0142/17.36, allocations: 3.657 MB / 3.326 GB, free: 47.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006427/17.37, allocations: 404.4 kB / 3.326 GB, free: 47.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=507): time 3.308e-05/17.37, allocations: 0 / 3.326 GB, free: 47.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=527): time 0.07631/17.45, allocations: 19.25 MB / 3.345 GB, free: 42.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/17.45, allocations: 242 kB / 3.345 GB, free: 42.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01521/17.46, allocations: 5.726 MB / 3.351 GB, free: 42.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001459/17.46, allocations: 29.58 kB / 3.351 GB, free: 42.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00612/17.47, allocations: 4.295 MB / 3.355 GB, free: 40.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00355/17.47, allocations: 1.755 MB / 3.357 GB, free: 39.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008121/17.48, allocations: 3.312 kB / 3.357 GB, free: 39.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0005593/17.48, allocations: 0.5578 MB / 3.357 GB, free: 38.83 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008387/17.48, allocations: 3.034 MB / 3.36 GB, free: 38.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/17.49, allocations: 4.878 MB / 3.365 GB, free: 36.65 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/17.51, allocations: 4.571 MB / 3.37 GB, free: 36.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.586e-05/17.51, allocations: 15.66 kB / 3.37 GB, free: 36.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.03074/17.54, allocations: 8.981 MB / 3.378 GB, free: 36.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01042/17.55, allocations: 27.94 MB / 3.406 GB, free: 23.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002447/17.55, allocations: 57.28 kB / 3.406 GB, free: 23.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/17.55, allocations: 100.7 kB / 3.406 GB, free: 23.17 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/17.57, allocations: 1.497 MB / 3.407 GB, free: 23.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001771/17.57, allocations: 131.5 kB / 3.407 GB, free: 23.17 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01328/17.58, allocations: 484.3 kB / 3.408 GB, free: 23.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002001/17.58, allocations: 298.6 kB / 3.408 GB, free: 23.12 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/17.58, allocations: 2.031 kB / 3.408 GB, free: 23.12 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02812/17.61, allocations: 8.294 MB / 3.416 GB, free: 22.94 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/17.61, allocations: 57.22 kB / 3.416 GB, free: 22.94 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/17.61, allocations: 103.8 kB / 3.416 GB, free: 22.94 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01393/17.62, allocations: 1.482 MB / 3.418 GB, free: 22.94 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001969/17.62, allocations: 129.5 kB / 3.418 GB, free: 22.94 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01384/17.64, allocations: 467.9 kB / 3.418 GB, free: 22.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002407/17.64, allocations: 299 kB / 3.419 GB, free: 22.88 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 261 * Number of states: 0 () * Number of discrete variables: 14 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (799): * Single equations (assignments): 797 * 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.003105/17.64, allocations: 365.5 kB / 3.419 GB, free: 22.68 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03668/17.68, allocations: 7.469 MB / 3.426 GB, free: 21.95 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004188/17.68, allocations: 0.6574 MB / 3.427 GB, free: 21.61 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04208/17.73, allocations: 8.954 MB / 3.436 GB, free: 21.08 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/17.73, allocations: 59.92 kB / 3.436 GB, free: 21.08 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/17.73, allocations: 2.844 kB / 3.436 GB, free: 21.08 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02795/17.75, allocations: 7.497 MB / 3.443 GB, free: 20.65 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06284/17.82, allocations: 18.34 MB / 3.461 GB, free: 16.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.65e-05/17.82, allocations: 10.12 kB / 3.461 GB, free: 16.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01027/17.83, allocations: 0.9796 MB / 3.462 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/17.83, allocations: 0.8681 MB / 3.463 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001289/17.83, allocations: 89.41 kB / 3.463 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/17.84, allocations: 11.9 MB / 3.475 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-05/17.84, allocations: 13.5 kB / 3.475 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03489/17.88, allocations: 14.44 MB / 3.489 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007589/17.89, allocations: 1.707 MB / 3.49 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003303/17.89, allocations: 44.06 kB / 3.49 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01215/17.9, allocations: 0.5613 MB / 3.491 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001672/17.9, allocations: 352.5 kB / 3.491 GB, free: 7.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001036/17.91, allocations: 206.4 kB / 3.491 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01288/17.92, allocations: 4.386 MB / 3.496 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.72e-07/17.92, allocations: 0 / 3.496 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02514/17.94, allocations: 3.723 MB / 3.499 GB, free: 140 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (499): * Single equations (assignments): 477 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.7374/18.68, allocations: 17.66 MB / 3.517 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03349/18.71, allocations: 11.98 MB / 3.528 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.118e-05/18.71, allocations: 4.406 kB / 3.528 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0114/18.73, allocations: 3.794 MB / 3.532 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03533/18.76, allocations: 3.633 MB / 3.536 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06603/18.83, allocations: 20.31 MB / 3.555 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01296/18.84, allocations: 6.488 MB / 3.562 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.03794/18.88, allocations: 5.872 MB / 3.567 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01166/18.89, allocations: 3.794 MB / 3.571 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.162e-06/18.89, allocations: 0 / 3.571 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.58/19.47, allocations: 213.6 MB / 3.78 GB, free: 30.34 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002325/19.47, allocations: 168.9 kB / 3.78 GB, free: 30.14 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 14.96/34.43, allocations: 3.828 kB / 3.78 GB, free: 30.14 MB / 0.8542 GB