Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.097/4.097, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.024e-05, allocations: 3.938 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2292, allocations: 98.72 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.822/8.051, allocations: 2.506 GB / 3.136 GB, free: 106.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/8.051, allocations: 93.08 kB / 3.136 GB, free: 106.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 13.98/22.03, allocations: 2.599 GB / 5.735 GB, free: 82.81 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.216e-06/22.03, allocations: 0 / 5.735 GB, free: 82.81 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001439/22.04, allocations: 166.7 kB / 5.735 GB, free: 82.79 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1251 * Number of variables: 1251 Notification: Performance of Generate backend data structure: time 0.02833/22.06, allocations: 6.193 MB / 5.741 GB, free: 80.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/22.06, allocations: 9.812 kB / 5.741 GB, free: 80.2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003163/22.07, allocations: 0.6706 MB / 5.742 GB, free: 80.13 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/22.08, allocations: 1.489 MB / 5.743 GB, free: 79.75 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02752/22.11, allocations: 7.501 MB / 5.75 GB, free: 78.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006489/22.11, allocations: 373.2 kB / 5.751 GB, free: 78.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/22.11, allocations: 0.5003 MB / 5.751 GB, free: 78.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02546/22.14, allocations: 6.544 MB / 5.758 GB, free: 78.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003938/22.14, allocations: 15.81 kB / 5.758 GB, free: 78.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002525/22.14, allocations: 201 kB / 5.758 GB, free: 78.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003703/22.14, allocations: 220.2 kB / 5.758 GB, free: 78.32 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/22.16, allocations: 5.662 MB / 5.764 GB, free: 78.3 MB / 0.9011 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.07027/22.23, allocations: 28.07 MB / 5.791 GB, free: 67.91 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/22.24, allocations: 4.219 MB / 5.795 GB, free: 67.29 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006615/22.25, allocations: 2.456 MB / 5.798 GB, free: 67.24 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/22.25, allocations: 0.92 MB / 5.798 GB, free: 66.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006146/22.26, allocations: 2.107 MB / 5.801 GB, free: 66.17 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=322): time 8.776e-06/22.26, allocations: 0 / 5.801 GB, free: 66.17 MB / 0.9011 GB Notification: Performance of matching and sorting (n=326): time 0.03583/22.29, allocations: 9.514 MB / 5.81 GB, free: 61.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/22.29, allocations: 243.2 kB / 5.81 GB, free: 61.64 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01417/22.31, allocations: 4.533 MB / 5.814 GB, free: 60.08 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/22.31, allocations: 96.44 kB / 5.815 GB, free: 60 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005306/22.31, allocations: 2.766 MB / 5.817 GB, free: 57.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002547/22.32, allocations: 1.124 MB / 5.818 GB, free: 57.03 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/22.32, allocations: 67.06 kB / 5.818 GB, free: 56.98 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000338/22.32, allocations: 446.2 kB / 5.819 GB, free: 56.62 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004937/22.32, allocations: 1.72 MB / 5.821 GB, free: 55.98 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006428/22.33, allocations: 2.611 MB / 5.823 GB, free: 54.39 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006317/22.33, allocations: 2.255 MB / 5.825 GB, free: 53.55 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.626e-05/22.33, allocations: 3.406 kB / 5.825 GB, free: 53.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01549/22.35, allocations: 4.944 MB / 5.83 GB, free: 51.67 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001689/22.35, allocations: 6.227 MB / 5.836 GB, free: 44.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/22.35, allocations: 18.19 kB / 5.836 GB, free: 44.97 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/22.35, allocations: 206.5 kB / 5.836 GB, free: 44.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007236/22.36, allocations: 0.7567 MB / 5.837 GB, free: 44.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/22.37, allocations: 3.418 MB / 5.841 GB, free: 41.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/22.38, allocations: 0.5946 MB / 5.841 GB, free: 41.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/22.38, allocations: 130.3 kB / 5.841 GB, free: 41.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/22.38, allocations: 8.562 kB / 5.841 GB, free: 41.17 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01487/22.39, allocations: 4.48 MB / 5.846 GB, free: 37.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-05/22.39, allocations: 19.94 kB / 5.846 GB, free: 37.24 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/22.39, allocations: 209.3 kB / 5.846 GB, free: 37.06 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006748/22.4, allocations: 0.7426 MB / 5.847 GB, free: 36.44 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/22.41, allocations: 4.047 MB / 5.85 GB, free: 32.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/22.42, allocations: 0.5759 MB / 5.851 GB, free: 32.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/22.42, allocations: 135.1 kB / 5.851 GB, free: 31.9 MB / 0.9011 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 (397): * Single equations (assignments): 391 * 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.001838/22.42, allocations: 346.6 kB / 5.852 GB, free: 31.55 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002474/22.42, allocations: 0.494 MB / 5.852 GB, free: 31.05 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/22.44, allocations: 4.741 MB / 5.857 GB, free: 27.02 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-05/22.44, allocations: 35.88 kB / 5.857 GB, free: 26.98 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/22.44, allocations: 0 / 5.857 GB, free: 26.98 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01183/22.45, allocations: 3.921 MB / 5.86 GB, free: 23.51 MB / 0.9011 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.03723/22.49, allocations: 11.68 MB / 5.872 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/22.49, allocations: 0 / 5.872 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007118/22.5, allocations: 0.7429 MB / 5.873 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000922/22.5, allocations: 164.2 kB / 5.873 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009095/22.5, allocations: 90.36 kB / 5.873 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/22.5, allocations: 3.318 MB / 5.876 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/22.5, allocations: 7.938 kB / 5.876 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/22.52, allocations: 7.716 MB / 5.884 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005726/22.53, allocations: 1.206 MB / 5.885 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002346/22.53, allocations: 87.84 kB / 5.885 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009295/22.54, allocations: 0.5045 MB / 5.885 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/22.54, allocations: 201.4 kB / 5.886 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005576/22.54, allocations: 116.5 kB / 5.886 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.02011/22.56, allocations: 4.105 MB / 5.89 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.122e-06/22.56, allocations: 0 / 5.89 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02329/22.58, allocations: 3.175 MB / 5.893 GB, free: 12.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (314): * Single equations (assignments): 306 * 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.03187/22.62, allocations: 12.11 MB / 5.905 GB, free: 1.266 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.767/23.38, allocations: 7.207 MB / 5.912 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.772e-05/23.38, allocations: 3.531 kB / 5.912 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006813/23.39, allocations: 2.247 MB / 5.914 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02811/23.42, allocations: 3.067 MB / 5.917 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04455/23.46, allocations: 13.63 MB / 5.93 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008687/23.47, allocations: 4.692 MB / 5.935 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.02481/23.5, allocations: 4.43 MB / 5.939 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0068/23.5, allocations: 2.497 MB / 5.942 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.422e-06/23.5, allocations: 1.656 kB / 5.942 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4831/23.99, allocations: 214.3 MB / 6.151 GB, free: 48.04 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/23.99, allocations: 243.2 kB / 6.151 GB, free: 47.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/36.27, allocations: 0 / 6.151 GB, free: 47.7 MB / 0.9167 GB