Notification: Performance of loadModel(Modelica): time 1.041/1.041, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.658e-05/2.671e-05, allocations: 4 kB / 145.9 MB, free: 4.059 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.165, allocations: 25.15 MB / 171.1 MB, free: 1.727 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5163/0.6814, allocations: 235.7 MB / 406.8 MB, free: 36.14 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.6817, allocations: 69.34 kB / 406.8 MB, free: 36.11 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.5616/1.243, allocations: 121.3 MB / 0.5158 GB, free: 13.8 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.006e-05/1.243, allocations: 23.91 kB / 0.5158 GB, free: 13.78 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003287/1.247, allocations: 1.02 MB / 0.5168 GB, free: 12.72 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.247, allocations: 12.03 kB / 0.5168 GB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/1.247, allocations: 83.05 kB / 0.5169 GB, free: 12.62 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/1.249, allocations: 0.5908 MB / 0.5174 GB, free: 12 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/1.249, allocations: 89.08 kB / 0.5175 GB, free: 11.91 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/1.249, allocations: 32 kB / 0.5176 GB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001524/1.251, allocations: 0.6582 MB / 0.5182 GB, free: 11.21 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/1.253, allocations: 0.7483 MB / 0.5189 GB, free: 10.44 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/1.253, allocations: 0 / 0.5189 GB, free: 10.44 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/1.253, allocations: 0 / 0.5189 GB, free: 10.44 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.073e-05/1.253, allocations: 48.97 kB / 0.519 GB, free: 10.39 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007447/1.26, allocations: 2.991 MB / 0.5219 GB, free: 7.273 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/1.262, allocations: 0.5784 MB / 0.5225 GB, free: 6.68 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006336/1.263, allocations: 330 kB / 0.5228 GB, free: 6.355 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00404/1.267, allocations: 1.86 MB / 0.5246 GB, free: 4.332 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.267, allocations: 46.92 kB / 0.5246 GB, free: 4.277 MB / 234.7 MB Notification: Performance of pre-optimization done (n=52): time 3.937e-06/1.267, allocations: 0 / 0.5246 GB, free: 4.277 MB / 234.7 MB Notification: Performance of matching and sorting (n=60): time 0.01166/1.278, allocations: 2.341 MB / 0.5269 GB, free: 1.887 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.279, allocations: 81.67 kB / 0.527 GB, free: 1.789 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/1.279, allocations: 417.2 kB / 0.5274 GB, free: 1.375 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/1.279, allocations: 25.7 kB / 0.5274 GB, free: 1.344 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/1.28, allocations: 328.1 kB / 0.5277 GB, free: 1.02 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/1.28, allocations: 204.9 kB / 0.5279 GB, free: 0.8164 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/1.28, allocations: 7.938 kB / 0.5279 GB, free: 0.8086 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/1.28, allocations: 378.7 kB / 0.5283 GB, free: 440 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/1.281, allocations: 297.4 kB / 0.5286 GB, free: 140 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.113/1.394, allocations: 440.2 kB / 0.529 GB, free: 39.51 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/1.397, allocations: 0.5309 MB / 0.5295 GB, free: 39.51 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-06/1.397, allocations: 0 / 0.5295 GB, free: 39.51 MB / 234.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004793/1.402, allocations: 1.159 MB / 0.5307 GB, free: 39.46 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/1.402, allocations: 6.938 kB / 0.5307 GB, free: 39.46 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.402, allocations: 4.156 kB / 0.5307 GB, free: 39.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/1.403, allocations: 350.5 kB / 0.531 GB, free: 39.45 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.404, allocations: 152.5 kB / 0.5312 GB, free: 39.45 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/1.408, allocations: 1.198 MB / 0.5323 GB, free: 38.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.409, allocations: 35.48 kB / 0.5324 GB, free: 38.93 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.409, allocations: 30.23 kB / 0.5324 GB, free: 38.93 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: tank2.level:VARIABLE(min = max(0.0, 0.0) start = max(tank2.level_start, 1e-15) unit = "m" stateSelect=StateSelect.prefer ) "Level height of 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 = max(0.0, 0.0) start = max(tank1.level_start, 1e-15) unit = "m" stateSelect=StateSelect.prefer ) "Level height of 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: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004245/1.41, allocations: 158.6 kB / 0.5325 GB, free: 38.83 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004276/1.414, allocations: 1.005 MB / 0.5335 GB, free: 38.78 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/1.414, allocations: 64.28 kB / 0.5336 GB, free: 38.77 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004522/1.419, allocations: 1.133 MB / 0.5347 GB, free: 38.71 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.419, allocations: 6.156 kB / 0.5347 GB, free: 38.71 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.419, allocations: 0 / 0.5347 GB, free: 38.71 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.419, allocations: 7.734 kB / 0.5347 GB, free: 38.71 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006496/1.425, allocations: 1.95 MB / 0.5366 GB, free: 38.41 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.425, allocations: 2.875 kB / 0.5366 GB, free: 38.41 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.427, allocations: 115.4 kB / 0.5367 GB, free: 38.41 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/1.428, allocations: 352.9 kB / 0.5371 GB, free: 38.4 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002198/1.428, allocations: 13.27 kB / 0.5371 GB, free: 38.4 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003509/1.432, allocations: 1.213 MB / 0.5383 GB, free: 37.88 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.432, allocations: 0 / 0.5383 GB, free: 37.88 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/1.437, allocations: 1.607 MB / 0.5398 GB, free: 37.68 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/1.438, allocations: 140.9 kB / 0.54 GB, free: 37.55 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.438, allocations: 0 / 0.54 GB, free: 37.55 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.439, allocations: 40.73 kB / 0.54 GB, free: 37.55 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.439, allocations: 60.75 kB / 0.5401 GB, free: 37.55 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/1.439, allocations: 29.14 kB / 0.5401 GB, free: 37.55 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0005129/1.44, allocations: 309 kB / 0.5404 GB, free: 37.46 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.44, allocations: 0 / 0.5404 GB, free: 37.46 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002091/1.442, allocations: 409.8 kB / 0.5408 GB, free: 37.46 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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 {4 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006897/1.449, allocations: 2.553 MB / 0.5433 GB, free: 36.75 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002867/1.452, allocations: 0.8153 MB / 0.5441 GB, free: 36.74 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.452, allocations: 0 / 0.5441 GB, free: 36.74 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/1.454, allocations: 479.6 kB / 0.5445 GB, free: 36.73 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.457, allocations: 327.5 kB / 0.5448 GB, free: 36.73 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/1.464, allocations: 1.534 MB / 0.5463 GB, free: 36.41 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/1.464, allocations: 0.9934 MB / 0.5473 GB, free: 35.71 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.001221/1.466, allocations: 193.3 kB / 0.5475 GB, free: 35.7 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/1.466, allocations: 250 kB / 0.5477 GB, free: 35.7 MB / 234.7 MB Notification: Performance of SimCode: time 1.643e-06/1.466, allocations: 0 / 0.5477 GB, free: 35.7 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0779/1.544, allocations: 22.74 MB / 0.5699 GB, free: 34.56 MB / 234.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.005307/1.549, allocations: 120.1 kB / 0.57 GB, free: 34.37 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.636/5.186, allocations: 3.562 kB / 0.57 GB, free: 34.37 MB / 234.7 MB