Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.344/4.344, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.692e-05/4.702e-05, allocations: 8 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2612, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9329/1.194, allocations: 131.1 MB / 0.8059 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/1.195, allocations: 79.86 kB / 0.8059 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002634/1.197, allocations: 0.8218 MB / 0.8067 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.197, allocations: 0 / 0.8067 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.091e-06/1.197, allocations: 0 / 0.8067 GB, free: 12.2 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.000258/1.198, allocations: 339 kB / 0.8071 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.198, allocations: 11.72 kB / 0.8071 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/1.198, allocations: 40.64 kB / 0.8071 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/1.198, allocations: 3.188 kB / 0.8071 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.103e-05/1.198, allocations: 163 kB / 0.8073 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/1.198, allocations: 3.875 kB / 0.8073 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/1.198, allocations: 15.58 kB / 0.8073 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/1.198, allocations: 57.19 kB / 0.8074 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.198, allocations: 0 / 0.8074 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/1.198, allocations: 3.938 kB / 0.8074 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/1.198, allocations: 3.875 kB / 0.8074 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/1.198, allocations: 111.4 kB / 0.8075 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/1.198, allocations: 172.9 kB / 0.8076 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/1.199, allocations: 68.45 kB / 0.8077 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/1.199, allocations: 29.7 kB / 0.8077 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/1.199, allocations: 410.3 kB / 0.8081 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/1.199, allocations: 34.06 kB / 0.8081 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.844e-06/1.199, allocations: 0 / 0.8081 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002571/1.199, allocations: 96.3 kB / 0.8082 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/1.199, allocations: 51.41 kB / 0.8083 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.004e-05/1.199, allocations: 95.66 kB / 0.8084 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/1.199, allocations: 29.33 kB / 0.8084 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/1.199, allocations: 80.33 kB / 0.8085 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/1.199, allocations: 19.38 kB / 0.8085 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/1.199, allocations: 0 / 0.8085 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/1.2, allocations: 317 kB / 0.8088 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/1.2, allocations: 25.58 kB / 0.8088 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/1.2, allocations: 15.38 kB / 0.8088 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/1.2, allocations: 24.55 kB / 0.8089 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.2, allocations: 0 / 0.8089 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002042/1.2, allocations: 105.5 kB / 0.809 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.2, allocations: 3.812 kB / 0.809 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.2, allocations: 0 / 0.809 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.2, allocations: 0 / 0.809 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/1.2, allocations: 18.22 kB / 0.809 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/1.2, allocations: 0 / 0.809 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/1.2, allocations: 3.969 kB / 0.809 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/1.2, allocations: 4 kB / 0.809 GB, free: 10.12 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 8.613e-05/1.2, allocations: 123 kB / 0.8091 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/1.2, allocations: 7.859 kB / 0.8091 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/1.201, allocations: 119.8 kB / 0.8092 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.201, allocations: 3.812 kB / 0.8092 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.201, allocations: 0 / 0.8092 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.201, allocations: 4 kB / 0.8092 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/1.201, allocations: 176 kB / 0.8094 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.201, allocations: 0 / 0.8094 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/1.201, allocations: 17.98 kB / 0.8094 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.201, allocations: 0 / 0.8094 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/1.201, allocations: 8.672 kB / 0.8094 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.201, allocations: 3.938 kB / 0.8094 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.201, allocations: 3.938 kB / 0.8094 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/1.201, allocations: 120.9 kB / 0.8096 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/1.201, allocations: 81.02 kB / 0.8096 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/1.201, allocations: 9.797 kB / 0.8096 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.719e-05/1.201, allocations: 3.953 kB / 0.8097 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/1.202, allocations: 10.69 kB / 0.8097 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/1.202, allocations: 3.844 kB / 0.8097 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.7e-05/1.202, allocations: 75.28 kB / 0.8097 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.202, allocations: 0 / 0.8097 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002791/1.202, allocations: 18.88 kB / 0.8098 GB, free: 9.492 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.0008798/1.203, allocations: 0.6769 MB / 0.8104 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001972/1.203, allocations: 62.78 kB / 0.8105 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.203, allocations: 0 / 0.8105 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/1.203, allocations: 36.42 kB / 0.8105 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/1.203, allocations: 11.39 kB / 0.8105 GB, free: 24.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/1.204, allocations: 136.1 kB / 0.8107 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/1.204, allocations: 0.6837 MB / 0.8113 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001362/1.204, allocations: 36.16 kB / 0.8114 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/1.204, allocations: 15.98 kB / 0.8114 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.204, allocations: 0 / 0.8114 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/1.227, allocations: 1.338 MB / 0.8127 GB, free: 23.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/1.228, allocations: 162.2 kB / 0.8128 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.661, allocations: 3.938 kB / 0.8128 GB, free: 23.59 MB / 0.6511 GB