Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.943/2.943, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.889e-05, allocations: 4.719 kB / 370.6 MB, free: 7.875 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 67.01 MB / 437.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5892/0.7358, allocations: 97.87 MB / 0.523 GB, free: 16.87 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/0.7362, allocations: 74.84 kB / 0.523 GB, free: 16.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005697/0.7419, allocations: 0.9307 MB / 0.524 GB, free: 32.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.742, allocations: 0.7969 kB / 0.524 GB, free: 32.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.742, allocations: 1.375 kB / 0.524 GB, free: 32.54 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006134/0.7426, allocations: 342.6 kB / 0.5243 GB, free: 32.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.7427, allocations: 9.625 kB / 0.5243 GB, free: 32.19 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.7428, allocations: 34.09 kB / 0.5243 GB, free: 32.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.7428, allocations: 6.031 kB / 0.5243 GB, free: 32.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.7429, allocations: 172.5 kB / 0.5245 GB, free: 31.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.743, allocations: 2.438 kB / 0.5245 GB, free: 31.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.743, allocations: 6.109 kB / 0.5245 GB, free: 31.94 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.7433, allocations: 45.83 kB / 0.5245 GB, free: 31.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.7433, allocations: 0 / 0.5245 GB, free: 31.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.7433, allocations: 4.766 kB / 0.5246 GB, free: 31.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.7433, allocations: 1.375 kB / 0.5246 GB, free: 31.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.7436, allocations: 16.55 kB / 0.5246 GB, free: 31.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.7444, allocations: 277.7 kB / 0.5248 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.7449, allocations: 47.98 kB / 0.5249 GB, free: 31.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.745, allocations: 17.81 kB / 0.5249 GB, free: 31.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.7451, allocations: 81.78 kB / 0.525 GB, free: 31.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.7452, allocations: 37.89 kB / 0.525 GB, free: 31.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 2.895e-06/0.7452, allocations: 0 / 0.525 GB, free: 31.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002772/0.7455, allocations: 51.41 kB / 0.5251 GB, free: 31.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.7456, allocations: 52.78 kB / 0.5251 GB, free: 31.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.7457, allocations: 93.02 kB / 0.5252 GB, free: 31.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.7458, allocations: 26.27 kB / 0.5252 GB, free: 31.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.7458, allocations: 88.64 kB / 0.5253 GB, free: 31.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.7459, allocations: 6.578 kB / 0.5253 GB, free: 31.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.7459, allocations: 0.9375 kB / 0.5253 GB, free: 31.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7461, allocations: 323.1 kB / 0.5256 GB, free: 30.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.7462, allocations: 7.75 kB / 0.5256 GB, free: 30.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.7462, allocations: 6.875 kB / 0.5256 GB, free: 30.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/0.7463, allocations: 7.688 kB / 0.5256 GB, free: 30.83 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7463, allocations: 0 / 0.5256 GB, free: 30.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001974/0.7465, allocations: 49 kB / 0.5257 GB, free: 30.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7466, allocations: 13.39 kB / 0.5257 GB, free: 30.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7466, allocations: 1.594 kB / 0.5257 GB, free: 30.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.7466, allocations: 1.375 kB / 0.5257 GB, free: 30.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.7468, allocations: 17.38 kB / 0.5257 GB, free: 30.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7469, allocations: 0 / 0.5257 GB, free: 30.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.747, allocations: 9.562 kB / 0.5257 GB, free: 30.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.7471, allocations: 4.266 kB / 0.5257 GB, free: 30.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,fac.u) * 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 0.000109/0.7472, allocations: 108.6 kB / 0.5258 GB, free: 30.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.7472, allocations: 5.281 kB / 0.5258 GB, free: 30.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.7475, allocations: 64.22 kB / 0.5259 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.7475, allocations: 1.375 kB / 0.5259 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7475, allocations: 0 / 0.5259 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7476, allocations: 4.031 kB / 0.5259 GB, free: 30.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.7479, allocations: 170.8 kB / 0.5261 GB, free: 30.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.7479, allocations: 0 / 0.5261 GB, free: 30.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.7481, allocations: 14.66 kB / 0.5261 GB, free: 30.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.7481, allocations: 0 / 0.5261 GB, free: 30.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.7481, allocations: 1.375 kB / 0.5261 GB, free: 30.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.7482, allocations: 7.953 kB / 0.5261 GB, free: 30.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7482, allocations: 0 / 0.5261 GB, free: 30.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.7484, allocations: 147.1 kB / 0.5262 GB, free: 30.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.7485, allocations: 78.48 kB / 0.5263 GB, free: 30.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.7485, allocations: 2.438 kB / 0.5263 GB, free: 30.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.7488, allocations: 8.891 kB / 0.5263 GB, free: 30.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.7488, allocations: 15.95 kB / 0.5263 GB, free: 30.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.7489, allocations: 6.062 kB / 0.5263 GB, free: 30.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.941e-05/0.749, allocations: 79.59 kB / 0.5264 GB, free: 30.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.749, allocations: 0 / 0.5264 GB, free: 30.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005924/0.7496, allocations: 16.97 kB / 0.5264 GB, free: 30.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,fac.u) * 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.00075/0.7503, allocations: 0.6955 MB / 0.5271 GB, free: 29.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.7505, allocations: 19.91 kB / 0.5271 GB, free: 29.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7506, allocations: 1.375 kB / 0.5271 GB, free: 29.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.7506, allocations: 13.14 kB / 0.5271 GB, free: 29.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.751, allocations: 6.578 kB / 0.5272 GB, free: 29.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.7516, allocations: 99.88 kB / 0.5272 GB, free: 29.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.752, allocations: 0.6794 MB / 0.5279 GB, free: 28.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.814e-05/0.7521, allocations: 6.594 kB / 0.5279 GB, free: 28.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.7522, allocations: 17.5 kB / 0.5279 GB, free: 28.62 MB / 458.7 MB Notification: Performance of SimCode: time 3.737e-06/0.7522, allocations: 0 / 0.5279 GB, free: 28.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05009/0.8023, allocations: 1.264 MB / 0.5292 GB, free: 28.43 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.8026, allocations: 140.5 kB / 0.5293 GB, free: 28.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.29, allocations: 0 / 0.5293 GB, free: 28.2 MB / 458.7 MB