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.589/4.589, allocations: 431.3 MB / 445.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.723e-05/4.722e-05, allocations: 8 kB / 0.5354 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7041/0.7042, allocations: 98.71 MB / 0.6318 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002278/0.7065, allocations: 1.221 MB / 0.633 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003821/0.7069, allocations: 112.5 kB / 0.6331 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.707, allocations: 0 / 0.6331 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.707, allocations: 0 / 0.6331 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.7071, allocations: 4 kB / 0.6331 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.7073, allocations: 27.89 kB / 0.6331 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.311e-05/0.7073, allocations: 11.94 kB / 0.6331 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.7074, allocations: 11.98 kB / 0.6332 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.7075, allocations: 4 kB / 0.6332 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.7076, allocations: 11.98 kB / 0.6332 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-05/0.7076, allocations: 4 kB / 0.6332 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.7077, allocations: 0 / 0.6332 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.7077, allocations: 19.91 kB / 0.6332 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.7077, allocations: 0 / 0.6332 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.299e-05/0.7078, allocations: 19.97 kB / 0.6332 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7078, allocations: 0 / 0.6332 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7078, allocations: 4 kB / 0.6332 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.7079, allocations: 0 / 0.6332 GB, free: 10.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005678/0.7084, allocations: 337.7 kB / 0.6335 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.7085, allocations: 11.97 kB / 0.6336 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.7086, allocations: 4 kB / 0.6336 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.7087, allocations: 167 kB / 0.6337 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.7088, allocations: 12 kB / 0.6337 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.7088, allocations: 0 / 0.6337 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.7091, allocations: 57.67 kB / 0.6338 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7091, allocations: 0 / 0.6338 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.7091, allocations: 0 / 0.6338 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.7091, allocations: 3.938 kB / 0.6338 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.7095, allocations: 59.89 kB / 0.6338 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.71, allocations: 272.8 kB / 0.6341 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.7105, allocations: 63.23 kB / 0.6342 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.7107, allocations: 81.09 kB / 0.6342 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.7107, allocations: 38.5 kB / 0.6343 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.7107, allocations: 0 / 0.6343 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0006224/0.7114, allocations: 109.6 kB / 0.6344 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.7115, allocations: 51.41 kB / 0.6344 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.338e-05/0.7116, allocations: 101 kB / 0.6345 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.7116, allocations: 25.7 kB / 0.6345 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.7117, allocations: 84.12 kB / 0.6346 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.7117, allocations: 11.89 kB / 0.6346 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.7117, allocations: 0 / 0.6346 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7119, allocations: 318.8 kB / 0.6349 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.7121, allocations: 19.98 kB / 0.635 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.7122, allocations: 23.97 kB / 0.635 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.7124, allocations: 31.92 kB / 0.635 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7124, allocations: 0 / 0.635 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003943/0.7128, allocations: 85.56 kB / 0.6351 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.7129, allocations: 15.98 kB / 0.6351 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7129, allocations: 0 / 0.6351 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.7129, allocations: 0 / 0.6351 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.7131, allocations: 12.5 kB / 0.6351 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.7131, allocations: 0 / 0.6351 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.803e-05/0.7132, allocations: 8 kB / 0.6351 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.7132, allocations: 3.953 kB / 0.6351 GB, free: 8.281 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.y,rea2Int.y) * 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.0001136/0.7134, allocations: 121.8 kB / 0.6353 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.7134, allocations: 0 / 0.6353 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.7138, allocations: 97.06 kB / 0.6353 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7139, allocations: 0 / 0.6353 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.7139, allocations: 4 kB / 0.6354 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7139, allocations: 4 kB / 0.6354 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.7141, allocations: 165.6 kB / 0.6355 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7141, allocations: 7.875 kB / 0.6355 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.7143, allocations: 15.98 kB / 0.6355 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7143, allocations: 4 kB / 0.6355 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.7143, allocations: 0 / 0.6355 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.7143, allocations: 3.984 kB / 0.6355 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7143, allocations: 0 / 0.6355 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.7148, allocations: 183.4 kB / 0.6357 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.7149, allocations: 89 kB / 0.6358 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.7149, allocations: 0 / 0.6358 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.715, allocations: 8 kB / 0.6358 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.7151, allocations: 11.98 kB / 0.6358 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.7151, allocations: 0 / 0.6358 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.434e-05/0.7152, allocations: 79.28 kB / 0.6359 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7152, allocations: 0 / 0.6359 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003077/0.7155, allocations: 11.98 kB / 0.6359 GB, free: 7.387 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.y,rea2Int.y) * 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.0001933/0.7157, allocations: 99.25 kB / 0.636 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.7161, allocations: 59.95 kB / 0.6361 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7161, allocations: 0 / 0.6361 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.7163, allocations: 35.91 kB / 0.6361 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.7166, allocations: 11.89 kB / 0.6361 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.717, allocations: 116.7 kB / 0.6362 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.7173, allocations: 0.677 MB / 0.6369 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.579e-05/0.7174, allocations: 7.938 kB / 0.6369 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.7174, allocations: 15.44 kB / 0.6369 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/0.7175, allocations: 4 kB / 0.6369 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of Templates: time 0.003656/0.7211, allocations: 0.6016 MB / 0.6375 GB, free: 5.703 MB / 0.5105 GB