Notification: Performance of loadModel(Modelica): time 0.9679/0.9679, allocations: 111.2 MB / 118.4 MB, free: 15.6 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.117e-05, allocations: 0 / 145.9 MB, free: 4.078 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1248, allocations: 25.17 MB / 171.1 MB, free: 1.734 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05653/0.1814, allocations: 33.06 MB / 204.1 MB, free: 4.484 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.1816, allocations: 59.97 kB / 204.2 MB, free: 4.426 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.008816/0.1904, allocations: 1.949 MB / 206.1 MB, free: 2.477 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1905, allocations: 0 / 206.1 MB, free: 2.477 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005241/0.191, allocations: 493.1 kB / 206.6 MB, free: 1.926 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1911, allocations: 8.031 kB / 206.6 MB, free: 1.918 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.1912, allocations: 11.91 kB / 206.6 MB, free: 1.906 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.1913, allocations: 175.4 kB / 206.8 MB, free: 1.695 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1914, allocations: 11.94 kB / 206.8 MB, free: 1.684 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.1914, allocations: 8 kB / 206.8 MB, free: 1.676 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000168/0.1916, allocations: 43.98 kB / 206.9 MB, free: 1.633 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.1918, allocations: 81.61 kB / 206.9 MB, free: 1.547 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1918, allocations: 0 / 206.9 MB, free: 1.547 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.1919, allocations: 7.953 kB / 207 MB, free: 1.539 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1919, allocations: 0 / 207 MB, free: 1.539 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.1924, allocations: 309.3 kB / 207.3 MB, free: 1.199 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1926, allocations: 78.5 kB / 207.3 MB, free: 1.113 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.509e-05/0.1927, allocations: 36.92 kB / 207.4 MB, free: 1.074 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1928, allocations: 0 / 207.4 MB, free: 1.074 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.193, allocations: 174.6 kB / 207.5 MB, free: 0.8789 MB / 170.7 MB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.1931, allocations: 0 / 207.5 MB, free: 0.8789 MB / 170.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004656/0.1935, allocations: 145.6 kB / 207.7 MB, free: 0.7305 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.1936, allocations: 170.2 kB / 207.9 MB, free: 0.5273 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1938, allocations: 114.7 kB / 208 MB, free: 416 kB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1938, allocations: 29.7 kB / 208 MB, free: 380 kB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.1939, allocations: 100 kB / 208.1 MB, free: 276 kB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.194, allocations: 27.72 kB / 208.1 MB, free: 248 kB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.194, allocations: 0 / 208.1 MB, free: 248 kB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1942, allocations: 322.8 kB / 208.4 MB, free: 15.92 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.1943, allocations: 31.98 kB / 208.5 MB, free: 15.89 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/0.1944, allocations: 32 kB / 208.5 MB, free: 15.86 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1945, allocations: 31.97 kB / 208.5 MB, free: 15.82 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1945, allocations: 3.938 kB / 208.5 MB, free: 15.82 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004096/0.195, allocations: 161.4 kB / 208.7 MB, free: 15.66 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.18e-05/0.1951, allocations: 120.7 kB / 208.8 MB, free: 15.52 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1951, allocations: 0 / 208.8 MB, free: 15.52 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1951, allocations: 0 / 208.8 MB, free: 15.52 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.115e-05/0.1952, allocations: 0 / 208.8 MB, free: 15.52 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1952, allocations: 11.98 kB / 208.8 MB, free: 15.5 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1953, allocations: 4 kB / 208.8 MB, free: 15.5 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.1953, allocations: 4 kB / 208.8 MB, free: 15.5 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$PRE.table2.y,table2.y,$PRE.table2.nextTime,table2.nextTime,$PRE.table2.index,table2.index,$PRE.table1.y,table1.y,$PRE.table1.nextTime,table1.nextTime,$PRE.table1.index,table1.index,And1.u2,And1.y,$PRE.Pre1.u,Pre1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.1955, allocations: 176.4 kB / 209 MB, free: 15.3 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004107/0.1959, allocations: 177.5 kB / 209.2 MB, free: 15.12 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.196, allocations: 7.906 kB / 209.2 MB, free: 15.12 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.196, allocations: 12.62 kB / 209.2 MB, free: 15.1 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1961, allocations: 7.984 kB / 209.2 MB, free: 15.09 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1961, allocations: 0 / 209.2 MB, free: 15.09 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1961, allocations: 0 / 209.2 MB, free: 15.09 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.1963, allocations: 182.1 kB / 209.4 MB, free: 14.88 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1963, allocations: 3.938 kB / 209.4 MB, free: 14.87 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.1963, allocations: 128 / 209.4 MB, free: 14.87 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1963, allocations: 3.953 kB / 209.4 MB, free: 14.87 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.1964, allocations: 8 kB / 209.4 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1964, allocations: 0 / 209.4 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1964, allocations: 3.984 kB / 209.4 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.1968, allocations: 208.9 kB / 209.6 MB, free: 14.63 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.1969, allocations: 85.16 kB / 209.7 MB, free: 14.53 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.197, allocations: 7.953 kB / 209.7 MB, free: 14.52 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.1971, allocations: 11.98 kB / 209.7 MB, free: 14.51 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.1972, allocations: 11.98 kB / 209.7 MB, free: 14.5 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1972, allocations: 4 kB / 209.7 MB, free: 14.5 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.856e-05/0.1973, allocations: 104 kB / 209.8 MB, free: 14.39 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1974, allocations: 4 kB / 209.8 MB, free: 14.39 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004237/0.1978, allocations: 59.88 kB / 209.9 MB, free: 14.33 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$whenCondition2,table2.y,table2.nextTime,table2.index,table1.y,table1.nextTime,table1.index,And1.u2,And1.y,Pre1.u) * Number of discrete states: 9 (Pre1.u,table1.y,table1.nextTime,table1.index,$whenCondition1,table2.y,table2.nextTime,table2.index,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009948/0.1988, allocations: 0.7716 MB / 210.7 MB, free: 13.54 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.1993, allocations: 317.5 kB / 211 MB, free: 13.18 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.1993, allocations: 8 kB / 211 MB, free: 13.17 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1995, allocations: 186.7 kB / 211.2 MB, free: 12.96 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.1997, allocations: 7.953 kB / 211.2 MB, free: 12.95 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.2004, allocations: 218 kB / 211.4 MB, free: 12.71 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.2008, allocations: 0.7041 MB / 212.1 MB, free: 11.98 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 2.506e-05/0.2008, allocations: 4 kB / 212.1 MB, free: 11.97 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.2009, allocations: 27.42 kB / 212.1 MB, free: 11.95 MB / 186.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2009, allocations: 4 kB / 212.1 MB, free: 11.95 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05296/0.2539, allocations: 2.266 MB / 214.4 MB, free: 9.691 MB / 186.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004753/0.2587, allocations: 131.6 kB / 214.5 MB, free: 9.492 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.439/2.698, allocations: 1.969 kB / 214.5 MB, free: 9.492 MB / 186.7 MB