Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.807/2.807, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.367e-05, allocations: 4 kB / 370.6 MB, free: 7.855 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 67.01 MB / 437.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.398/1.537, allocations: 406.3 MB / 0.8241 GB, free: 129.9 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.537, allocations: 90.2 kB / 0.8242 GB, free: 129.8 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.914/7.452, allocations: 1.103 GB / 1.927 GB, free: 70.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.896e-06/7.452, allocations: 1.219 kB / 1.927 GB, free: 70.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0005231/7.452, allocations: 63.36 kB / 1.927 GB, free: 70.25 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.007629/7.46, allocations: 2.178 MB / 1.929 GB, free: 69.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/7.46, allocations: 7.656 kB / 1.929 GB, free: 69.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006265/7.461, allocations: 185.3 kB / 1.929 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/7.464, allocations: 373.9 kB / 1.93 GB, free: 69.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/7.474, allocations: 2.46 MB / 1.932 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/7.474, allocations: 110.5 kB / 1.932 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004875/7.475, allocations: 134.7 kB / 1.932 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/7.478, allocations: 1.342 MB / 1.934 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.843e-05/7.478, allocations: 1.562 kB / 1.934 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/7.478, allocations: 53.06 kB / 1.934 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/7.479, allocations: 34.66 kB / 1.934 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/7.481, allocations: 0.8934 MB / 1.935 GB, free: 68.4 MB / 0.6042 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.01482/7.496, allocations: 7.141 MB / 1.942 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/7.499, allocations: 1.168 MB / 1.943 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008825/7.5, allocations: 352.4 kB / 1.943 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005553/7.505, allocations: 2.261 MB / 1.945 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009313/7.506, allocations: 387.6 kB / 1.946 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001239/7.507, allocations: 91.53 kB / 1.946 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=68): time 5.851e-06/7.507, allocations: 0 / 1.946 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68): time 0.002332/7.51, allocations: 0.7319 MB / 1.946 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/7.51, allocations: 168.8 kB / 1.947 GB, free: 62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/7.513, allocations: 1.289 MB / 1.948 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002721/7.513, allocations: 45.77 kB / 1.948 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009849/7.514, allocations: 0.905 MB / 1.949 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/7.514, allocations: 240.7 kB / 1.949 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/7.515, allocations: 16.44 kB / 1.949 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000105/7.515, allocations: 352.4 kB / 1.949 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007599/7.515, allocations: 286.5 kB / 1.95 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009759/7.516, allocations: 0.6702 MB / 1.95 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/7.517, allocations: 415.2 kB / 1.951 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/7.517, allocations: 3 kB / 1.951 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00288/7.52, allocations: 1.096 MB / 1.952 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000878/7.521, allocations: 3.728 MB / 1.955 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.218e-05/7.521, allocations: 15.19 kB / 1.955 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-05/7.521, allocations: 16.97 kB / 1.955 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/7.523, allocations: 250.6 kB / 1.956 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.522e-05/7.523, allocations: 21.33 kB / 1.956 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/7.526, allocations: 130.2 kB / 1.956 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/7.526, allocations: 62.42 kB / 1.956 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/7.526, allocations: 2.406 kB / 1.956 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002426/7.529, allocations: 0.9214 MB / 1.957 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/7.529, allocations: 10.03 kB / 1.957 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/7.529, allocations: 17.25 kB / 1.957 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/7.531, allocations: 253.9 kB / 1.957 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/7.531, allocations: 20.67 kB / 1.957 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/7.533, allocations: 123.9 kB / 1.957 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/7.534, allocations: 56.47 kB / 1.957 GB, free: 56.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0004134/7.534, allocations: 168.9 kB / 1.957 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/7.535, allocations: 169.4 kB / 1.958 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/7.537, allocations: 0.9881 MB / 1.959 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/7.537, allocations: 10.77 kB / 1.959 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/7.537, allocations: 0 / 1.959 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/7.539, allocations: 0.6783 MB / 1.959 GB, free: 55.99 MB / 0.6042 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.005797/7.545, allocations: 2.284 MB / 1.961 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/7.545, allocations: 0 / 1.961 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/7.546, allocations: 157.9 kB / 1.962 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/7.547, allocations: 29.19 kB / 1.962 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/7.547, allocations: 25.55 kB / 1.962 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/7.548, allocations: 1.305 MB / 1.963 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/7.548, allocations: 0 / 1.963 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/7.551, allocations: 1.398 MB / 1.964 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/7.553, allocations: 344.3 kB / 1.965 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/7.553, allocations: 17.39 kB / 1.965 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/7.556, allocations: 114.2 kB / 1.965 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/7.556, allocations: 58.28 kB / 1.965 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/7.556, allocations: 36.34 kB / 1.965 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002411/7.559, allocations: 0.9876 MB / 1.966 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.535e-06/7.559, allocations: 0 / 1.966 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005597/7.564, allocations: 1.134 MB / 1.967 GB, free: 53.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006384/7.571, allocations: 3.184 MB / 1.97 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003422/7.574, allocations: 1.464 MB / 1.971 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/7.574, allocations: 7.672 kB / 1.971 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/7.576, allocations: 478.8 kB / 1.972 GB, free: 52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006318/7.582, allocations: 0.7577 MB / 1.973 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/7.591, allocations: 2.879 MB / 1.975 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/7.593, allocations: 1.446 MB / 1.977 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004582/7.597, allocations: 0.5493 MB / 1.977 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/7.599, allocations: 0.7197 MB / 1.978 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.455e-06/7.599, allocations: 1.219 kB / 1.978 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/7.742, allocations: 58.53 MB / 2.035 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/7.742, allocations: 216.9 kB / 2.035 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.106/12.85, allocations: 3.938 kB / 2.035 GB, free: 46.71 MB / 0.6042 GB