Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.03/4.03, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.598e-05, allocations: 4 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6131, allocations: 92.68 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.611/8.224, allocations: 2.467 GB / 3.057 GB, free: 80.46 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/8.225, allocations: 88.28 kB / 3.057 GB, free: 80.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 11.8/20.03, allocations: 2.227 GB / 5.284 GB, free: 21.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.565e-06/20.03, allocations: 0 / 5.284 GB, free: 21.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001325/20.03, allocations: 154.4 kB / 5.284 GB, free: 21.21 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.02578/20.05, allocations: 5.726 MB / 5.29 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/20.05, allocations: 11.97 kB / 5.29 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00306/20.06, allocations: 0.6086 MB / 5.29 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/20.07, allocations: 1.327 MB / 5.292 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02843/20.1, allocations: 7.905 MB / 5.3 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005327/20.1, allocations: 336.7 kB / 5.3 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/20.1, allocations: 463.9 kB / 5.3 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7265/20.83, allocations: 6.092 MB / 5.306 GB, free: 56.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000325/20.83, allocations: 9.047 kB / 5.306 GB, free: 56.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/20.83, allocations: 189.1 kB / 5.306 GB, free: 56.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005619/20.83, allocations: 212.2 kB / 5.307 GB, free: 56.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/20.85, allocations: 5.132 MB / 5.312 GB, free: 56.59 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.06039/20.91, allocations: 26.93 MB / 5.338 GB, free: 45.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/20.92, allocations: 3.792 MB / 5.342 GB, free: 45.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005384/20.93, allocations: 2.213 MB / 5.344 GB, free: 45.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009732/20.93, allocations: 404.4 kB / 5.344 GB, free: 44.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007299/20.94, allocations: 2.219 MB / 5.346 GB, free: 44.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=292): time 8.245e-06/20.94, allocations: 1.594 kB / 5.346 GB, free: 44.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=304): time 0.063/21, allocations: 15.53 MB / 5.362 GB, free: 37.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001702/21, allocations: 0.6251 MB / 5.362 GB, free: 53.16 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/21.01, allocations: 3.991 MB / 5.366 GB, free: 52.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/21.01, allocations: 94.98 kB / 5.366 GB, free: 52.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.004074/21.02, allocations: 2.55 MB / 5.369 GB, free: 52.24 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001994/21.02, allocations: 1.053 MB / 5.37 GB, free: 51.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/21.02, allocations: 64.81 kB / 5.37 GB, free: 51.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003901/21.02, allocations: 446.2 kB / 5.37 GB, free: 51.39 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004335/21.02, allocations: 1.546 MB / 5.372 GB, free: 51.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/21.03, allocations: 2.453 MB / 5.374 GB, free: 50.42 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005224/21.03, allocations: 2.064 MB / 5.376 GB, free: 50.33 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-05/21.03, allocations: 10.06 kB / 5.376 GB, free: 50.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01632/21.05, allocations: 4.815 MB / 5.381 GB, free: 49.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003057/21.05, allocations: 7.288 MB / 5.388 GB, free: 42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.641e-05/21.05, allocations: 18.5 kB / 5.388 GB, free: 42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008732/21.06, allocations: 224.6 kB / 5.388 GB, free: 41.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007587/21.06, allocations: 0.76 MB / 5.389 GB, free: 41.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/21.07, allocations: 3.339 MB / 5.392 GB, free: 39.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009509/21.08, allocations: 0.5179 MB / 5.393 GB, free: 39.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000969/21.08, allocations: 136 kB / 5.393 GB, free: 39.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/21.08, allocations: 7.062 kB / 5.393 GB, free: 39.52 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01162/21.09, allocations: 4.239 MB / 5.397 GB, free: 39.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.648e-05/21.09, allocations: 16.84 kB / 5.397 GB, free: 39.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006599/21.09, allocations: 205.4 kB / 5.397 GB, free: 39.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006133/21.1, allocations: 0.709 MB / 5.398 GB, free: 39.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/21.1, allocations: 4.117 MB / 5.402 GB, free: 36.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009126/21.11, allocations: 490.6 kB / 5.402 GB, free: 36.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000984/21.11, allocations: 137 kB / 5.402 GB, free: 36.45 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (382): * Single equations (assignments): 376 * 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.001346/21.12, allocations: 343.2 kB / 5.403 GB, free: 36.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001732/21.12, allocations: 484.3 kB / 5.403 GB, free: 36.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/21.13, allocations: 4.546 MB / 5.408 GB, free: 35.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/21.13, allocations: 29.97 kB / 5.408 GB, free: 35.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/21.13, allocations: 6.656 kB / 5.408 GB, free: 35.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01281/21.15, allocations: 3.782 MB / 5.411 GB, free: 35.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03523/21.18, allocations: 11.39 MB / 5.422 GB, free: 33.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/21.18, allocations: 12.09 kB / 5.422 GB, free: 33.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007815/21.19, allocations: 0.7331 MB / 5.423 GB, free: 33.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006666/21.19, allocations: 169 kB / 5.423 GB, free: 33.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008541/21.19, allocations: 96.47 kB / 5.423 GB, free: 33.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/21.2, allocations: 5.389 MB / 5.429 GB, free: 29.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/21.2, allocations: 9.344 kB / 5.429 GB, free: 29.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/21.22, allocations: 7.6 MB / 5.436 GB, free: 27.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005196/21.23, allocations: 1.094 MB / 5.437 GB, free: 27.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00233/21.23, allocations: 81.78 kB / 5.437 GB, free: 27.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008781/21.24, allocations: 451 kB / 5.438 GB, free: 27.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/21.24, allocations: 202.3 kB / 5.438 GB, free: 27.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006262/21.24, allocations: 118.6 kB / 5.438 GB, free: 27.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.008963/21.25, allocations: 3.137 MB / 5.441 GB, free: 27.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.976e-06/21.25, allocations: 3.844 kB / 5.441 GB, free: 27.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02025/21.27, allocations: 2.949 MB / 5.444 GB, free: 27.27 MB / 0.8542 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.port_a1.h_outflow,hex.port_b1.h_outflow,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.hOut_internal,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.hOut_internal,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,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 (296): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 6 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02859/21.3, allocations: 12.46 MB / 5.456 GB, free: 38.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01989/21.32, allocations: 6.69 MB / 5.463 GB, free: 38.01 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.135e-05/21.32, allocations: 6.812 kB / 5.463 GB, free: 38.01 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007305/21.33, allocations: 2.257 MB / 5.465 GB, free: 37.72 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02345/21.35, allocations: 2.863 MB / 5.468 GB, free: 37.67 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04853/21.4, allocations: 12.85 MB / 5.48 GB, free: 35.38 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01247/21.41, allocations: 4.297 MB / 5.484 GB, free: 34.55 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0312/21.44, allocations: 4.033 MB / 5.488 GB, free: 34.49 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005954/21.45, allocations: 2.327 MB / 5.491 GB, free: 34.48 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/21.45, allocations: 0 / 5.491 GB, free: 34.48 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.18/22.63, allocations: 205.8 MB / 5.692 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/22.63, allocations: 250.4 kB / 5.692 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/34.37, allocations: 3.531 kB / 5.692 GB, free: 103.2 MB / 0.8855 GB