Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.182/4.182, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.768e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2456, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.39/8.636, allocations: 2.511 GB / 3.189 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004047/8.636, allocations: 88.8 kB / 3.189 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 13.68/22.31, allocations: 2.606 GB / 5.795 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.404e-06/22.31, allocations: 3.938 kB / 5.795 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001559/22.31, allocations: 167 kB / 5.795 GB, free: 121.7 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1252 * Number of variables: 1252 Notification: Performance of Generate backend data structure: time 0.02996/22.34, allocations: 6.198 MB / 5.801 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/22.34, allocations: 8.844 kB / 5.801 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003637/22.35, allocations: 0.6712 MB / 5.802 GB, free: 119 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/22.36, allocations: 1.497 MB / 5.804 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02787/22.39, allocations: 7.448 MB / 5.811 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006386/22.39, allocations: 375.9 kB / 5.811 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002809/22.39, allocations: 0.4974 MB / 5.812 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02489/22.42, allocations: 6.573 MB / 5.818 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003551/22.42, allocations: 7.75 kB / 5.818 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002115/22.42, allocations: 205.4 kB / 5.818 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/22.42, allocations: 221.7 kB / 5.819 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02071/22.44, allocations: 5.666 MB / 5.824 GB, free: 109.9 MB / 0.9636 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.06978/22.51, allocations: 28.14 MB / 5.852 GB, free: 82.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009714/22.52, allocations: 4.203 MB / 5.856 GB, free: 77.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006275/22.53, allocations: 2.475 MB / 5.858 GB, free: 75.26 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/22.53, allocations: 0.9152 MB / 5.859 GB, free: 74.17 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006341/22.54, allocations: 2.144 MB / 5.861 GB, free: 71.99 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=324): time 8.786e-06/22.54, allocations: 0 / 5.861 GB, free: 71.99 MB / 0.9636 GB Notification: Performance of matching and sorting (n=328): time 0.03582/22.57, allocations: 9.622 MB / 5.87 GB, free: 62.21 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/22.57, allocations: 240.2 kB / 5.871 GB, free: 61.92 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01351/22.59, allocations: 4.547 MB / 5.875 GB, free: 57.38 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001254/22.59, allocations: 93.7 kB / 5.875 GB, free: 57.28 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.005115/22.59, allocations: 2.741 MB / 5.878 GB, free: 54.51 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002528/22.59, allocations: 1.132 MB / 5.879 GB, free: 53.39 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008836/22.6, allocations: 68 kB / 5.879 GB, free: 53.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004623/22.6, allocations: 440.9 kB / 5.879 GB, free: 52.88 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00512/22.6, allocations: 1.728 MB / 5.881 GB, free: 51.15 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006285/22.61, allocations: 2.62 MB / 5.884 GB, free: 48.21 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006227/22.61, allocations: 2.255 MB / 5.886 GB, free: 45.93 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/22.61, allocations: 4 kB / 5.886 GB, free: 45.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01581/22.63, allocations: 5.008 MB / 5.891 GB, free: 40.87 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001404/22.63, allocations: 6.216 MB / 5.897 GB, free: 34.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.487e-05/22.63, allocations: 12 kB / 5.897 GB, free: 34.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/22.63, allocations: 215.9 kB / 5.897 GB, free: 33.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007016/22.64, allocations: 0.7606 MB / 5.898 GB, free: 33.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/22.64, allocations: 3.409 MB / 5.901 GB, free: 29.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/22.65, allocations: 0.5969 MB / 5.902 GB, free: 28.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/22.66, allocations: 132 kB / 5.902 GB, free: 28.78 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/22.66, allocations: 4 kB / 5.902 GB, free: 28.78 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01429/22.67, allocations: 4.548 MB / 5.906 GB, free: 24.19 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.674e-05/22.67, allocations: 16 kB / 5.906 GB, free: 24.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009197/22.67, allocations: 214.3 kB / 5.907 GB, free: 23.96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006729/22.68, allocations: 0.745 MB / 5.907 GB, free: 23.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/22.68, allocations: 4.058 MB / 5.911 GB, free: 18.89 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/22.7, allocations: 0.5813 MB / 5.912 GB, free: 18.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/22.7, allocations: 140 kB / 5.912 GB, free: 18.17 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 392 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001868/22.7, allocations: 337.8 kB / 5.912 GB, free: 17.83 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002406/22.7, allocations: 0.5018 MB / 5.913 GB, free: 17.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/22.72, allocations: 4.809 MB / 5.917 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.546e-05/22.72, allocations: 32 kB / 5.917 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/22.72, allocations: 0 / 5.917 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01187/22.73, allocations: 3.991 MB / 5.921 GB, free: 8.363 MB / 0.9636 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.8935/23.62, allocations: 11.86 MB / 5.933 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/23.62, allocations: 4.703 kB / 5.933 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007423/23.63, allocations: 0.7502 MB / 5.934 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008621/23.63, allocations: 160.7 kB / 5.934 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008231/23.63, allocations: 94.12 kB / 5.934 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/23.64, allocations: 3.316 MB / 5.937 GB, free: 123 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/23.64, allocations: 9.562 kB / 5.937 GB, free: 123 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02302/23.66, allocations: 7.891 MB / 5.945 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00627/23.66, allocations: 1.25 MB / 5.946 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002646/23.67, allocations: 81.14 kB / 5.946 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009814/23.68, allocations: 0.4979 MB / 5.947 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001187/23.68, allocations: 203.2 kB / 5.947 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005873/23.68, allocations: 119.7 kB / 5.947 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01178/23.69, allocations: 3.566 MB / 5.95 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.072e-06/23.69, allocations: 0.9375 kB / 5.95 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02327/23.71, allocations: 3.181 MB / 5.954 GB, free: 121.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.03129/23.75, allocations: 12.39 MB / 5.966 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01943/23.76, allocations: 7.197 MB / 5.973 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.798e-05/23.76, allocations: 5.312 kB / 5.973 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006284/23.77, allocations: 2.267 MB / 5.975 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02678/23.8, allocations: 3.069 MB / 5.978 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04909/23.85, allocations: 13.69 MB / 5.991 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01248/23.86, allocations: 4.705 MB / 5.996 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03186/23.89, allocations: 4.406 MB / 6 GB, free: 114 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008889/23.9, allocations: 2.484 MB / 6.003 GB, free: 114 MB / 0.9636 GB Notification: Performance of SimCode: time 1.653e-06/23.9, allocations: 3.094 kB / 6.003 GB, free: 114 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.448/24.35, allocations: 214.6 MB / 6.212 GB, free: 32.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/24.35, allocations: 248.3 kB / 6.212 GB, free: 32.46 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/37.56, allocations: 0 / 6.212 GB, free: 32.46 MB / 0.9636 GB