Notification: Performance of loadModel(Modelica): time 1.064/1.064, allocations: 111.2 MB / 118.4 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.798e-05, allocations: 0 / 145.9 MB, free: 7.684 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05842/0.05847, allocations: 25.16 MB / 171.1 MB, free: 14.48 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6249/0.6834, allocations: 240.7 MB / 411.8 MB, free: 57.04 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.6837, allocations: 66.23 kB / 411.8 MB, free: 57.04 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.6619/1.346, allocations: 152.7 MB / 0.5513 GB, free: 13.6 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.371e-05/1.346, allocations: 19.91 kB / 0.5513 GB, free: 13.59 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: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003546/1.349, allocations: 1.083 MB / 0.5524 GB, free: 12.46 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.349, allocations: 12.03 kB / 0.5524 GB, free: 12.45 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/1.35, allocations: 90.97 kB / 0.5525 GB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/1.352, allocations: 0.6435 MB / 0.5531 GB, free: 11.69 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/1.352, allocations: 20 kB / 0.5531 GB, free: 11.67 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/1.352, allocations: 36.52 kB / 0.5532 GB, free: 11.64 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001506/1.354, allocations: 0.6585 MB / 0.5538 GB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/1.355, allocations: 0.7852 MB / 0.5546 GB, free: 10.13 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/1.355, allocations: 7.922 kB / 0.5546 GB, free: 10.12 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/1.355, allocations: 4 kB / 0.5546 GB, free: 10.12 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/1.355, allocations: 41.3 kB / 0.5546 GB, free: 10.08 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006439/1.362, allocations: 3.881 MB / 0.5584 GB, free: 5.945 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009515/1.363, allocations: 447.2 kB / 0.5588 GB, free: 5.5 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/1.363, allocations: 217.5 kB / 0.559 GB, free: 5.285 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003618/1.367, allocations: 2.086 MB / 0.5611 GB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/1.367, allocations: 38.56 kB / 0.5611 GB, free: 2.922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=37): time 3.267e-06/1.367, allocations: 0 / 0.5611 GB, free: 2.922 MB / 234.7 MB Notification: Performance of matching and sorting (n=41): time 0.009736/1.377, allocations: 1.657 MB / 0.5627 GB, free: 1.207 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/1.377, allocations: 136.5 kB / 0.5629 GB, free: 1.043 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/1.378, allocations: 0.5033 MB / 0.5633 GB, free: 0.5312 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/1.378, allocations: 29.7 kB / 0.5634 GB, free: 0.4961 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/1.378, allocations: 442.5 kB / 0.5638 GB, free: 60 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1156/1.494, allocations: 140.3 kB / 0.5639 GB, free: 29.23 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/1.494, allocations: 0 / 0.5639 GB, free: 29.23 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/1.494, allocations: 382.8 kB / 0.5643 GB, free: 28.92 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/1.495, allocations: 212.8 kB / 0.5645 GB, free: 28.92 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/1.495, allocations: 0.537 MB / 0.565 GB, free: 28.52 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/1.498, allocations: 491.9 kB / 0.5655 GB, free: 28.52 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/1.498, allocations: 2.969 kB / 0.5655 GB, free: 28.52 MB / 234.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004075/1.502, allocations: 0.9606 MB / 0.5664 GB, free: 28.46 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/1.502, allocations: 7.594 kB / 0.5664 GB, free: 28.46 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.502, allocations: 16.19 kB / 0.5665 GB, free: 28.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/1.503, allocations: 57.72 kB / 0.5665 GB, free: 28.46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/1.505, allocations: 236.6 kB / 0.5667 GB, free: 28.46 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/1.506, allocations: 1.263 MB / 0.568 GB, free: 27.36 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/1.508, allocations: 47.5 kB / 0.568 GB, free: 27.36 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/1.508, allocations: 51.28 kB / 0.5681 GB, free: 27.36 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004084/1.508, allocations: 141.3 kB / 0.5682 GB, free: 27.25 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003487/1.512, allocations: 0.6277 MB / 0.5688 GB, free: 27.2 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/1.512, allocations: 73.06 kB / 0.5689 GB, free: 27.17 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/1.515, allocations: 0.7843 MB / 0.5696 GB, free: 27.09 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.515, allocations: 9.719 kB / 0.5697 GB, free: 27.09 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.515, allocations: 0 / 0.5697 GB, free: 27.09 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.515, allocations: 3.891 kB / 0.5697 GB, free: 27.09 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/1.52, allocations: 1.363 MB / 0.571 GB, free: 26.78 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.52, allocations: 4.703 kB / 0.571 GB, free: 26.78 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.521, allocations: 142.2 kB / 0.5711 GB, free: 26.78 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/1.521, allocations: 46.69 kB / 0.5712 GB, free: 26.77 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/1.521, allocations: 6.75 kB / 0.5712 GB, free: 26.77 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/1.522, allocations: 1.208 MB / 0.5724 GB, free: 25.67 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.522, allocations: 2.812 kB / 0.5724 GB, free: 25.67 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/1.525, allocations: 1.041 MB / 0.5734 GB, free: 25.4 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/1.526, allocations: 151.3 kB / 0.5735 GB, free: 25.27 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/1.526, allocations: 5.594 kB / 0.5735 GB, free: 25.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/1.527, allocations: 30.47 kB / 0.5736 GB, free: 25.27 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/1.527, allocations: 48.59 kB / 0.5736 GB, free: 25.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.686e-05/1.527, allocations: 22.23 kB / 0.5736 GB, free: 25.27 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0006391/1.528, allocations: 378.9 kB / 0.574 GB, free: 25.17 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.7e-07/1.528, allocations: 3.906 kB / 0.574 GB, free: 25.17 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002008/1.53, allocations: 419.7 kB / 0.5744 GB, free: 25.17 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.medium.T,tank1.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005105/1.535, allocations: 2.286 MB / 0.5766 GB, free: 24.16 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002019/1.537, allocations: 0.597 MB / 0.5772 GB, free: 24.15 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.537, allocations: 3.172 kB / 0.5772 GB, free: 24.15 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/1.538, allocations: 310.8 kB / 0.5775 GB, free: 24.15 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/1.541, allocations: 295 kB / 0.5778 GB, free: 24.15 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/1.545, allocations: 1.364 MB / 0.5791 GB, free: 23.8 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/1.546, allocations: 1.001 MB / 0.5801 GB, free: 23.1 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.001416/1.548, allocations: 226.1 kB / 0.5803 GB, free: 23.09 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/1.548, allocations: 285 kB / 0.5806 GB, free: 23.08 MB / 234.7 MB Notification: Performance of SimCode: time 1.463e-06/1.548, allocations: 0 / 0.5806 GB, free: 23.08 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08625/1.634, allocations: 22.42 MB / 0.6025 GB, free: 21.89 MB / 234.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004775/1.639, allocations: 186 kB / 0.6027 GB, free: 21.71 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.704/5.343, allocations: 2 kB / 0.6027 GB, free: 21.71 MB / 234.7 MB