Notification: Performance of loadModel(Modelica): time 1.091/1.091, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.042e-05, allocations: 3.125 kB / 145.9 MB, free: 4.039 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1405, allocations: 25.16 MB / 171.1 MB, free: 1.75 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5276/0.6682, allocations: 240.1 MB / 411.2 MB, free: 32.19 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.6685, allocations: 72.08 kB / 411.2 MB, free: 32.16 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.332/2.001, allocations: 298.9 MB / 0.6935 GB, free: 25.13 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002088/2.001, allocations: 50.48 kB / 0.6935 GB, free: 25.09 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.007635/2.009, allocations: 1.936 MB / 0.6954 GB, free: 23.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/2.009, allocations: 8.031 kB / 0.6954 GB, free: 23.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/2.01, allocations: 185.8 kB / 0.6956 GB, free: 22.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/2.014, allocations: 1.191 MB / 0.6968 GB, free: 21.71 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/2.014, allocations: 43.95 kB / 0.6968 GB, free: 21.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004486/2.015, allocations: 64 kB / 0.6969 GB, free: 21.6 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004166/2.019, allocations: 1.586 MB / 0.6984 GB, free: 20.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004694/2.024, allocations: 1.661 MB / 0.7 GB, free: 18.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.14e-05/2.024, allocations: 11.88 kB / 0.7 GB, free: 18.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002613/2.024, allocations: 4 kB / 0.7001 GB, free: 18.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/2.024, allocations: 106.2 kB / 0.7002 GB, free: 18.12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01802/2.042, allocations: 7.169 MB / 0.7072 GB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/2.045, allocations: 1.089 MB / 0.7082 GB, free: 9.512 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/2.047, allocations: 0.679 MB / 0.7089 GB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009177/2.057, allocations: 3.281 MB / 0.7121 GB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/2.057, allocations: 51.56 kB / 0.7121 GB, free: 5.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=119): time 4.288e-06/2.057, allocations: 0 / 0.7121 GB, free: 5.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=131): time 0.02722/2.084, allocations: 4.482 MB / 0.7165 GB, free: 0.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/2.084, allocations: 167.5 kB / 0.7167 GB, free: 480 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1323/2.216, allocations: 0.8668 MB / 0.7175 GB, free: 27.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004573/2.217, allocations: 44.23 kB / 0.7176 GB, free: 27.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006501/2.218, allocations: 0.7118 MB / 0.7183 GB, free: 27.65 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005538/2.218, allocations: 438.2 kB / 0.7187 GB, free: 27.42 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/2.218, allocations: 1.875 kB / 0.7187 GB, free: 27.42 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/2.218, allocations: 373.7 kB / 0.719 GB, free: 27.12 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/2.22, allocations: 0.654 MB / 0.7197 GB, free: 27.12 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/2.222, allocations: 1.104 MB / 0.7207 GB, free: 26.61 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006507/2.228, allocations: 1.145 MB / 0.7219 GB, free: 26.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-05/2.228, allocations: 9.469 kB / 0.7219 GB, free: 26.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01056/2.239, allocations: 2.453 MB / 0.7243 GB, free: 26.42 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/2.239, allocations: 11.38 kB / 0.7243 GB, free: 26.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/2.239, allocations: 12.03 kB / 0.7243 GB, free: 26.42 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/2.241, allocations: 437.9 kB / 0.7247 GB, free: 26.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/2.244, allocations: 336.4 kB / 0.725 GB, free: 26.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006526/2.25, allocations: 3.209 MB / 0.7282 GB, free: 24.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/2.253, allocations: 102.2 kB / 0.7283 GB, free: 24.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/2.253, allocations: 79.06 kB / 0.7283 GB, free: 24.3 MB / 250.7 MB Warning: Assuming fixed start value for the following 6 variables: tank2.level:VARIABLE(min = 0.0 start = tank2.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank2.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = 293.15 unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real tank1.level:VARIABLE(min = 0.0 start = tank1.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank1.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = 293.15 unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real tank3.level:VARIABLE(min = 0.0 start = tank3.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank3.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = 293.15 unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.tank3.aboveLevel[1],tank3.aboveLevel[1],$PRE.tank3.aboveLevel[2],tank3.aboveLevel[2],$PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[2],$PRE.tank2.aboveLevel[3],tank2.aboveLevel[3],tank2.ports_m_flow_out[3],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[1],tank3.ports_m_flow_out[2],tank3.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 191 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,2 7,2 7,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006606/2.254, allocations: 208 kB / 0.7285 GB, free: 24.19 MB / 250.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009267/2.263, allocations: 1.984 MB / 0.7305 GB, free: 24.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/2.264, allocations: 149.9 kB / 0.7306 GB, free: 23.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009273/2.273, allocations: 2.312 MB / 0.7329 GB, free: 23.81 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/2.273, allocations: 19.09 kB / 0.7329 GB, free: 23.81 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/2.273, allocations: 3.938 kB / 0.7329 GB, free: 23.81 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/2.273, allocations: 8.5 kB / 0.7329 GB, free: 23.81 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/2.285, allocations: 3.739 MB / 0.7366 GB, free: 23.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/2.285, allocations: 0 / 0.7366 GB, free: 23.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/2.287, allocations: 236.9 kB / 0.7368 GB, free: 23.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/2.289, allocations: 437.2 kB / 0.7372 GB, free: 23.38 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000342/2.29, allocations: 19.66 kB / 0.7372 GB, free: 23.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005008/2.295, allocations: 3.025 MB / 0.7402 GB, free: 21.29 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/2.295, allocations: 1.219 kB / 0.7402 GB, free: 21.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009211/2.304, allocations: 3.15 MB / 0.7432 GB, free: 20.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/2.305, allocations: 239 kB / 0.7435 GB, free: 20.65 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005717/2.305, allocations: 9.094 kB / 0.7435 GB, free: 20.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/2.307, allocations: 80.75 kB / 0.7436 GB, free: 20.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/2.308, allocations: 139.7 kB / 0.7437 GB, free: 20.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/2.308, allocations: 59.41 kB / 0.7438 GB, free: 20.64 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001193/2.309, allocations: 0.6505 MB / 0.7444 GB, free: 20.53 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.309, allocations: 0 / 0.7444 GB, free: 20.53 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003981/2.313, allocations: 0.8236 MB / 0.7452 GB, free: 20.53 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (tank3.medium.T,tank3.level,tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 6 (tank3.aboveLevel[1],tank3.aboveLevel[2],tank1.aboveLevel[1],tank2.aboveLevel[1],tank2.aboveLevel[2],tank2.aboveLevel[3]) * Number of discrete states: 6 (tank3.aboveLevel[1],tank3.aboveLevel[2],tank1.aboveLevel[1],tank2.aboveLevel[1],tank2.aboveLevel[2],tank2.aboveLevel[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,2 12,2 12,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01334/2.327, allocations: 5.065 MB / 0.7501 GB, free: 19.12 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.004597/2.331, allocations: 1.711 MB / 0.7518 GB, free: 19.1 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/2.331, allocations: 0 / 0.7518 GB, free: 19.1 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/2.334, allocations: 0.9964 MB / 0.7528 GB, free: 19.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/2.34, allocations: 0.6775 MB / 0.7534 GB, free: 19.08 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00977/2.35, allocations: 3.245 MB / 0.7566 GB, free: 18.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/2.351, allocations: 1.424 MB / 0.758 GB, free: 17.59 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.002878/2.354, allocations: 484.6 kB / 0.7585 GB, free: 17.53 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/2.355, allocations: 0.6255 MB / 0.7591 GB, free: 17.52 MB / 250.7 MB Notification: Performance of SimCode: time 1.142e-06/2.355, allocations: 0 / 0.7591 GB, free: 17.52 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1545/2.51, allocations: 51.58 MB / 0.8094 GB, free: 9.418 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004446/2.514, allocations: 189.5 kB / 0.8096 GB, free: 9.227 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.376/7.89, allocations: 4.156 kB / 0.8096 GB, free: 9.227 MB / 266.7 MB