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.672e-05/2.702e-05, allocations: 4 kB / 145.9 MB, free: 4.039 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 25.15 MB / 171.1 MB, free: 1.75 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5087/0.6483, allocations: 238.8 MB / 409.9 MB, free: 33.26 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.6486, allocations: 68.56 kB / 410 MB, free: 33.23 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.5553/1.204, allocations: 130 MB / 0.5273 GB, free: 1.508 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.106e-05/1.204, allocations: 23.98 kB / 0.5273 GB, free: 1.484 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002715/1.207, allocations: 1.03 MB / 0.5283 GB, free: 412 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.207, allocations: 8.031 kB / 0.5283 GB, free: 404 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/1.207, allocations: 86.97 kB / 0.5284 GB, free: 316 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1109/1.318, allocations: 0.6187 MB / 0.529 GB, free: 37.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.318, allocations: 73.38 kB / 0.5291 GB, free: 37.7 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.318, allocations: 26.72 kB / 0.5291 GB, free: 37.7 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001239/1.32, allocations: 0.5296 MB / 0.5296 GB, free: 37.7 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/1.321, allocations: 0.6958 MB / 0.5303 GB, free: 37.55 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/1.321, allocations: 0 / 0.5303 GB, free: 37.55 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/1.321, allocations: 3.719 kB / 0.5303 GB, free: 37.55 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/1.321, allocations: 44.84 kB / 0.5304 GB, free: 37.54 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006639/1.328, allocations: 3.494 MB / 0.5338 GB, free: 35.29 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/1.329, allocations: 376 kB / 0.5341 GB, free: 35.26 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/1.329, allocations: 217.4 kB / 0.5343 GB, free: 35.25 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002291/1.332, allocations: 1.369 MB / 0.5357 GB, free: 34.31 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005356/1.332, allocations: 283.9 kB / 0.5359 GB, free: 34.22 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 3.076e-06/1.332, allocations: 0 / 0.5359 GB, free: 34.22 MB / 234.7 MB Notification: Performance of matching and sorting (n=37): time 0.004608/1.337, allocations: 1.306 MB / 0.5372 GB, free: 33.84 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/1.337, allocations: 161.2 kB / 0.5374 GB, free: 33.66 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008497/1.338, allocations: 0.5152 MB / 0.5379 GB, free: 33.53 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/1.338, allocations: 25.7 kB / 0.5379 GB, free: 33.5 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/1.338, allocations: 413.2 kB / 0.5383 GB, free: 33.32 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/1.338, allocations: 129.5 kB / 0.5384 GB, free: 33.26 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/1.339, allocations: 0 / 0.5384 GB, free: 33.26 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/1.339, allocations: 378.7 kB / 0.5388 GB, free: 32.95 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/1.339, allocations: 213.5 kB / 0.539 GB, free: 32.95 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/1.34, allocations: 499.6 kB / 0.5395 GB, free: 32.6 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.341, allocations: 312.2 kB / 0.5397 GB, free: 32.59 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.341, allocations: 3.781 kB / 0.5398 GB, free: 32.59 MB / 234.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002549/1.343, allocations: 0.8466 MB / 0.5406 GB, free: 32.5 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/1.344, allocations: 43.95 kB / 0.5406 GB, free: 32.47 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.344, allocations: 10.81 kB / 0.5406 GB, free: 32.47 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/1.344, allocations: 98.22 kB / 0.5407 GB, free: 32.46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008928/1.345, allocations: 138.4 kB / 0.5409 GB, free: 32.46 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008735/1.346, allocations: 0.6912 MB / 0.5415 GB, free: 31.94 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.347, allocations: 28.44 kB / 0.5416 GB, free: 31.94 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.347, allocations: 42.72 kB / 0.5416 GB, free: 31.94 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: tank.level:VARIABLE(min = 0.0 start = tank.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank.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: 40 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003514/1.347, allocations: 189.7 kB / 0.5418 GB, free: 31.8 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00197/1.349, allocations: 0.5774 MB / 0.5423 GB, free: 31.72 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.35, allocations: 70.98 kB / 0.5424 GB, free: 31.68 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/1.352, allocations: 0.6351 MB / 0.543 GB, free: 31.62 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.352, allocations: 0 / 0.543 GB, free: 31.62 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.352, allocations: 6.906 kB / 0.543 GB, free: 31.62 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.352, allocations: 0 / 0.543 GB, free: 31.62 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/1.355, allocations: 1.239 MB / 0.5443 GB, free: 31.33 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.355, allocations: 0 / 0.5443 GB, free: 31.33 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/1.356, allocations: 56.59 kB / 0.5443 GB, free: 31.33 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00054/1.356, allocations: 106.7 kB / 0.5444 GB, free: 31.32 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/1.356, allocations: 6.469 kB / 0.5444 GB, free: 31.32 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008163/1.357, allocations: 0.6715 MB / 0.5451 GB, free: 30.8 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.357, allocations: 3.953 kB / 0.5451 GB, free: 30.8 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/1.359, allocations: 0.9535 MB / 0.546 GB, free: 30.59 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/1.359, allocations: 139.1 kB / 0.5461 GB, free: 30.46 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.36, allocations: 7.5 kB / 0.5461 GB, free: 30.46 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/1.36, allocations: 27.06 kB / 0.5462 GB, free: 30.46 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.361, allocations: 35.16 kB / 0.5462 GB, free: 30.46 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/1.361, allocations: 25.42 kB / 0.5462 GB, free: 30.46 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000617/1.361, allocations: 382.7 kB / 0.5466 GB, free: 30.37 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.361, allocations: 0 / 0.5466 GB, free: 30.37 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00175/1.363, allocations: 363.8 kB / 0.5469 GB, free: 30.37 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 7 ($whenCondition1,tank.ports_m_flow_out[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 7 (tank.aboveLevel[1],tank.ports_m_flow_out[1],timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003852/1.367, allocations: 1.923 MB / 0.5488 GB, free: 29.56 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001517/1.369, allocations: 0.5697 MB / 0.5494 GB, free: 29.49 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.369, allocations: 0 / 0.5494 GB, free: 29.49 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005945/1.369, allocations: 283.7 kB / 0.5496 GB, free: 29.43 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.371, allocations: 256.3 kB / 0.5499 GB, free: 29.41 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/1.376, allocations: 1.267 MB / 0.5511 GB, free: 29.11 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/1.376, allocations: 0.969 MB / 0.5521 GB, free: 28.41 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.001025/1.377, allocations: 154.8 kB / 0.5522 GB, free: 28.4 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/1.378, allocations: 239.4 kB / 0.5524 GB, free: 28.39 MB / 234.7 MB Notification: Performance of SimCode: time 1.142e-06/1.378, allocations: 3.562 kB / 0.5525 GB, free: 28.39 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08051/1.458, allocations: 19.11 MB / 0.5711 GB, free: 27.61 MB / 234.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004623/1.463, allocations: 179.1 kB / 0.5713 GB, free: 27.41 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.534/4.997, allocations: 6 kB / 0.5713 GB, free: 27.41 MB / 234.7 MB