Notification: Performance of loadModel(Modelica): time 1.025/1.025, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.222e-05, allocations: 0 / 145.9 MB, free: 4.051 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.159, allocations: 25.16 MB / 171.1 MB, free: 1.711 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5516/0.7107, allocations: 235.9 MB / 407 MB, free: 35.93 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.711, allocations: 67.28 kB / 407.1 MB, free: 35.89 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.214/1.925, allocations: 245.1 MB / 0.6369 GB, free: 32.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001832/1.925, allocations: 39.86 kB / 0.6369 GB, free: 32.88 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.007818/1.933, allocations: 1.675 MB / 0.6386 GB, free: 32.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.933, allocations: 9.469 kB / 0.6386 GB, free: 32.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009826/1.934, allocations: 161.4 kB / 0.6387 GB, free: 32.01 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0035/1.937, allocations: 1.006 MB / 0.6397 GB, free: 31.69 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/1.938, allocations: 149.7 kB / 0.6399 GB, free: 31.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003673/1.938, allocations: 51.91 kB / 0.6399 GB, free: 31.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003406/1.942, allocations: 1.382 MB / 0.6413 GB, free: 31.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/1.945, allocations: 1.466 MB / 0.6427 GB, free: 31.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/1.945, allocations: 6.406 kB / 0.6427 GB, free: 31.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/1.946, allocations: 0 / 0.6427 GB, free: 31.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/1.946, allocations: 105.6 kB / 0.6428 GB, free: 31.42 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/1.961, allocations: 5.56 MB / 0.6482 GB, free: 29.51 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/1.963, allocations: 1.057 MB / 0.6493 GB, free: 29.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/1.965, allocations: 0.6423 MB / 0.6499 GB, free: 29.47 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008673/1.974, allocations: 3.877 MB / 0.6537 GB, free: 27.33 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/1.974, allocations: 56.55 kB / 0.6537 GB, free: 27.29 MB / 250.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001059/1.975, allocations: 106.1 kB / 0.6538 GB, free: 27.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=91): time 5.28e-06/1.975, allocations: 0 / 0.6538 GB, free: 27.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.01871/1.994, allocations: 3.932 MB / 0.6577 GB, free: 26.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/1.994, allocations: 141.3 kB / 0.6578 GB, free: 26.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/1.995, allocations: 0.738 MB / 0.6585 GB, free: 26.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002769/1.996, allocations: 29.67 kB / 0.6586 GB, free: 26.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/1.996, allocations: 0.5807 MB / 0.6591 GB, free: 26.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/1.996, allocations: 350.9 kB / 0.6595 GB, free: 25.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/1.996, allocations: 0 / 0.6595 GB, free: 25.86 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/1.997, allocations: 354.3 kB / 0.6598 GB, free: 25.56 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/1.998, allocations: 0.5431 MB / 0.6603 GB, free: 25.55 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/1.999, allocations: 0.8425 MB / 0.6611 GB, free: 25.21 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004707/2.004, allocations: 0.9389 MB / 0.6621 GB, free: 25.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/2.004, allocations: 0 / 0.6621 GB, free: 25.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.007641/2.012, allocations: 2.063 MB / 0.6641 GB, free: 25.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/2.012, allocations: 11.3 kB / 0.6641 GB, free: 25.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/2.012, allocations: 10.75 kB / 0.6641 GB, free: 25.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01119/2.023, allocations: 1.03 MB / 0.6651 GB, free: 25.06 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/2.025, allocations: 265.5 kB / 0.6654 GB, free: 25.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/2.031, allocations: 1.813 MB / 0.6671 GB, free: 24.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/2.033, allocations: 73.66 kB / 0.6672 GB, free: 24.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/2.034, allocations: 66.59 kB / 0.6673 GB, free: 24.52 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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 {9 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004172/2.034, allocations: 135.5 kB / 0.6674 GB, free: 24.4 MB / 250.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006848/2.041, allocations: 1.782 MB / 0.6691 GB, free: 24.27 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/2.041, allocations: 124.1 kB / 0.6693 GB, free: 24.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008352/2.05, allocations: 2.07 MB / 0.6713 GB, free: 24.11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/2.05, allocations: 10.59 kB / 0.6713 GB, free: 24.11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/2.05, allocations: 0.9375 kB / 0.6713 GB, free: 24.11 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/2.05, allocations: 6.844 kB / 0.6713 GB, free: 24.11 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/2.061, allocations: 3.289 MB / 0.6745 GB, free: 23.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/2.061, allocations: 0 / 0.6745 GB, free: 23.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/2.062, allocations: 185.3 kB / 0.6747 GB, free: 23.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004883/2.067, allocations: 0.7789 MB / 0.6754 GB, free: 23.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003347/2.068, allocations: 22.86 kB / 0.6755 GB, free: 23.76 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/2.073, allocations: 1.87 MB / 0.6773 GB, free: 23.22 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/2.073, allocations: 7.328 kB / 0.6773 GB, free: 23.22 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0088/2.082, allocations: 2.748 MB / 0.68 GB, free: 22.99 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/2.083, allocations: 193.7 kB / 0.6802 GB, free: 22.83 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/2.083, allocations: 3.125 kB / 0.6802 GB, free: 22.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/2.085, allocations: 76.3 kB / 0.6802 GB, free: 22.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/2.086, allocations: 91.77 kB / 0.6803 GB, free: 22.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/2.086, allocations: 50 kB / 0.6804 GB, free: 22.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00104/2.087, allocations: 0.5387 MB / 0.6809 GB, free: 22.71 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.3e-07/2.087, allocations: 0 / 0.6809 GB, free: 22.71 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003491/2.09, allocations: 0.7352 MB / 0.6816 GB, free: 22.57 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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 {9 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.01267/2.103, allocations: 4.032 MB / 0.6856 GB, free: 21.12 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.005778/2.109, allocations: 1.482 MB / 0.687 GB, free: 20.67 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/2.109, allocations: 1.094 kB / 0.687 GB, free: 20.67 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003574/2.113, allocations: 0.8342 MB / 0.6878 GB, free: 20.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005404/2.118, allocations: 0.5611 MB / 0.6884 GB, free: 20.3 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/2.129, allocations: 2.779 MB / 0.6911 GB, free: 18.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009787/2.131, allocations: 1.286 MB / 0.6923 GB, free: 17.08 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.002404/2.133, allocations: 338.5 kB / 0.6927 GB, free: 16.86 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/2.134, allocations: 0.4943 MB / 0.6931 GB, free: 16.41 MB / 250.7 MB Notification: Performance of SimCode: time 1.283e-06/2.134, allocations: 4 kB / 0.6931 GB, free: 16.41 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2702/2.404, allocations: 42.25 MB / 0.7344 GB, free: 26.11 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.005074/2.409, allocations: 121.4 kB / 0.7345 GB, free: 25.92 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.65/7.06, allocations: 6.375 kB / 0.7345 GB, free: 25.92 MB / 250.7 MB