Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.842/2.842, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/4.006e-05, allocations: 11.72 kB / 370.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 67.01 MB / 437.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6168/0.7628, allocations: 96.92 MB / 0.5221 GB, free: 16.72 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/0.7632, allocations: 75.62 kB / 0.5221 GB, free: 16.72 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00237/0.7656, allocations: 0.5247 MB / 0.5226 GB, free: 32.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7656, allocations: 1.547 kB / 0.5226 GB, free: 32.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.7657, allocations: 0 / 0.5226 GB, free: 32.4 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002968/0.766, allocations: 310.1 kB / 0.5229 GB, free: 32.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.766, allocations: 10.28 kB / 0.5229 GB, free: 32.07 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.7661, allocations: 30.56 kB / 0.523 GB, free: 32.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.7661, allocations: 2.719 kB / 0.523 GB, free: 32.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.321e-05/0.7662, allocations: 161.2 kB / 0.5231 GB, free: 31.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.7663, allocations: 0.625 kB / 0.5231 GB, free: 31.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.7663, allocations: 1.594 kB / 0.5231 GB, free: 31.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.7664, allocations: 40.69 kB / 0.5232 GB, free: 31.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.7664, allocations: 3.938 kB / 0.5232 GB, free: 31.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.7665, allocations: 9.031 kB / 0.5232 GB, free: 31.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.7665, allocations: 0 / 0.5232 GB, free: 31.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.13e-05/0.7665, allocations: 4.641 kB / 0.5232 GB, free: 31.78 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.7667, allocations: 150.5 kB / 0.5233 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.564e-05/0.7668, allocations: 22.31 kB / 0.5234 GB, free: 31.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.7669, allocations: 12.89 kB / 0.5234 GB, free: 31.56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.767, allocations: 84.88 kB / 0.5235 GB, free: 31.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.7671, allocations: 31.66 kB / 0.5235 GB, free: 31.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.7671, allocations: 0 / 0.5235 GB, free: 31.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001615/0.7673, allocations: 42.66 kB / 0.5235 GB, free: 31.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.7673, allocations: 52.47 kB / 0.5236 GB, free: 31.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.622e-05/0.7674, allocations: 85 kB / 0.5237 GB, free: 31.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.7674, allocations: 27.05 kB / 0.5237 GB, free: 31.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.7675, allocations: 85.27 kB / 0.5238 GB, free: 31.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.7675, allocations: 9.188 kB / 0.5238 GB, free: 31.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.7675, allocations: 0.6875 kB / 0.5238 GB, free: 31.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7677, allocations: 312 kB / 0.5241 GB, free: 30.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.7677, allocations: 3.172 kB / 0.5241 GB, free: 30.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.7678, allocations: 2.625 kB / 0.5241 GB, free: 30.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.7678, allocations: 3.641 kB / 0.5241 GB, free: 30.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7678, allocations: 1.156 kB / 0.5241 GB, free: 30.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.768, allocations: 41.25 kB / 0.5241 GB, free: 30.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.768, allocations: 8.797 kB / 0.5241 GB, free: 30.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.768, allocations: 1.578 kB / 0.5241 GB, free: 30.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7681, allocations: 0 / 0.5241 GB, free: 30.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.7682, allocations: 3.984 kB / 0.5241 GB, free: 30.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.7682, allocations: 2.203 kB / 0.5241 GB, free: 30.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.7682, allocations: 7.891 kB / 0.5241 GB, free: 30.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.7683, allocations: 3.812 kB / 0.5241 GB, free: 30.75 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,n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000111/0.7684, allocations: 105.9 kB / 0.5242 GB, free: 30.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.7684, allocations: 5.094 kB / 0.5242 GB, free: 30.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.7686, allocations: 42.62 kB / 0.5243 GB, free: 30.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7686, allocations: 0.6094 kB / 0.5243 GB, free: 30.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7687, allocations: 0 / 0.5243 GB, free: 30.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7687, allocations: 2.516 kB / 0.5243 GB, free: 30.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.7688, allocations: 148.3 kB / 0.5244 GB, free: 30.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7689, allocations: 0.75 kB / 0.5244 GB, free: 30.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.7689, allocations: 3.688 kB / 0.5244 GB, free: 30.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.769, allocations: 5.438 kB / 0.5244 GB, free: 30.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.769, allocations: 4.031 kB / 0.5244 GB, free: 30.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.769, allocations: 2.297 kB / 0.5244 GB, free: 30.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.769, allocations: 5.375 kB / 0.5245 GB, free: 30.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.7692, allocations: 64.3 kB / 0.5245 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.7693, allocations: 81.86 kB / 0.5246 GB, free: 30.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.7693, allocations: 2.703 kB / 0.5246 GB, free: 30.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.7693, allocations: 0 / 0.5246 GB, free: 30.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.7694, allocations: 3.406 kB / 0.5246 GB, free: 30.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.7694, allocations: 5.5 kB / 0.5246 GB, free: 30.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.663e-05/0.7695, allocations: 75.28 kB / 0.5247 GB, free: 30.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7695, allocations: 0 / 0.5247 GB, free: 30.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.7698, allocations: 8.906 kB / 0.5247 GB, free: 30.16 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,n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005075/0.7703, allocations: 0.6174 MB / 0.5253 GB, free: 29.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.567e-05/0.7704, allocations: 11.8 kB / 0.5253 GB, free: 29.56 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7704, allocations: 0 / 0.5253 GB, free: 29.56 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.499e-05/0.7704, allocations: 5.656 kB / 0.5253 GB, free: 29.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.7706, allocations: 0.9375 kB / 0.5253 GB, free: 29.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.7709, allocations: 88.47 kB / 0.5254 GB, free: 29.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.7712, allocations: 0.6753 MB / 0.526 GB, free: 28.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.042e-05/0.7712, allocations: 2.156 kB / 0.5261 GB, free: 28.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.7713, allocations: 13.25 kB / 0.5261 GB, free: 28.74 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7713, allocations: 0 / 0.5261 GB, free: 28.74 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.7891, allocations: 0.8475 MB / 0.5269 GB, free: 28.55 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/0.7894, allocations: 151.7 kB / 0.527 GB, free: 28.33 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.208, allocations: 0 / 0.527 GB, free: 28.33 MB / 458.7 MB