Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.331/4.331, allocations: 464.6 MB / 476.8 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.66e-05, allocations: 4 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2928, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.546, allocations: 416.4 MB / 1.084 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/1.546, allocations: 86.06 kB / 1.085 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.201/4.747, allocations: 0.5966 GB / 1.681 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.504e-06/4.747, allocations: 7.875 kB / 1.681 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001879/4.747, allocations: 43.98 kB / 1.681 GB, free: 115.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.005469/4.753, allocations: 1.841 MB / 1.683 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/4.753, allocations: 12.03 kB / 1.683 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002774/4.753, allocations: 131.3 kB / 1.683 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/4.756, allocations: 398.4 kB / 1.683 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004226/4.76, allocations: 1.3 MB / 1.685 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/4.762, allocations: 215.9 kB / 1.685 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/4.762, allocations: 104 kB / 1.685 GB, free: 111 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/4.764, allocations: 1.01 MB / 1.686 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/4.764, allocations: 0.5156 kB / 1.686 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/4.764, allocations: 36 kB / 1.686 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/4.765, allocations: 31.89 kB / 1.686 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/4.767, allocations: 0.781 MB / 1.687 GB, free: 109.1 MB / 0.8855 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.01196/4.779, allocations: 4.824 MB / 1.692 GB, free: 104 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/4.78, allocations: 0.6137 MB / 1.692 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007515/4.781, allocations: 348.8 kB / 1.693 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/4.782, allocations: 1.057 MB / 1.694 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/4.783, allocations: 426.5 kB / 1.694 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 4.208e-06/4.783, allocations: 0 / 1.694 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002406/4.786, allocations: 0.7719 MB / 1.695 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/4.786, allocations: 196.6 kB / 1.695 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/4.788, allocations: 1.025 MB / 1.696 GB, free: 99.34 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002486/4.788, allocations: 49.7 kB / 1.696 GB, free: 99.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006003/4.789, allocations: 0.5919 MB / 1.697 GB, free: 98.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/4.789, allocations: 256.4 kB / 1.697 GB, free: 98.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/4.789, allocations: 20 kB / 1.697 GB, free: 98.41 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/4.789, allocations: 343.9 kB / 1.697 GB, free: 98.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000884/4.79, allocations: 326 kB / 1.697 GB, free: 97.75 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/4.791, allocations: 0.5987 MB / 1.698 GB, free: 97.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009756/4.792, allocations: 408.9 kB / 1.698 GB, free: 96.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/4.792, allocations: 7.938 kB / 1.698 GB, free: 96.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002933/4.795, allocations: 1.072 MB / 1.699 GB, free: 95.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003594/4.796, allocations: 1.636 MB / 1.701 GB, free: 93.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/4.796, allocations: 4 kB / 1.701 GB, free: 93.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/4.796, allocations: 11.95 kB / 1.701 GB, free: 93.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/4.798, allocations: 300.8 kB / 1.701 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007536/4.799, allocations: 1.193 MB / 1.703 GB, free: 92.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/4.802, allocations: 217.2 kB / 1.703 GB, free: 92.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/4.802, allocations: 59.91 kB / 1.703 GB, free: 92.04 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/4.802, allocations: 6.406 kB / 1.703 GB, free: 92.03 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002465/4.805, allocations: 0.9327 MB / 1.704 GB, free: 91.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/4.805, allocations: 4 kB / 1.704 GB, free: 91.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/4.805, allocations: 15.94 kB / 1.704 GB, free: 91.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/4.807, allocations: 285.8 kB / 1.704 GB, free: 90.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/4.807, allocations: 11.98 kB / 1.704 GB, free: 90.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/4.809, allocations: 199.5 kB / 1.704 GB, free: 90.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/4.81, allocations: 63.58 kB / 1.704 GB, free: 90.55 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003761/4.81, allocations: 170.9 kB / 1.704 GB, free: 90.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/4.81, allocations: 146.2 kB / 1.705 GB, free: 90.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/4.813, allocations: 1.06 MB / 1.706 GB, free: 89.17 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/4.813, allocations: 8 kB / 1.706 GB, free: 89.16 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/4.813, allocations: 3.938 kB / 1.706 GB, free: 89.16 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/4.813, allocations: 3.984 kB / 1.706 GB, free: 89.15 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/4.819, allocations: 2.327 MB / 1.708 GB, free: 86.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/4.819, allocations: 4 kB / 1.708 GB, free: 86.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/4.821, allocations: 228 kB / 1.708 GB, free: 86.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/4.821, allocations: 4 kB / 1.708 GB, free: 86.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/4.821, allocations: 35.91 kB / 1.708 GB, free: 86.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006333/4.822, allocations: 1.188 MB / 1.709 GB, free: 85.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/4.822, allocations: 0 / 1.709 GB, free: 85.24 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003484/4.825, allocations: 1.653 MB / 1.711 GB, free: 83.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008993/4.826, allocations: 358.9 kB / 1.711 GB, free: 83.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/4.826, allocations: 23.98 kB / 1.711 GB, free: 83.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/4.828, allocations: 127.9 kB / 1.711 GB, free: 82.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/4.829, allocations: 76.56 kB / 1.711 GB, free: 82.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/4.829, allocations: 43.03 kB / 1.712 GB, free: 82.85 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001488/4.83, allocations: 0.7803 MB / 1.712 GB, free: 82.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/4.83, allocations: 4 kB / 1.712 GB, free: 82.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003588/4.834, allocations: 0.8776 MB / 1.713 GB, free: 81.19 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006087/4.84, allocations: 3.535 MB / 1.717 GB, free: 77.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00425/4.844, allocations: 1.593 MB / 1.718 GB, free: 75.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/4.844, allocations: 0 / 1.718 GB, free: 75.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/4.846, allocations: 488.7 kB / 1.719 GB, free: 75.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/4.851, allocations: 0.5644 MB / 1.719 GB, free: 74.94 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007038/4.858, allocations: 2.225 MB / 1.721 GB, free: 72.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/4.858, allocations: 1.209 MB / 1.723 GB, free: 71.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003064/4.862, allocations: 414 kB / 1.723 GB, free: 71.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009755/4.863, allocations: 0.5304 MB / 1.723 GB, free: 70.49 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/4.863, allocations: 0 / 1.723 GB, free: 70.49 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/4.984, allocations: 47.35 MB / 1.77 GB, free: 23.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002988/4.984, allocations: 260.7 kB / 1.77 GB, free: 23.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.958/9.942, allocations: 0 / 1.77 GB, free: 23.34 MB / 0.8855 GB