Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.191/4.191, allocations: 464.6 MB / 476.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.813e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9095/1.141, allocations: 132.2 MB / 0.8069 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.142, allocations: 71.55 kB / 0.807 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004068/1.146, allocations: 1.049 MB / 0.808 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.146, allocations: 3.828 kB / 0.808 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.146, allocations: 3.844 kB / 0.808 GB, free: 11.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004065/1.146, allocations: 345.3 kB / 0.8083 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.146, allocations: 11.53 kB / 0.8083 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/1.146, allocations: 30.56 kB / 0.8084 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/1.146, allocations: 3.812 kB / 0.8084 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.822e-05/1.146, allocations: 178.6 kB / 0.8085 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/1.146, allocations: 0 / 0.8085 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/1.146, allocations: 7.781 kB / 0.8086 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/1.147, allocations: 48.97 kB / 0.8086 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/1.147, allocations: 0 / 0.8086 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.147, allocations: 2.625 kB / 0.8086 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.147, allocations: 3.938 kB / 0.8086 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/1.147, allocations: 22.19 kB / 0.8086 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/1.147, allocations: 275 kB / 0.8089 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/1.147, allocations: 53.67 kB / 0.8089 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/1.148, allocations: 16.59 kB / 0.809 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/1.148, allocations: 399.2 kB / 0.8093 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/1.148, allocations: 37.84 kB / 0.8094 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/1.148, allocations: 4 kB / 0.8094 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001898/1.148, allocations: 47.75 kB / 0.8094 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/1.148, allocations: 54.36 kB / 0.8095 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/1.148, allocations: 104.5 kB / 0.8096 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/1.148, allocations: 29.64 kB / 0.8096 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/1.148, allocations: 82.81 kB / 0.8097 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/1.148, allocations: 10.88 kB / 0.8097 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/1.148, allocations: 0 / 0.8097 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/1.148, allocations: 318.8 kB / 0.81 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/1.148, allocations: 10.2 kB / 0.81 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/1.148, allocations: 7.625 kB / 0.81 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/1.148, allocations: 7.469 kB / 0.81 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.148, allocations: 0 / 0.81 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001162/1.149, allocations: 54.17 kB / 0.8101 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.149, allocations: 7.812 kB / 0.8101 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.149, allocations: 0 / 0.8101 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.149, allocations: 3.938 kB / 0.8101 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/1.149, allocations: 22.25 kB / 0.8101 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.149, allocations: 0 / 0.8101 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/1.149, allocations: 6.797 kB / 0.8101 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/1.149, allocations: 3.844 kB / 0.8101 GB, free: 9.527 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.769e-05/1.149, allocations: 111.8 kB / 0.8102 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/1.149, allocations: 3.844 kB / 0.8102 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/1.149, allocations: 57.77 kB / 0.8103 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.149, allocations: 4 kB / 0.8103 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.149, allocations: 0 / 0.8103 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.149, allocations: 3.844 kB / 0.8103 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/1.149, allocations: 173.4 kB / 0.8105 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.149, allocations: 0 / 0.8105 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/1.15, allocations: 10.56 kB / 0.8105 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.15, allocations: 0 / 0.8105 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.15, allocations: 3.594 kB / 0.8105 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.15, allocations: 0 / 0.8105 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.15, allocations: 0 / 0.8105 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/1.15, allocations: 159.3 kB / 0.8106 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/1.15, allocations: 79.69 kB / 0.8107 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/1.15, allocations: 4.094 kB / 0.8107 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/1.15, allocations: 10.3 kB / 0.8107 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/1.15, allocations: 10.8 kB / 0.8107 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/1.15, allocations: 0 / 0.8107 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.441e-05/1.151, allocations: 95.02 kB / 0.8108 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-07/1.151, allocations: 0 / 0.8108 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003425/1.151, allocations: 23.53 kB / 0.8108 GB, free: 24.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005598/1.151, allocations: 0.7056 MB / 0.8115 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001186/1.152, allocations: 21.39 kB / 0.8115 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.152, allocations: 4 kB / 0.8115 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/1.152, allocations: 15.28 kB / 0.8116 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/1.152, allocations: 0 / 0.8116 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/1.152, allocations: 109.4 kB / 0.8117 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/1.153, allocations: 0.6822 MB / 0.8123 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.161e-05/1.153, allocations: 7.719 kB / 0.8123 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/1.153, allocations: 17.7 kB / 0.8124 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/1.153, allocations: 0 / 0.8124 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/1.171, allocations: 1.362 MB / 0.8137 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/1.172, allocations: 161.7 kB / 0.8138 GB, free: 22.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.576, allocations: 0 / 0.8138 GB, free: 22.9 MB / 0.6511 GB