Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadModel(Buildings): time 4.049/4.049, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.654e-05, allocations: 6.25 kB / 0.5337 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.206, allocations: 98.72 MB / 0.6301 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.4024, allocations: 124.7 MB / 0.7519 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4027, allocations: 75.95 kB / 0.7519 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003381/0.4061, allocations: 0.9067 MB / 0.7528 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.796e-06/0.4061, allocations: 0 / 0.7528 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.448e-06/0.4061, allocations: 3.938 kB / 0.7528 GB, free: 8.387 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004406/0.4066, allocations: 342.4 kB / 0.7532 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4066, allocations: 8.031 kB / 0.7532 GB, free: 8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.4067, allocations: 8 kB / 0.7532 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.4068, allocations: 163 kB / 0.7533 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.4069, allocations: 0 / 0.7533 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.4069, allocations: 4 kB / 0.7533 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.407, allocations: 49.67 kB / 0.7534 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.173e-06/0.4071, allocations: 3.938 kB / 0.7534 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4071, allocations: 0 / 0.7534 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-06/0.4071, allocations: 0 / 0.7534 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.4072, allocations: 23.88 kB / 0.7534 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.4077, allocations: 288.8 kB / 0.7537 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.408, allocations: 46.61 kB / 0.7537 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.4081, allocations: 12.86 kB / 0.7537 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.4082, allocations: 85.11 kB / 0.7538 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.4083, allocations: 30.56 kB / 0.7539 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.193e-06/0.4083, allocations: 0 / 0.7539 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001989/0.4085, allocations: 53.72 kB / 0.7539 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.4085, allocations: 55.36 kB / 0.754 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.4086, allocations: 96.98 kB / 0.7541 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.4087, allocations: 25.7 kB / 0.7541 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.4087, allocations: 92.02 kB / 0.7542 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.4088, allocations: 7.906 kB / 0.7542 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.4088, allocations: 0 / 0.7542 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4089, allocations: 318.8 kB / 0.7545 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.409, allocations: 7.984 kB / 0.7545 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.409, allocations: 8 kB / 0.7545 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/0.4091, allocations: 4 kB / 0.7545 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-06/0.4091, allocations: 0 / 0.7545 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001429/0.4092, allocations: 57.62 kB / 0.7545 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4093, allocations: 4 kB / 0.7546 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4093, allocations: 0 / 0.7546 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4093, allocations: 4 kB / 0.7546 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4095, allocations: 15.98 kB / 0.7546 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.026e-06/0.4095, allocations: 0 / 0.7546 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.4096, allocations: 15.84 kB / 0.7546 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4096, allocations: 0 / 0.7546 GB, free: 6.367 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.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 8.194e-05/0.4097, allocations: 105 kB / 0.7547 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.4097, allocations: 4 kB / 0.7547 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.4099, allocations: 57.17 kB / 0.7547 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.713e-06/0.4099, allocations: 4 kB / 0.7547 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.41, allocations: 0 / 0.7547 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-06/0.41, allocations: 0 / 0.7547 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.4102, allocations: 165.6 kB / 0.7549 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-06/0.4102, allocations: 4 kB / 0.7549 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.4104, allocations: 15.92 kB / 0.7549 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.695e-06/0.4104, allocations: 0 / 0.7549 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.403e-06/0.4104, allocations: 4 kB / 0.7549 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.841e-06/0.4104, allocations: 0 / 0.7549 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.872e-06/0.4104, allocations: 7.938 kB / 0.7549 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.4106, allocations: 143.9 kB / 0.7551 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.4107, allocations: 89.05 kB / 0.7552 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.4107, allocations: 3.938 kB / 0.7552 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4109, allocations: 7.984 kB / 0.7552 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.4109, allocations: 15.98 kB / 0.7552 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.4109, allocations: 4 kB / 0.7552 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.411, allocations: 79.28 kB / 0.7553 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.8e-07/0.411, allocations: 0 / 0.7553 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003189/0.4114, allocations: 12 kB / 0.7553 GB, free: 5.562 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.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.0001867/0.4116, allocations: 119.2 kB / 0.7554 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.4117, allocations: 20 kB / 0.7554 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.48e-06/0.4117, allocations: 4 kB / 0.7554 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.713e-05/0.4118, allocations: 12 kB / 0.7554 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.412, allocations: 7.938 kB / 0.7554 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.4122, allocations: 64.92 kB / 0.7555 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4126, allocations: 0.6809 MB / 0.7562 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.4127, allocations: 7.938 kB / 0.7562 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.4127, allocations: 11.44 kB / 0.7562 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of SimCode: time 1.244e-06/0.4127, allocations: 0 / 0.7562 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of Templates: time 0.003217/0.4159, allocations: 0.5983 MB / 0.7568 GB, free: 3.984 MB / 0.6355 GB