Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.478/3.478, allocations: 343.7 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.751e-05/4.752e-05, allocations: 4 kB / 436.7 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1807, allocations: 77.73 MB / 0.5023 GB, free: 4.473 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6728/0.8536, allocations: 104.9 MB / 0.6048 GB, free: 16 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004898/0.8542, allocations: 76.03 kB / 0.6048 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004504/0.8587, allocations: 0.8222 MB / 0.6056 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8588, allocations: 0 / 0.6056 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.8588, allocations: 0 / 0.6056 GB, free: 15.12 MB / 0.4948 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.0005216/0.8593, allocations: 334.5 kB / 0.606 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.884e-05/0.8594, allocations: 15.97 kB / 0.606 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.142e-05/0.8595, allocations: 39.38 kB / 0.606 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.8596, allocations: 7.906 kB / 0.606 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.8598, allocations: 167 kB / 0.6062 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.8598, allocations: 0 / 0.6062 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.8599, allocations: 4 kB / 0.6062 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.8602, allocations: 61.61 kB / 0.6062 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.8602, allocations: 0 / 0.6062 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.8602, allocations: 7.984 kB / 0.6063 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.8603, allocations: 4 kB / 0.6063 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.8607, allocations: 103.9 kB / 0.6064 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.861, allocations: 175.2 kB / 0.6065 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.8613, allocations: 66.56 kB / 0.6066 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.8615, allocations: 32.84 kB / 0.6066 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.8621, allocations: 397.5 kB / 0.607 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.8622, allocations: 38.55 kB / 0.607 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 5.22e-06/0.8622, allocations: 4 kB / 0.607 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0004397/0.8627, allocations: 85.94 kB / 0.6071 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.8628, allocations: 59.34 kB / 0.6072 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.8629, allocations: 92.91 kB / 0.6073 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.8629, allocations: 25.7 kB / 0.6073 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.863, allocations: 88.27 kB / 0.6074 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.8631, allocations: 15.8 kB / 0.6074 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.8631, allocations: 4 kB / 0.6074 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.8633, allocations: 322.8 kB / 0.6077 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.8635, allocations: 23.94 kB / 0.6077 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.8636, allocations: 19.98 kB / 0.6077 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.8638, allocations: 23.98 kB / 0.6078 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8638, allocations: 0 / 0.6078 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003418/0.8641, allocations: 93.56 kB / 0.6079 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.8642, allocations: 6.656 kB / 0.6079 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.8642, allocations: 0 / 0.6079 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.8643, allocations: 0 / 0.6079 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.8646, allocations: 19.94 kB / 0.6079 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.8646, allocations: 7.922 kB / 0.6079 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.8647, allocations: 8 kB / 0.6079 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.8647, allocations: 4 kB / 0.6079 GB, free: 12.5 MB / 0.4948 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.0001715/0.8649, allocations: 116.9 kB / 0.608 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.865, allocations: 3.906 kB / 0.608 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.8655, allocations: 117.8 kB / 0.6081 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.8656, allocations: 0 / 0.6081 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8656, allocations: 7.938 kB / 0.6081 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.8656, allocations: 3.984 kB / 0.6081 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.8659, allocations: 179 kB / 0.6083 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.866, allocations: 3.938 kB / 0.6083 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.8662, allocations: 15.98 kB / 0.6083 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.8663, allocations: 4 kB / 0.6083 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.8663, allocations: 0 / 0.6083 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.8663, allocations: 0 / 0.6083 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.8663, allocations: 0 / 0.6083 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.8668, allocations: 129.9 kB / 0.6085 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.8669, allocations: 84.97 kB / 0.6085 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.8669, allocations: 0 / 0.6085 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.614e-05/0.867, allocations: 8.875 kB / 0.6085 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.8671, allocations: 7.984 kB / 0.6086 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.8671, allocations: 0 / 0.6086 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.8672, allocations: 83.22 kB / 0.6086 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.52e-07/0.8672, allocations: 0 / 0.6086 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004837/0.8677, allocations: 27.92 kB / 0.6087 GB, free: 11.62 MB / 0.4948 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.0009916/0.8687, allocations: 0.671 MB / 0.6093 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.8691, allocations: 59.92 kB / 0.6094 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.8691, allocations: 0 / 0.6094 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.8693, allocations: 35.92 kB / 0.6094 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.8695, allocations: 11.88 kB / 0.6094 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006854/0.8702, allocations: 130.6 kB / 0.6095 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.8706, allocations: 0.6848 MB / 0.6102 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.8709, allocations: 39.92 kB / 0.6102 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.871, allocations: 19.42 kB / 0.6103 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/0.871, allocations: 0 / 0.6103 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.8938, allocations: 1.328 MB / 0.6116 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003468/0.8943, allocations: 176.1 kB / 0.6117 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.278, allocations: 4 kB / 0.6117 GB, free: 8.406 MB / 0.4948 GB