Notification: Performance of loadModel(Modelica): time 1.066/1.066, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.48e-05, allocations: 7.938 kB / 145.9 MB, free: 4.043 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 25.15 MB / 171.1 MB, free: 1.879 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5134/0.6572, allocations: 236 MB / 407.1 MB, free: 36.09 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.6575, allocations: 74.64 kB / 407.2 MB, free: 36.05 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.5384/1.196, allocations: 127.2 MB / 0.5218 GB, free: 8.141 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.277e-05/1.196, allocations: 23.94 kB / 0.5219 GB, free: 8.117 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003022/1.199, allocations: 0.9929 MB / 0.5228 GB, free: 7.078 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.199, allocations: 8.031 kB / 0.5228 GB, free: 7.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/1.2, allocations: 83.05 kB / 0.5229 GB, free: 6.988 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/1.201, allocations: 0.5521 MB / 0.5235 GB, free: 6.395 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/1.201, allocations: 16 kB / 0.5235 GB, free: 6.379 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/1.201, allocations: 35.94 kB / 0.5235 GB, free: 6.344 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001228/1.202, allocations: 0.5485 MB / 0.5241 GB, free: 5.797 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/1.204, allocations: 0.6308 MB / 0.5247 GB, free: 5.133 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/1.204, allocations: 0 / 0.5247 GB, free: 5.133 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/1.204, allocations: 0 / 0.5247 GB, free: 5.133 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.358e-05/1.204, allocations: 44.97 kB / 0.5247 GB, free: 5.086 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/1.209, allocations: 2.705 MB / 0.5274 GB, free: 2.195 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/1.209, allocations: 432.1 kB / 0.5278 GB, free: 1.762 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/1.21, allocations: 234.1 kB / 0.528 GB, free: 1.531 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/1.21, allocations: 421.9 kB / 0.5284 GB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.21, allocations: 38.98 kB / 0.5284 GB, free: 0.9805 MB / 234.7 MB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/1.21, allocations: 4 kB / 0.5284 GB, free: 0.9766 MB / 234.7 MB Notification: Performance of matching and sorting (n=56): time 0.1224/1.333, allocations: 1.747 MB / 0.5301 GB, free: 35.31 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.333, allocations: 85.08 kB / 0.5302 GB, free: 35.21 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007369/1.334, allocations: 423.5 kB / 0.5306 GB, free: 35.1 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/1.334, allocations: 29.39 kB / 0.5307 GB, free: 35.07 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/1.334, allocations: 324 kB / 0.531 GB, free: 34.93 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/1.334, allocations: 185.3 kB / 0.5311 GB, free: 34.83 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/1.334, allocations: 2.406 kB / 0.5311 GB, free: 34.83 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/1.334, allocations: 377.5 kB / 0.5315 GB, free: 34.52 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/1.335, allocations: 244.4 kB / 0.5317 GB, free: 34.52 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/1.336, allocations: 409 kB / 0.5321 GB, free: 34.35 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/1.338, allocations: 392.3 kB / 0.5325 GB, free: 34.34 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.338, allocations: 0 / 0.5325 GB, free: 34.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003532/1.341, allocations: 0.897 MB / 0.5334 GB, free: 34.25 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/1.341, allocations: 7.312 kB / 0.5334 GB, free: 34.25 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/1.341, allocations: 3.812 kB / 0.5334 GB, free: 34.25 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007945/1.342, allocations: 163 kB / 0.5335 GB, free: 34.25 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.343, allocations: 142 kB / 0.5337 GB, free: 34.25 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/1.346, allocations: 0.9226 MB / 0.5346 GB, free: 33.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.347, allocations: 40.05 kB / 0.5346 GB, free: 33.72 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.347, allocations: 39.73 kB / 0.5347 GB, free: 33.72 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 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 = tank2.T_start 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 = tank1.T_start 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: 20 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003773/1.347, allocations: 150 kB / 0.5348 GB, free: 33.62 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00321/1.351, allocations: 0.7345 MB / 0.5355 GB, free: 33.54 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/1.351, allocations: 68.75 kB / 0.5356 GB, free: 33.5 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/1.354, allocations: 0.7998 MB / 0.5364 GB, free: 33.43 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.354, allocations: 7.812 kB / 0.5364 GB, free: 33.43 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.354, allocations: 0 / 0.5364 GB, free: 33.43 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.354, allocations: 3.375 kB / 0.5364 GB, free: 33.43 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004766/1.359, allocations: 1.545 MB / 0.5379 GB, free: 33.12 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/1.359, allocations: 3.938 kB / 0.5379 GB, free: 33.12 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000932/1.36, allocations: 111.8 kB / 0.538 GB, free: 33.12 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008034/1.361, allocations: 155.3 kB / 0.5381 GB, free: 33.11 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.6e-05/1.361, allocations: 13.59 kB / 0.5381 GB, free: 33.11 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/1.362, allocations: 0.8686 MB / 0.539 GB, free: 32.58 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.362, allocations: 3.938 kB / 0.539 GB, free: 32.58 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/1.366, allocations: 1.223 MB / 0.5402 GB, free: 32.34 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/1.366, allocations: 143 kB / 0.5403 GB, free: 32.21 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/1.367, allocations: 7.312 kB / 0.5403 GB, free: 32.21 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008157/1.367, allocations: 31.34 kB / 0.5404 GB, free: 32.21 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.368, allocations: 47.48 kB / 0.5404 GB, free: 32.21 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/1.368, allocations: 22.56 kB / 0.5404 GB, free: 32.21 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0005343/1.368, allocations: 329.1 kB / 0.5407 GB, free: 32.12 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.368, allocations: 2.688 kB / 0.5408 GB, free: 32.12 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001716/1.37, allocations: 391 kB / 0.5411 GB, free: 32.12 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank2.aboveLevel[1]) * Number of discrete states: 2 (tank2.aboveLevel[1],tank1.aboveLevel[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005158/1.375, allocations: 2.357 MB / 0.5434 GB, free: 31.21 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/1.377, allocations: 0.6323 MB / 0.544 GB, free: 31.2 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.377, allocations: 0 / 0.544 GB, free: 31.2 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008388/1.378, allocations: 352.7 kB / 0.5444 GB, free: 31.2 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/1.381, allocations: 322.8 kB / 0.5447 GB, free: 31.2 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/1.385, allocations: 1.396 MB / 0.5461 GB, free: 30.88 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/1.386, allocations: 0.9729 MB / 0.547 GB, free: 30.18 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.001204/1.387, allocations: 189.4 kB / 0.5472 GB, free: 30.16 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/1.388, allocations: 244.1 kB / 0.5474 GB, free: 30.16 MB / 234.7 MB Notification: Performance of SimCode: time 1.764e-06/1.388, allocations: 0 / 0.5474 GB, free: 30.16 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08361/1.471, allocations: 22.34 MB / 0.5692 GB, free: 29.06 MB / 234.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004422/1.476, allocations: 142 kB / 0.5694 GB, free: 28.87 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.657/5.133, allocations: 0 / 0.5694 GB, free: 28.87 MB / 234.7 MB