Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnit,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.291/3.291, allocations: 343.8 MB / 355.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.644e-05, allocations: 4 kB / 436.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1777, allocations: 77.73 MB / 0.5023 GB, free: 4.516 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.456/1.634, allocations: 375.1 MB / 0.8686 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.635, allocations: 85.02 kB / 0.8687 GB, free: 151.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.382/3.017, allocations: 297.6 MB / 1.159 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/3.017, allocations: 0 / 1.159 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001238/3.017, allocations: 31.05 kB / 1.159 GB, free: 112.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002289/3.019, allocations: 1.191 MB / 1.16 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/3.019, allocations: 8.031 kB / 1.16 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/3.019, allocations: 90.47 kB / 1.161 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/3.02, allocations: 122.6 kB / 1.161 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/3.023, allocations: 1.072 MB / 1.162 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/3.023, allocations: 41 kB / 1.162 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/3.023, allocations: 52 kB / 1.162 GB, free: 110 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/3.024, allocations: 0.5027 MB / 1.162 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/3.024, allocations: 3.938 kB / 1.162 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/3.024, allocations: 31.78 kB / 1.162 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/3.024, allocations: 12 kB / 1.162 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009306/3.025, allocations: 377.8 kB / 1.163 GB, free: 109.1 MB / 0.6511 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.005119/3.03, allocations: 2.644 MB / 1.165 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/3.032, allocations: 342.9 kB / 1.166 GB, free: 106 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/3.032, allocations: 155.2 kB / 1.166 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009125/3.033, allocations: 0.8532 MB / 1.167 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/3.033, allocations: 43.05 kB / 1.167 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.947e-06/3.033, allocations: 0 / 1.167 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.00105/3.034, allocations: 392.2 kB / 1.167 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/3.034, allocations: 55.41 kB / 1.167 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/3.036, allocations: 1.002 MB / 1.168 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/3.036, allocations: 29.7 kB / 1.168 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/3.036, allocations: 468 kB / 1.169 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/3.036, allocations: 116.3 kB / 1.169 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/3.037, allocations: 8 kB / 1.169 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/3.037, allocations: 322 kB / 1.169 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/3.037, allocations: 120.8 kB / 1.169 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/3.037, allocations: 230.4 kB / 1.169 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/3.038, allocations: 165.5 kB / 1.169 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/3.038, allocations: 0 / 1.169 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001103/3.039, allocations: 481.7 kB / 1.17 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/3.039, allocations: 0.7052 MB / 1.171 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/3.039, allocations: 8 kB / 1.171 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/3.039, allocations: 4 kB / 1.171 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/3.04, allocations: 95.83 kB / 1.171 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/3.04, allocations: 4 kB / 1.171 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/3.041, allocations: 79.39 kB / 1.171 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/3.041, allocations: 19.98 kB / 1.171 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/3.041, allocations: 4 kB / 1.171 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008344/3.042, allocations: 347.7 kB / 1.171 GB, free: 99.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/3.042, allocations: 224 / 1.171 GB, free: 99.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/3.042, allocations: 8 kB / 1.171 GB, free: 99.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/3.042, allocations: 99.78 kB / 1.171 GB, free: 99.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/3.042, allocations: 4 kB / 1.171 GB, free: 99.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/3.043, allocations: 71.55 kB / 1.171 GB, free: 99.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/3.043, allocations: 20 kB / 1.171 GB, free: 99.77 MB / 0.6511 GB Warning: Assuming fixed start value for the following 1 variables: CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$CHP$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$CHP$vol$dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (-273.15 + CHP.vol.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002289/3.044, allocations: 158.4 kB / 1.171 GB, free: 99.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/3.044, allocations: 102.7 kB / 1.172 GB, free: 99.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/3.045, allocations: 0.5835 MB / 1.172 GB, free: 98.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/3.045, allocations: 4 kB / 1.172 GB, free: 98.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/3.045, allocations: 3.953 kB / 1.172 GB, free: 98.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008398/3.046, allocations: 0.6254 MB / 1.173 GB, free: 98.22 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/3.05, allocations: 1.556 MB / 1.174 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/3.05, allocations: 0 / 1.174 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/3.05, allocations: 71.89 kB / 1.174 GB, free: 96.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.995e-05/3.05, allocations: 4 kB / 1.174 GB, free: 96.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/3.05, allocations: 12 kB / 1.174 GB, free: 96.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/3.05, allocations: 4 kB / 1.174 GB, free: 96.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/3.05, allocations: 3.984 kB / 1.174 GB, free: 96.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/3.052, allocations: 0.9203 MB / 1.175 GB, free: 95.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/3.052, allocations: 263.6 kB / 1.176 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/3.053, allocations: 12 kB / 1.176 GB, free: 95.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/3.053, allocations: 35.97 kB / 1.176 GB, free: 95.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/3.053, allocations: 31.95 kB / 1.176 GB, free: 95.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/3.053, allocations: 19.94 kB / 1.176 GB, free: 95.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001478/3.055, allocations: 0.8002 MB / 1.176 GB, free: 94.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/3.055, allocations: 7.938 kB / 1.176 GB, free: 94.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00187/3.057, allocations: 495.1 kB / 1.177 GB, free: 93.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (senTemIn.T,senTemOut.T,CHP.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003621/3.061, allocations: 2.612 MB / 1.179 GB, free: 91.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001391/3.062, allocations: 0.5771 MB / 1.18 GB, free: 90.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/3.062, allocations: 0 / 1.18 GB, free: 90.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/3.062, allocations: 207.7 kB / 1.18 GB, free: 90.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/3.066, allocations: 432.9 kB / 1.181 GB, free: 90.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/3.07, allocations: 1.681 MB / 1.182 GB, free: 88.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/3.071, allocations: 1.054 MB / 1.183 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001859/3.072, allocations: 402.5 kB / 1.184 GB, free: 86.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/3.073, allocations: 343.2 kB / 1.184 GB, free: 86.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.333e-06/3.073, allocations: 4 kB / 1.184 GB, free: 86.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09543/3.168, allocations: 31.05 MB / 1.214 GB, free: 55.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/3.169, allocations: 224.2 kB / 1.215 GB, free: 55.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.852/7.021, allocations: 0 / 1.215 GB, free: 55.43 MB / 0.6511 GB