Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.54/4.54, allocations: 404.1 MB / 411.3 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.604e-05, allocations: 4 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6952, allocations: 92.69 MB / 0.5851 GB, free: 2.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/1.981, allocations: 383.8 MB / 0.9598 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/1.982, allocations: 102.9 kB / 0.9599 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.094/4.076, allocations: 386 MB / 1.337 GB, free: 47.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.374e-06/4.076, allocations: 0 / 1.337 GB, free: 47.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000364/4.076, allocations: 44 kB / 1.337 GB, free: 47.85 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01007/4.086, allocations: 1.938 MB / 1.339 GB, free: 45.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/4.087, allocations: 16.02 kB / 1.339 GB, free: 45.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/4.089, allocations: 237.4 kB / 1.339 GB, free: 45.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/4.101, allocations: 2.215 MB / 1.341 GB, free: 43.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/4.101, allocations: 52.52 kB / 1.341 GB, free: 43.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000712/4.102, allocations: 92.52 kB / 1.341 GB, free: 43.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006924/4.109, allocations: 1.618 MB / 1.343 GB, free: 41.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00538/4.114, allocations: 1.756 MB / 1.345 GB, free: 39.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.704e-05/4.114, allocations: 15.83 kB / 1.345 GB, free: 39.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/4.115, allocations: 4 kB / 1.345 GB, free: 39.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-05/4.115, allocations: 40 kB / 1.345 GB, free: 39.66 MB / 0.7761 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.02241/4.137, allocations: 8.356 MB / 1.353 GB, free: 30.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/4.14, allocations: 1.288 MB / 1.354 GB, free: 29.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/4.142, allocations: 0.631 MB / 1.355 GB, free: 29.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/4.154, allocations: 3.638 MB / 1.358 GB, free: 25.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/4.154, allocations: 51.28 kB / 1.358 GB, free: 25.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=95): time 4.418e-06/4.154, allocations: 4 kB / 1.358 GB, free: 25.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=98): time 0.0141/4.168, allocations: 3.438 MB / 1.362 GB, free: 21.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/4.168, allocations: 119.6 kB / 1.362 GB, free: 21.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/4.171, allocations: 1.206 MB / 1.363 GB, free: 20.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003243/4.171, allocations: 29.64 kB / 1.363 GB, free: 20.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/4.172, allocations: 0.7832 MB / 1.364 GB, free: 19.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004731/4.172, allocations: 335.1 kB / 1.364 GB, free: 19.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/4.172, allocations: 0 / 1.364 GB, free: 19.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001456/4.173, allocations: 369.8 kB / 1.364 GB, free: 18.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/4.174, allocations: 0.6871 MB / 1.365 GB, free: 18.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/4.176, allocations: 1.045 MB / 1.366 GB, free: 16.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00547/4.182, allocations: 1.228 MB / 1.367 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/4.182, allocations: 4 kB / 1.367 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.008662/4.191, allocations: 2.249 MB / 1.37 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009247/4.192, allocations: 4.269 MB / 1.374 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/4.192, allocations: 19.94 kB / 1.374 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.69e-05/4.192, allocations: 20 kB / 1.374 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/4.195, allocations: 371.5 kB / 1.374 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.451e-05/4.195, allocations: 27.86 kB / 1.374 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/4.198, allocations: 95.73 kB / 1.374 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/4.199, allocations: 67.98 kB / 1.374 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/4.199, allocations: 6.5 kB / 1.374 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007917/4.207, allocations: 2.072 MB / 1.376 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/4.207, allocations: 12 kB / 1.376 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/4.207, allocations: 20 kB / 1.376 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/4.21, allocations: 367.4 kB / 1.377 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/4.21, allocations: 31.86 kB / 1.377 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/4.212, allocations: 92.03 kB / 1.377 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/4.213, allocations: 67.98 kB / 1.377 GB, free: 5.469 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 193 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004242/4.213, allocations: 140.6 kB / 1.377 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004513/4.218, allocations: 1.262 MB / 1.378 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005392/4.218, allocations: 134.3 kB / 1.378 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/4.223, allocations: 1.517 MB / 1.38 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/4.224, allocations: 12 kB / 1.38 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/4.224, allocations: 0 / 1.38 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004116/4.228, allocations: 1.56 MB / 1.381 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6268/4.855, allocations: 4.687 MB / 1.386 GB, free: 197.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/4.855, allocations: 8.281 kB / 1.386 GB, free: 197.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/4.857, allocations: 193.2 kB / 1.386 GB, free: 197.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006317/4.857, allocations: 133.7 kB / 1.386 GB, free: 197.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/4.857, allocations: 19.28 kB / 1.386 GB, free: 197.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/4.859, allocations: 1.768 MB / 1.388 GB, free: 196.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/4.859, allocations: 11.66 kB / 1.388 GB, free: 196.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00644/4.866, allocations: 2.498 MB / 1.39 GB, free: 195.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/4.867, allocations: 379.8 kB / 1.391 GB, free: 195.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/4.867, allocations: 12.92 kB / 1.391 GB, free: 195.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/4.869, allocations: 54.02 kB / 1.391 GB, free: 195.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/4.869, allocations: 77.84 kB / 1.391 GB, free: 195.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/4.87, allocations: 40.92 kB / 1.391 GB, free: 195.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002137/4.872, allocations: 0.9107 MB / 1.392 GB, free: 195.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.01e-07/4.872, allocations: 0 / 1.392 GB, free: 195.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004616/4.876, allocations: 0.7866 MB / 1.393 GB, free: 195.4 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 95 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008132/4.884, allocations: 4.553 MB / 1.397 GB, free: 193.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005577/4.89, allocations: 2.398 MB / 1.399 GB, free: 193.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/4.89, allocations: 3.969 kB / 1.399 GB, free: 193.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/4.892, allocations: 0.5868 MB / 1.4 GB, free: 193 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005839/4.898, allocations: 0.6501 MB / 1.401 GB, free: 193 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/4.908, allocations: 3.762 MB / 1.404 GB, free: 192.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/4.91, allocations: 1.736 MB / 1.406 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006663/4.917, allocations: 1.184 MB / 1.407 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/4.918, allocations: 0.6152 MB / 1.408 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of SimCode: time 1.282e-06/4.918, allocations: 3.281 kB / 1.408 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.152/5.07, allocations: 43.69 MB / 1.45 GB, free: 190 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00104/5.071, allocations: 202.1 kB / 1.451 GB, free: 189.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.023/10.09, allocations: 6.531 kB / 1.451 GB, free: 189.7 MB / 0.7761 GB