Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.901/2.901, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.224e-05, allocations: 8.375 kB / 370.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1549, allocations: 67 MB / 437.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.376/1.531, allocations: 412.9 MB / 0.8306 GB, free: 124.6 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.531, allocations: 99.53 kB / 0.8307 GB, free: 124.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.755/7.286, allocations: 1.135 GB / 1.966 GB, free: 58.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/7.286, allocations: 5.766 kB / 1.966 GB, free: 58.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003604/7.287, allocations: 56.53 kB / 1.966 GB, free: 58.13 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006572/7.293, allocations: 2.079 MB / 1.968 GB, free: 57.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/7.293, allocations: 12.12 kB / 1.968 GB, free: 57.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004859/7.294, allocations: 172.2 kB / 1.968 GB, free: 57.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003731/7.298, allocations: 458 kB / 1.968 GB, free: 57.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009276/7.307, allocations: 2.284 MB / 1.971 GB, free: 56.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/7.307, allocations: 95.09 kB / 1.971 GB, free: 56.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/7.308, allocations: 125 kB / 1.971 GB, free: 56.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/7.311, allocations: 1.23 MB / 1.972 GB, free: 56.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/7.311, allocations: 1.688 kB / 1.972 GB, free: 56.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/7.311, allocations: 50 kB / 1.972 GB, free: 56.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/7.311, allocations: 30.92 kB / 1.972 GB, free: 56.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/7.313, allocations: 0.8163 MB / 1.973 GB, free: 56.25 MB / 0.5886 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.01242/7.326, allocations: 6.892 MB / 1.98 GB, free: 52.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/7.328, allocations: 1.131 MB / 1.981 GB, free: 51.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/7.328, allocations: 307.6 kB / 1.981 GB, free: 51.51 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00644/7.335, allocations: 2.908 MB / 1.984 GB, free: 49.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008018/7.336, allocations: 344.7 kB / 1.984 GB, free: 49.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001018/7.337, allocations: 91.25 kB / 1.984 GB, free: 49.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 4.408e-06/7.337, allocations: 2.156 kB / 1.984 GB, free: 49.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60): time 0.001958/7.339, allocations: 0.676 MB / 1.985 GB, free: 49.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/7.339, allocations: 162.2 kB / 1.985 GB, free: 49.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/7.342, allocations: 1.34 MB / 1.986 GB, free: 48.99 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002765/7.342, allocations: 43.42 kB / 1.986 GB, free: 48.96 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009062/7.343, allocations: 0.8879 MB / 1.987 GB, free: 48.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/7.343, allocations: 213.8 kB / 1.987 GB, free: 48.52 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/7.343, allocations: 23.69 kB / 1.988 GB, free: 48.52 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/7.343, allocations: 345.8 kB / 1.988 GB, free: 48.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/7.344, allocations: 272.6 kB / 1.988 GB, free: 48.21 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009866/7.345, allocations: 0.6924 MB / 1.989 GB, free: 47.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/7.346, allocations: 401.3 kB / 1.989 GB, free: 47.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/7.346, allocations: 3.812 kB / 1.989 GB, free: 47.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002753/7.349, allocations: 1.071 MB / 1.99 GB, free: 47.47 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009931/7.35, allocations: 4.558 MB / 1.995 GB, free: 42.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-05/7.35, allocations: 15.88 kB / 1.995 GB, free: 42.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.096e-05/7.35, allocations: 17.69 kB / 1.995 GB, free: 42.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/7.352, allocations: 248.7 kB / 1.995 GB, free: 42.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.358e-05/7.352, allocations: 24.78 kB / 1.995 GB, free: 42.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/7.354, allocations: 122.4 kB / 1.995 GB, free: 42.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/7.355, allocations: 56.89 kB / 1.995 GB, free: 42.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/7.355, allocations: 6.938 kB / 1.995 GB, free: 42.68 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00227/7.357, allocations: 0.8984 MB / 1.996 GB, free: 42.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/7.357, allocations: 20.7 kB / 1.996 GB, free: 42.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/7.357, allocations: 20.06 kB / 1.996 GB, free: 42.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/7.359, allocations: 244.8 kB / 1.996 GB, free: 42.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/7.359, allocations: 21.56 kB / 1.996 GB, free: 42.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/7.361, allocations: 117.7 kB / 1.996 GB, free: 42.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/7.361, allocations: 58.09 kB / 1.996 GB, free: 42.62 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.0003539/7.361, allocations: 164.2 kB / 1.997 GB, free: 42.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/7.362, allocations: 166.5 kB / 1.997 GB, free: 42.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/7.365, allocations: 0.9516 MB / 1.998 GB, free: 42.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/7.365, allocations: 6.031 kB / 1.998 GB, free: 42.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/7.365, allocations: 2.844 kB / 1.998 GB, free: 42.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001461/7.366, allocations: 0.7854 MB / 1.998 GB, free: 42.05 MB / 0.5886 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.005198/7.371, allocations: 2.144 MB / 2.001 GB, free: 41.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/7.371, allocations: 0 / 2.001 GB, free: 41.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/7.373, allocations: 134.6 kB / 2.001 GB, free: 41.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/7.373, allocations: 30.5 kB / 2.001 GB, free: 41.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-05/7.373, allocations: 21.64 kB / 2.001 GB, free: 41.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009956/7.374, allocations: 1.315 MB / 2.002 GB, free: 40.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/7.374, allocations: 1.781 kB / 2.002 GB, free: 40.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00294/7.377, allocations: 1.305 MB / 2.003 GB, free: 40.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/7.378, allocations: 347.3 kB / 2.004 GB, free: 39.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/7.379, allocations: 19.16 kB / 2.004 GB, free: 39.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/7.38, allocations: 97.72 kB / 2.004 GB, free: 39.88 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/7.38, allocations: 51.69 kB / 2.004 GB, free: 39.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/7.381, allocations: 37.73 kB / 2.004 GB, free: 39.87 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002215/7.383, allocations: 1.079 MB / 2.005 GB, free: 39.71 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.31e-07/7.383, allocations: 0 / 2.005 GB, free: 39.71 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00493/7.388, allocations: 1.02 MB / 2.006 GB, free: 39.55 MB / 0.5886 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.outCon.T) * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006615/7.394, allocations: 3.241 MB / 2.009 GB, free: 38.29 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00345/7.398, allocations: 1.409 MB / 2.01 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/7.398, allocations: 3.906 kB / 2.01 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/7.399, allocations: 449.7 kB / 2.011 GB, free: 37.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006183/7.405, allocations: 0.7341 MB / 2.012 GB, free: 37.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009479/7.415, allocations: 2.814 MB / 2.014 GB, free: 37.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/7.416, allocations: 1.409 MB / 2.016 GB, free: 36.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00439/7.42, allocations: 0.5967 MB / 2.016 GB, free: 36.21 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/7.422, allocations: 0.7 MB / 2.017 GB, free: 36.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.683e-06/7.422, allocations: 0 / 2.017 GB, free: 36.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/7.562, allocations: 57.65 MB / 2.073 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/7.562, allocations: 215.5 kB / 2.073 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.21/12.77, allocations: 0 / 2.073 GB, free: 5.652 MB / 0.5886 GB