Running command: translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnit") Notification: Performance of loadModel(BuildingSystems): time 3.056/3.056, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.684e-05/4.704e-05, allocations: 4 kB / 436.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1676, allocations: 77.73 MB / 0.5022 GB, free: 4.586 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.208/1.376, allocations: 375.1 MB / 0.8685 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.376, allocations: 87.95 kB / 0.8686 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.19/2.566, allocations: 297.6 MB / 1.159 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.026e-06/2.566, allocations: 7.391 kB / 1.159 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001071/2.566, allocations: 26.5 kB / 1.159 GB, free: 127 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.001865/2.568, allocations: 1.182 MB / 1.16 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/2.568, allocations: 11.97 kB / 1.16 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/2.569, allocations: 122.5 kB / 1.161 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/2.571, allocations: 1.068 MB / 1.162 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/2.571, allocations: 45 kB / 1.162 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/2.571, allocations: 55.98 kB / 1.162 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/2.572, allocations: 0.5066 MB / 1.162 GB, free: 124 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/2.573, allocations: 0 / 1.162 GB, free: 124 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/2.573, allocations: 20 kB / 1.162 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/2.573, allocations: 15.95 kB / 1.162 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008226/2.573, allocations: 377.1 kB / 1.163 GB, free: 123.6 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.004351/2.578, allocations: 2.653 MB / 1.165 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/2.579, allocations: 334.9 kB / 1.165 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/2.579, allocations: 152.8 kB / 1.166 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/2.58, allocations: 0.8529 MB / 1.166 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/2.58, allocations: 39.09 kB / 1.166 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.711e-06/2.58, allocations: 0 / 1.166 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0009494/2.581, allocations: 392.3 kB / 1.167 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/2.581, allocations: 59.34 kB / 1.167 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/2.583, allocations: 1.006 MB / 1.168 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/2.583, allocations: 33.7 kB / 1.168 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/2.583, allocations: 464.1 kB / 1.168 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/2.583, allocations: 113.9 kB / 1.168 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/2.583, allocations: 4 kB / 1.168 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.38e-05/2.583, allocations: 326 kB / 1.169 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/2.584, allocations: 124.8 kB / 1.169 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/2.584, allocations: 230.4 kB / 1.169 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/2.584, allocations: 165.5 kB / 1.169 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.829e-06/2.584, allocations: 0 / 1.169 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001037/2.585, allocations: 477.7 kB / 1.17 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/2.585, allocations: 0.7051 MB / 1.17 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.939e-06/2.585, allocations: 4 kB / 1.17 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/2.586, allocations: 4 kB / 1.17 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/2.586, allocations: 95.81 kB / 1.171 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/2.586, allocations: 4.078 kB / 1.171 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008874/2.587, allocations: 87.33 kB / 1.171 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/2.587, allocations: 19.98 kB / 1.171 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/2.587, allocations: 7.172 kB / 1.171 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008081/2.588, allocations: 355.6 kB / 1.171 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.866e-06/2.588, allocations: 0 / 1.171 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/2.588, allocations: 4 kB / 1.171 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/2.588, allocations: 99.81 kB / 1.171 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.82e-06/2.588, allocations: 7.953 kB / 1.171 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/2.589, allocations: 67.78 kB / 1.171 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/2.589, allocations: 19.98 kB / 1.171 GB, free: 114.3 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.0002443/2.59, allocations: 158.4 kB / 1.171 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/2.59, allocations: 102.8 kB / 1.171 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/2.591, allocations: 0.5641 MB / 1.172 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/2.591, allocations: 15.91 kB / 1.172 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/2.591, allocations: 7.953 kB / 1.172 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00071/2.592, allocations: 0.6157 MB / 1.173 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/2.595, allocations: 1.557 MB / 1.174 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.79e-06/2.595, allocations: 4 kB / 1.174 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/2.596, allocations: 72.12 kB / 1.174 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/2.596, allocations: 4 kB / 1.174 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/2.596, allocations: 11.98 kB / 1.174 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.282e-06/2.596, allocations: 4 kB / 1.174 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.004e-06/2.596, allocations: 4 kB / 1.174 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/2.597, allocations: 0.92 MB / 1.175 GB, free: 110 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/2.598, allocations: 267.7 kB / 1.175 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/2.598, allocations: 12 kB / 1.175 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/2.599, allocations: 35.88 kB / 1.175 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-05/2.599, allocations: 35.95 kB / 1.175 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/2.599, allocations: 12 kB / 1.175 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001321/2.6, allocations: 0.804 MB / 1.176 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.191e-06/2.6, allocations: 3.828 kB / 1.176 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001835/2.602, allocations: 499.2 kB / 1.177 GB, free: 108.3 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.001991/2.604, allocations: 0.7629 MB / 1.177 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001226/2.605, allocations: 0.5894 MB / 1.178 GB, free: 107.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.787e-06/2.605, allocations: 0 / 1.178 GB, free: 107.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/2.606, allocations: 199.8 kB / 1.178 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/2.608, allocations: 439 kB / 1.179 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/2.611, allocations: 1.42 MB / 1.18 GB, free: 105 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/2.612, allocations: 1.058 MB / 1.181 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001706/2.613, allocations: 410.4 kB / 1.181 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/2.614, allocations: 63.41 kB / 1.182 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of SimCode: time 2.028e-06/2.614, allocations: 0 / 1.182 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.04549/2.659, allocations: 21.36 MB / 1.202 GB, free: 82.25 MB / 0.6511 GB