Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.09/4.09, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.982e-05/5.986e-05, allocations: 5.844 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2517, allocations: 98.72 MB / 0.6302 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.236/0.4877, allocations: 123.8 MB / 0.7511 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.4881, allocations: 75.94 kB / 0.7512 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002936/0.491, allocations: 0.8244 MB / 0.752 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4911, allocations: 4 kB / 0.752 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.4911, allocations: 0 / 0.752 GB, free: 9.227 MB / 0.6355 GB 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.0003676/0.4915, allocations: 335 kB / 0.7523 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4916, allocations: 12.03 kB / 0.7523 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.4916, allocations: 38.5 kB / 0.7524 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.4917, allocations: 4 kB / 0.7524 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.4918, allocations: 171 kB / 0.7525 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4918, allocations: 3.938 kB / 0.7525 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.4919, allocations: 4 kB / 0.7526 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.4921, allocations: 57.67 kB / 0.7526 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4921, allocations: 4 kB / 0.7526 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.4921, allocations: 4 kB / 0.7526 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4921, allocations: 0 / 0.7526 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.4924, allocations: 99.81 kB / 0.7527 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.4926, allocations: 181.5 kB / 0.7529 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.4928, allocations: 70.66 kB / 0.753 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.4929, allocations: 33.02 kB / 0.753 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003912/0.4933, allocations: 401.5 kB / 0.7534 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.4934, allocations: 42.55 kB / 0.7534 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.315e-06/0.4934, allocations: 0 / 0.7534 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002864/0.4937, allocations: 77.67 kB / 0.7535 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4937, allocations: 67.34 kB / 0.7535 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.4938, allocations: 88.91 kB / 0.7536 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.4938, allocations: 25.7 kB / 0.7537 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.4939, allocations: 88.31 kB / 0.7537 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.4939, allocations: 15.75 kB / 0.7538 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.4939, allocations: 4 kB / 0.7538 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4941, allocations: 318.8 kB / 0.7541 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.4942, allocations: 19.98 kB / 0.7541 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.4943, allocations: 24.05 kB / 0.7541 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.957e-05/0.4944, allocations: 27.97 kB / 0.7541 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4944, allocations: 0 / 0.7541 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002258/0.4946, allocations: 93.52 kB / 0.7542 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4946, allocations: 4 kB / 0.7542 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4947, allocations: 0 / 0.7542 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4947, allocations: 4 kB / 0.7542 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4949, allocations: 19.92 kB / 0.7542 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4949, allocations: 4 kB / 0.7542 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.495, allocations: 0 / 0.7542 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.495, allocations: 12 kB / 0.7543 GB, free: 6.605 MB / 0.6355 GB 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.0001046/0.4951, allocations: 112.9 kB / 0.7544 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.4951, allocations: 15.89 kB / 0.7544 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.4955, allocations: 117.8 kB / 0.7545 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4955, allocations: 0 / 0.7545 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4955, allocations: 0 / 0.7545 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4956, allocations: 3.938 kB / 0.7545 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.4957, allocations: 189.5 kB / 0.7547 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4958, allocations: 0 / 0.7547 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.4959, allocations: 19.94 kB / 0.7547 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4959, allocations: 0 / 0.7547 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.496, allocations: 3.984 kB / 0.7547 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.496, allocations: 0 / 0.7547 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.496, allocations: 4 kB / 0.7547 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.4962, allocations: 109.5 kB / 0.7548 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.4963, allocations: 96.89 kB / 0.7549 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.4963, allocations: 4 kB / 0.7549 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.834e-05/0.4964, allocations: 4 kB / 0.7549 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.4964, allocations: 11.92 kB / 0.7549 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4964, allocations: 4 kB / 0.7549 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.374e-05/0.4965, allocations: 75.28 kB / 0.755 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4965, allocations: 0 / 0.755 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003021/0.4968, allocations: 16 kB / 0.755 GB, free: 5.734 MB / 0.6355 GB 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.0007055/0.4975, allocations: 0.6715 MB / 0.7557 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.4979, allocations: 63.91 kB / 0.7557 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4979, allocations: 0 / 0.7557 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.498, allocations: 32.27 kB / 0.7558 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.4983, allocations: 6.266 kB / 0.7558 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.499, allocations: 142.4 kB / 0.7559 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4994, allocations: 0.6887 MB / 0.7566 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.4996, allocations: 35.73 kB / 0.7566 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.4996, allocations: 19.42 kB / 0.7566 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/0.4996, allocations: 0 / 0.7566 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.5204, allocations: 1.329 MB / 0.7579 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/0.5208, allocations: 171.6 kB / 0.7581 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/2.973, allocations: 0 / 0.7581 GB, free: 2.5 MB / 0.6355 GB