Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.399/4.399, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.276e-05/4.281e-05, allocations: 8 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2475, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.958/1.206, allocations: 130.7 MB / 0.7996 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.206, allocations: 75.16 kB / 0.7997 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00262/1.209, allocations: 0.8302 MB / 0.8005 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/1.209, allocations: 3.844 kB / 0.8005 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.209, allocations: 0 / 0.8005 GB, free: 12.81 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.0002801/1.209, allocations: 328.9 kB / 0.8008 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.209, allocations: 15.41 kB / 0.8008 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/1.209, allocations: 36.39 kB / 0.8008 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/1.209, allocations: 7.859 kB / 0.8008 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.68e-05/1.209, allocations: 163.1 kB / 0.801 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/1.209, allocations: 3.844 kB / 0.801 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/1.209, allocations: 7.281 kB / 0.801 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/1.209, allocations: 62.19 kB / 0.8011 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.209, allocations: 0 / 0.8011 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/1.209, allocations: 0 / 0.8011 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.209, allocations: 3.875 kB / 0.8011 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/1.21, allocations: 103.3 kB / 0.8012 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/1.21, allocations: 178.2 kB / 0.8013 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/1.21, allocations: 68.2 kB / 0.8014 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/1.21, allocations: 34.89 kB / 0.8014 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/1.21, allocations: 403 kB / 0.8018 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/1.21, allocations: 33.81 kB / 0.8018 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/1.21, allocations: 3.812 kB / 0.8019 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002542/1.211, allocations: 82.83 kB / 0.8019 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/1.211, allocations: 60.8 kB / 0.802 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.282e-05/1.211, allocations: 92.34 kB / 0.8021 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/1.211, allocations: 25.7 kB / 0.8021 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/1.211, allocations: 84.33 kB / 0.8022 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/1.211, allocations: 16.88 kB / 0.8022 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/1.211, allocations: 7.188 kB / 0.8022 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.111e-05/1.211, allocations: 320 kB / 0.8025 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/1.211, allocations: 20.38 kB / 0.8025 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.121e-05/1.211, allocations: 21.19 kB / 0.8026 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.123e-05/1.211, allocations: 27.73 kB / 0.8026 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.211, allocations: 0 / 0.8026 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001869/1.211, allocations: 87.34 kB / 0.8027 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.211, allocations: 5.297 kB / 0.8027 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.211, allocations: 4.688 kB / 0.8027 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.211, allocations: 7.906 kB / 0.8027 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/1.212, allocations: 25.39 kB / 0.8027 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.212, allocations: 0 / 0.8027 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/1.212, allocations: 1.406 kB / 0.8027 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/1.212, allocations: 8.719 kB / 0.8027 GB, free: 10.73 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 7.875e-05/1.212, allocations: 116.9 kB / 0.8028 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/1.212, allocations: 3.844 kB / 0.8028 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/1.212, allocations: 126.2 kB / 0.8029 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.212, allocations: 3.969 kB / 0.803 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.212, allocations: 3.938 kB / 0.803 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.212, allocations: 0 / 0.803 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/1.212, allocations: 179.5 kB / 0.8031 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.212, allocations: 3.844 kB / 0.8031 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/1.212, allocations: 18.41 kB / 0.8031 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/1.212, allocations: 3.875 kB / 0.8032 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.213, allocations: 8.812 kB / 0.8032 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.213, allocations: 0 / 0.8032 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.213, allocations: 0 / 0.8032 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/1.213, allocations: 117.3 kB / 0.8033 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/1.213, allocations: 88.81 kB / 0.8034 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/1.213, allocations: 0 / 0.8034 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/1.213, allocations: 0 / 0.8034 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/1.213, allocations: 15.45 kB / 0.8034 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/1.213, allocations: 7.844 kB / 0.8034 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.777e-05/1.213, allocations: 75.28 kB / 0.8034 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.213, allocations: 0 / 0.8034 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003125/1.213, allocations: 23.94 kB / 0.8035 GB, free: 10.1 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.000861/1.214, allocations: 0.6694 MB / 0.8041 GB, free: 25.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001927/1.214, allocations: 61.36 kB / 0.8042 GB, free: 25.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.214, allocations: 0 / 0.8042 GB, free: 25.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/1.214, allocations: 40.75 kB / 0.8042 GB, free: 25.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/1.215, allocations: 3.047 kB / 0.8042 GB, free: 25.49 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/1.215, allocations: 137.1 kB / 0.8044 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/1.215, allocations: 0.6854 MB / 0.805 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001375/1.215, allocations: 41.64 kB / 0.8051 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/1.216, allocations: 20.39 kB / 0.8051 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.216, allocations: 0 / 0.8051 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/1.238, allocations: 1.336 MB / 0.8064 GB, free: 24.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/1.238, allocations: 167.5 kB / 0.8066 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.688, allocations: 3.938 kB / 0.8066 GB, free: 24.18 MB / 0.6511 GB