Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.898/2.898, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.905e-05/5.919e-05, allocations: 5.812 kB / 370.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1971, allocations: 67 MB / 437.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5901/0.7873, allocations: 96.94 MB / 0.5221 GB, free: 16.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.7876, allocations: 76.22 kB / 0.5221 GB, free: 16.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003429/0.7911, allocations: 0.824 MB / 0.5229 GB, free: 32.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.7912, allocations: 0 / 0.5229 GB, free: 32.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.7912, allocations: 1.5 kB / 0.523 GB, free: 32.06 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003323/0.7915, allocations: 342.4 kB / 0.5233 GB, free: 31.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.7916, allocations: 9.188 kB / 0.5233 GB, free: 31.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.7916, allocations: 34.02 kB / 0.5233 GB, free: 31.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.7917, allocations: 2.25 kB / 0.5233 GB, free: 31.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.153e-05/0.7918, allocations: 162.2 kB / 0.5235 GB, free: 31.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.7918, allocations: 6 kB / 0.5235 GB, free: 31.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.7918, allocations: 3.312 kB / 0.5235 GB, free: 31.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.792, allocations: 65.42 kB / 0.5235 GB, free: 31.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.792, allocations: 7.984 kB / 0.5236 GB, free: 31.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.7921, allocations: 5.078 kB / 0.5236 GB, free: 31.42 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.7921, allocations: 5.062 kB / 0.5236 GB, free: 31.42 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.7923, allocations: 97.95 kB / 0.5237 GB, free: 31.42 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.7925, allocations: 168.8 kB / 0.5238 GB, free: 31.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.7927, allocations: 68.12 kB / 0.5239 GB, free: 31.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.7928, allocations: 29.39 kB / 0.5239 GB, free: 31.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.7932, allocations: 405.6 kB / 0.5243 GB, free: 30.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.7932, allocations: 37.25 kB / 0.5243 GB, free: 30.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 2.375e-06/0.7932, allocations: 0 / 0.5243 GB, free: 30.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002731/0.7935, allocations: 100.6 kB / 0.5244 GB, free: 30.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.7936, allocations: 52.81 kB / 0.5245 GB, free: 30.58 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.7936, allocations: 91.56 kB / 0.5246 GB, free: 30.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.7937, allocations: 27.36 kB / 0.5246 GB, free: 30.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.7937, allocations: 84.27 kB / 0.5247 GB, free: 30.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.7937, allocations: 23.72 kB / 0.5247 GB, free: 30.35 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.7938, allocations: 7.375 kB / 0.5247 GB, free: 30.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7939, allocations: 313.8 kB / 0.525 GB, free: 30.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.794, allocations: 20.06 kB / 0.525 GB, free: 30.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.7941, allocations: 17.39 kB / 0.525 GB, free: 30.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.632e-05/0.7941, allocations: 28.38 kB / 0.5251 GB, free: 30.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.7942, allocations: 0 / 0.5251 GB, free: 30.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002155/0.7944, allocations: 89.53 kB / 0.5252 GB, free: 30 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7944, allocations: 6 kB / 0.5252 GB, free: 30 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7944, allocations: 4.047 kB / 0.5252 GB, free: 30 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.7945, allocations: 0 / 0.5252 GB, free: 30 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.7946, allocations: 25.83 kB / 0.5252 GB, free: 29.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7947, allocations: 1.375 kB / 0.5252 GB, free: 29.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.7947, allocations: 9.891 kB / 0.5252 GB, free: 29.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.7947, allocations: 3.5 kB / 0.5252 GB, free: 29.98 MB / 458.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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.7949, allocations: 114.6 kB / 0.5253 GB, free: 29.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.7949, allocations: 1.375 kB / 0.5253 GB, free: 29.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.7952, allocations: 132.7 kB / 0.5254 GB, free: 29.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.7953, allocations: 1.375 kB / 0.5254 GB, free: 29.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.7953, allocations: 1.375 kB / 0.5254 GB, free: 29.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.7953, allocations: 0.7031 kB / 0.5254 GB, free: 29.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.7955, allocations: 176.5 kB / 0.5256 GB, free: 29.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.7955, allocations: 0 / 0.5256 GB, free: 29.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.7956, allocations: 21.95 kB / 0.5256 GB, free: 29.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7956, allocations: 0 / 0.5256 GB, free: 29.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.7957, allocations: 4.781 kB / 0.5256 GB, free: 29.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.7957, allocations: 0 / 0.5256 GB, free: 29.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7957, allocations: 4 kB / 0.5256 GB, free: 29.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.7959, allocations: 130.6 kB / 0.5258 GB, free: 29.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.796, allocations: 79.23 kB / 0.5258 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.796, allocations: 1.375 kB / 0.5258 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.711e-05/0.796, allocations: 2.172 kB / 0.5258 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.7961, allocations: 8.172 kB / 0.5258 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.7961, allocations: 6.25 kB / 0.5259 GB, free: 29.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.7961, allocations: 79.28 kB / 0.5259 GB, free: 29.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7962, allocations: 0 / 0.5259 GB, free: 29.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.7964, allocations: 28.16 kB / 0.526 GB, free: 29.36 MB / 458.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 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006619/0.7971, allocations: 0.6744 MB / 0.5266 GB, free: 28.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.7973, allocations: 62.28 kB / 0.5267 GB, free: 28.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7973, allocations: 1.344 kB / 0.5267 GB, free: 28.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.7974, allocations: 34.17 kB / 0.5267 GB, free: 28.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.7976, allocations: 6.719 kB / 0.5267 GB, free: 28.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.798, allocations: 136.1 kB / 0.5268 GB, free: 28.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.7984, allocations: 0.6878 MB / 0.5275 GB, free: 27.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.7985, allocations: 41.5 kB / 0.5276 GB, free: 27.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.7986, allocations: 18.81 kB / 0.5276 GB, free: 27.92 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7986, allocations: 0 / 0.5276 GB, free: 27.92 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.8181, allocations: 1.326 MB / 0.5289 GB, free: 27.68 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.8184, allocations: 163 kB / 0.529 GB, free: 27.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.166, allocations: 0 / 0.529 GB, free: 27.45 MB / 458.7 MB