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.427/4.427, allocations: 431.3 MB / 445.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.577e-05/3.571e-05, allocations: 4 kB / 0.5354 GB, free: 14.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6159, allocations: 98.69 MB / 0.6318 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0008083/0.6167, allocations: 320.7 kB / 0.6321 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002476/0.617, allocations: 39.91 kB / 0.6321 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-06/0.617, allocations: 0 / 0.6321 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.6171, allocations: 4 kB / 0.6322 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.6171, allocations: 0 / 0.6322 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.6172, allocations: 11.92 kB / 0.6322 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 3.108e-05/0.6173, allocations: 0 / 0.6322 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.6173, allocations: 4 kB / 0.6322 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/0.6174, allocations: 0 / 0.6322 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.084e-05/0.6174, allocations: 3.938 kB / 0.6322 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.6175, allocations: 11.98 kB / 0.6322 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.6175, allocations: 0 / 0.6322 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.6175, allocations: 0 / 0.6322 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.6176, allocations: 4 kB / 0.6322 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 6.565e-05/0.6176, allocations: 7.984 kB / 0.6322 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6176, allocations: 0 / 0.6322 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6177, allocations: 0 / 0.6322 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.6177, allocations: 0 / 0.6322 GB, free: 11.5 MB / 0.5105 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.0003272/0.618, allocations: 315.3 kB / 0.6325 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6181, allocations: 8.031 kB / 0.6325 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.6181, allocations: 4 kB / 0.6325 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.6182, allocations: 163 kB / 0.6327 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.6182, allocations: 0 / 0.6327 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.6183, allocations: 0 / 0.6327 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.6184, allocations: 41.69 kB / 0.6327 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6184, allocations: 0 / 0.6327 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.6184, allocations: 0 / 0.6327 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6184, allocations: 0 / 0.6327 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.6185, allocations: 7.938 kB / 0.6327 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.6187, allocations: 149.6 kB / 0.6329 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.051e-05/0.6188, allocations: 26.59 kB / 0.6329 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.619, allocations: 85.09 kB / 0.633 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.619, allocations: 38.56 kB / 0.633 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.619, allocations: 0 / 0.633 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001777/0.6192, allocations: 45.62 kB / 0.633 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.6193, allocations: 55.34 kB / 0.6331 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.6194, allocations: 85 kB / 0.6332 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.6194, allocations: 25.7 kB / 0.6332 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.6194, allocations: 80.27 kB / 0.6333 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.6195, allocations: 14.39 kB / 0.6333 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.6195, allocations: 0 / 0.6333 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6196, allocations: 310.8 kB / 0.6336 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.6196, allocations: 0 / 0.6336 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.6197, allocations: 7.984 kB / 0.6336 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.6197, allocations: 0 / 0.6336 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.6197, allocations: 3.953 kB / 0.6336 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.183e-05/0.6198, allocations: 41.64 kB / 0.6336 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.6198, allocations: 12.09 kB / 0.6336 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6198, allocations: 0 / 0.6336 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.6199, allocations: 0 / 0.6336 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.62, allocations: 7.984 kB / 0.6337 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.62, allocations: 0 / 0.6337 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.62, allocations: 3.906 kB / 0.6337 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.62, allocations: 0 / 0.6337 GB, free: 9.773 MB / 0.5105 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 8.027e-05/0.6201, allocations: 105.8 kB / 0.6338 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.6201, allocations: 7.953 kB / 0.6338 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.6203, allocations: 48.81 kB / 0.6338 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6203, allocations: 4 kB / 0.6338 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6203, allocations: 0 / 0.6338 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6203, allocations: 0 / 0.6338 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.6204, allocations: 153.6 kB / 0.634 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6205, allocations: 0 / 0.634 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.6205, allocations: 7.953 kB / 0.634 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.6205, allocations: 0 / 0.634 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.6205, allocations: 0 / 0.634 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.6205, allocations: 4 kB / 0.634 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6206, allocations: 4.031 kB / 0.634 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.6207, allocations: 61.12 kB / 0.634 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.6207, allocations: 81.05 kB / 0.6341 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.6208, allocations: 3.953 kB / 0.6341 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.568e-05/0.6208, allocations: 0 / 0.6341 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.6208, allocations: 4 kB / 0.6341 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.6208, allocations: 0 / 0.6341 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.6209, allocations: 79.31 kB / 0.6342 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/0.6209, allocations: 0 / 0.6342 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002426/0.6211, allocations: 4 kB / 0.6342 GB, free: 9.117 MB / 0.5105 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.0002011/0.6213, allocations: 116.9 kB / 0.6343 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.946e-05/0.6214, allocations: 11.94 kB / 0.6343 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6215, allocations: 0 / 0.6343 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.6215, allocations: 4 kB / 0.6343 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.6216, allocations: 4.125 kB / 0.6343 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.6219, allocations: 86.69 kB / 0.6344 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.6221, allocations: 0.6731 MB / 0.6351 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.6222, allocations: 4 kB / 0.6351 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.6222, allocations: 7.438 kB / 0.6351 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.6222, allocations: 0 / 0.6351 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of Templates: time 0.002852/0.6251, allocations: 311.8 kB / 0.6354 GB, free: 7.852 MB / 0.5105 GB