Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadModel(Buildings): time 4.258/4.258, allocations: 432.8 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.857e-05, allocations: 10.05 kB / 0.5337 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 98.72 MB / 0.6301 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.3607, allocations: 123.8 MB / 0.751 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.361, allocations: 79.89 kB / 0.7511 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001435/0.3625, allocations: 0.5204 MB / 0.7516 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.123e-06/0.3625, allocations: 0 / 0.7516 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.636e-06/0.3625, allocations: 4 kB / 0.7516 GB, free: 9.621 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002958/0.3628, allocations: 322.4 kB / 0.7519 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3629, allocations: 8.031 kB / 0.7519 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.3629, allocations: 3.906 kB / 0.7519 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3631, allocations: 163 kB / 0.7521 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3631, allocations: 4 kB / 0.7521 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-06/0.3631, allocations: 0 / 0.7521 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.022e-05/0.3632, allocations: 29.7 kB / 0.7521 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.831e-06/0.3632, allocations: 0 / 0.7521 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-06/0.3632, allocations: 4 kB / 0.7521 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-06/0.3632, allocations: 0 / 0.7521 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.3633, allocations: 15.92 kB / 0.7521 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.3635, allocations: 145.6 kB / 0.7523 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.466e-05/0.3636, allocations: 30.59 kB / 0.7523 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.3636, allocations: 4.859 kB / 0.7523 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.3638, allocations: 85.16 kB / 0.7524 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3639, allocations: 34.56 kB / 0.7524 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.168e-06/0.3639, allocations: 0 / 0.7524 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001994/0.3641, allocations: 37.7 kB / 0.7525 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.3642, allocations: 51.41 kB / 0.7525 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.3643, allocations: 92.92 kB / 0.7526 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3644, allocations: 25.7 kB / 0.7526 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.3644, allocations: 80.14 kB / 0.7527 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3645, allocations: 4 kB / 0.7527 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-06/0.3645, allocations: 4.031 kB / 0.7527 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.3647, allocations: 314.8 kB / 0.753 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.3648, allocations: 4 kB / 0.753 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.3648, allocations: 4 kB / 0.753 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.3649, allocations: 3.953 kB / 0.753 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.79e-06/0.3649, allocations: 0 / 0.753 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001415/0.365, allocations: 37.69 kB / 0.7531 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3651, allocations: 10.34 kB / 0.7531 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.707e-06/0.3651, allocations: 4.094 kB / 0.7531 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3651, allocations: 0 / 0.7531 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.3652, allocations: 4 kB / 0.7531 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3653, allocations: 0 / 0.7531 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.3653, allocations: 3.938 kB / 0.7531 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-06/0.3653, allocations: 0 / 0.7531 GB, free: 7.895 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 (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.0001118/0.3655, allocations: 116.9 kB / 0.7532 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.3655, allocations: 0 / 0.7532 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.3656, allocations: 48.72 kB / 0.7532 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-06/0.3656, allocations: 0 / 0.7532 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3656, allocations: 0 / 0.7532 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-06/0.3656, allocations: 0 / 0.7532 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3658, allocations: 153.7 kB / 0.7534 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.725e-06/0.3658, allocations: 3.953 kB / 0.7534 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.3658, allocations: 4 kB / 0.7534 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3659, allocations: 0 / 0.7534 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-06/0.3659, allocations: 4 kB / 0.7534 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.416e-06/0.3659, allocations: 0 / 0.7534 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3659, allocations: 4 kB / 0.7534 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.366, allocations: 69.09 kB / 0.7535 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3661, allocations: 81.06 kB / 0.7535 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.3661, allocations: 0 / 0.7535 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.3661, allocations: 0 / 0.7535 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.3662, allocations: 11.92 kB / 0.7535 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-06/0.3662, allocations: 0 / 0.7535 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.3662, allocations: 75.28 kB / 0.7536 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.11e-07/0.3662, allocations: 4.031 kB / 0.7536 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000253/0.3665, allocations: 4 kB / 0.7536 GB, free: 7.23 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: 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.0001974/0.3667, allocations: 111.2 kB / 0.7537 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.207e-05/0.3668, allocations: 7.984 kB / 0.7537 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.47e-06/0.3668, allocations: 0 / 0.7537 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.3668, allocations: 11.94 kB / 0.7538 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.47e-05/0.367, allocations: 0 / 0.7538 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.3671, allocations: 49.19 kB / 0.7538 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3675, allocations: 0.677 MB / 0.7545 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.525e-05/0.3675, allocations: 0 / 0.7545 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.3675, allocations: 11.44 kB / 0.7545 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of SimCode: time 1.388e-06/0.3675, allocations: 0 / 0.7545 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of Templates: time 0.002407/0.37, allocations: 306.5 kB / 0.7548 GB, free: 6.012 MB / 0.6355 GB