Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.392/4.392, allocations: 404.1 MB / 411.3 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.133e-05, allocations: 8 kB / 0.4945 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.6745, allocations: 92.68 MB / 0.585 GB, free: 2.312 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.29/8.965, allocations: 2.467 GB / 3.052 GB, free: 113.1 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/8.965, allocations: 90.77 kB / 3.052 GB, free: 113 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 13.25/22.21, allocations: 2.208 GB / 5.26 GB, free: 69.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/22.21, allocations: 0 / 5.26 GB, free: 69.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001326/22.21, allocations: 154 kB / 5.26 GB, free: 69.04 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1139 * Number of variables: 1139 Notification: Performance of Generate backend data structure: time 0.02734/22.24, allocations: 5.735 MB / 5.266 GB, free: 66.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/22.24, allocations: 10.52 kB / 5.266 GB, free: 66.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/22.26, allocations: 1.33 MB / 5.267 GB, free: 65.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02991/22.29, allocations: 7.902 MB / 5.275 GB, free: 61.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/22.29, allocations: 144 kB / 5.275 GB, free: 61.83 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/22.29, allocations: 272 kB / 5.275 GB, free: 61.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01598/22.3, allocations: 4.702 MB / 5.28 GB, free: 57.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/22.32, allocations: 5.392 MB / 5.285 GB, free: 51.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002122/22.32, allocations: 11.84 kB / 5.285 GB, free: 51.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/22.32, allocations: 8 kB / 5.285 GB, free: 51.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003266/22.33, allocations: 220.4 kB / 5.285 GB, free: 51.63 MB / 0.8386 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.058/22.38, allocations: 26.1 MB / 5.311 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008388/22.39, allocations: 3.727 MB / 5.314 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004893/22.4, allocations: 2.14 MB / 5.316 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/22.4, allocations: 400.5 kB / 5.317 GB, free: 17.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004778/22.4, allocations: 2.073 MB / 5.319 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=292): time 7.854e-06/22.4, allocations: 0 / 5.319 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=300): time 0.8075/23.21, allocations: 16.43 MB / 5.335 GB, free: 78.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002679/23.21, allocations: 0.6762 MB / 5.335 GB, free: 77.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/23.22, allocations: 3.635 MB / 5.339 GB, free: 77.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001188/23.22, allocations: 32.64 kB / 5.339 GB, free: 77.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.005232/23.23, allocations: 2.566 MB / 5.342 GB, free: 77.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002213/23.23, allocations: 1.009 MB / 5.343 GB, free: 76.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003987/23.23, allocations: 0 / 5.343 GB, free: 76.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003558/23.23, allocations: 436.7 kB / 5.343 GB, free: 76.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004128/23.24, allocations: 1.489 MB / 5.344 GB, free: 76.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005128/23.24, allocations: 2.387 MB / 5.347 GB, free: 75.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/23.25, allocations: 2.042 MB / 5.349 GB, free: 75.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-05/23.25, allocations: 5.656 kB / 5.349 GB, free: 75.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.01808/23.27, allocations: 4.651 MB / 5.353 GB, free: 75.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001643/23.27, allocations: 7.429 MB / 5.361 GB, free: 67.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/23.27, allocations: 14.5 kB / 5.361 GB, free: 67.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009877/23.27, allocations: 227.9 kB / 5.361 GB, free: 67.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008374/23.28, allocations: 0.7349 MB / 5.361 GB, free: 67.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005544/23.28, allocations: 3.3 MB / 5.365 GB, free: 64.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/23.29, allocations: 426.3 kB / 5.365 GB, free: 64.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000993/23.29, allocations: 136 kB / 5.365 GB, free: 64.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/23.29, allocations: 8.922 kB / 5.365 GB, free: 64.88 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01211/23.31, allocations: 3.98 MB / 5.369 GB, free: 64.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.397e-05/23.31, allocations: 17.66 kB / 5.369 GB, free: 64.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/23.31, allocations: 197.2 kB / 5.369 GB, free: 64.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006825/23.31, allocations: 0.6889 MB / 5.37 GB, free: 64.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006384/23.32, allocations: 3.971 MB / 5.374 GB, free: 61.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009398/23.33, allocations: 402.5 kB / 5.374 GB, free: 61.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008128/23.33, allocations: 131.5 kB / 5.374 GB, free: 61.95 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (379): * Single equations (assignments): 373 * 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 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001326/23.33, allocations: 220.9 kB / 5.375 GB, free: 61.82 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01501/23.35, allocations: 3.989 MB / 5.378 GB, free: 61.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/23.35, allocations: 466.1 kB / 5.379 GB, free: 61.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/23.37, allocations: 4.391 MB / 5.383 GB, free: 60.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.774e-05/23.37, allocations: 39.86 kB / 5.383 GB, free: 60.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/23.37, allocations: 8.188 kB / 5.383 GB, free: 60.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0134/23.38, allocations: 3.695 MB / 5.387 GB, free: 60.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03389/23.41, allocations: 10.83 MB / 5.397 GB, free: 58.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/23.41, allocations: 5.812 kB / 5.397 GB, free: 58.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008582/23.42, allocations: 0.6979 MB / 5.398 GB, free: 58.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/23.42, allocations: 339.7 kB / 5.398 GB, free: 58.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006428/23.42, allocations: 52.28 kB / 5.398 GB, free: 58.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/23.44, allocations: 7.564 MB / 5.406 GB, free: 52.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/23.44, allocations: 16.45 kB / 5.406 GB, free: 52.67 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0207/23.46, allocations: 7.489 MB / 5.413 GB, free: 50.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004923/23.47, allocations: 1.083 MB / 5.414 GB, free: 50.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/23.47, allocations: 33.22 kB / 5.414 GB, free: 50.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008187/23.48, allocations: 393.6 kB / 5.415 GB, free: 50.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007311/23.48, allocations: 211.4 kB / 5.415 GB, free: 50.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000457/23.48, allocations: 118.1 kB / 5.415 GB, free: 50.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.006929/23.48, allocations: 2.825 MB / 5.418 GB, free: 50.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.12e-07/23.48, allocations: 0 / 5.418 GB, free: 50.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02004/23.5, allocations: 2.738 MB / 5.42 GB, free: 50.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (280): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * 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: 5 {1 3,1 3,1 3,1 3,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02755/23.53, allocations: 12.52 MB / 5.433 GB, free: 45.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01794/23.55, allocations: 6.485 MB / 5.439 GB, free: 45.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.909e-05/23.55, allocations: 7.047 kB / 5.439 GB, free: 45.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007416/23.56, allocations: 2.236 MB / 5.441 GB, free: 44.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02497/23.58, allocations: 2.676 MB / 5.444 GB, free: 44.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03888/23.62, allocations: 12.54 MB / 5.456 GB, free: 42.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007234/23.63, allocations: 4.291 MB / 5.46 GB, free: 41.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.02466/23.65, allocations: 4.011 MB / 5.464 GB, free: 41.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006891/23.66, allocations: 2.296 MB / 5.466 GB, free: 41.62 MB / 0.8386 GB Notification: Performance of SimCode: time 1.583e-06/23.66, allocations: 0 / 5.466 GB, free: 41.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4977/24.16, allocations: 169.9 MB / 5.632 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003521/24.16, allocations: 205.5 kB / 5.633 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.57/35.73, allocations: 3.938 kB / 5.633 GB, free: 9.633 MB / 0.8698 GB