Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.159/4.159, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.078e-05, allocations: 4.906 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2747, allocations: 98.72 MB / 0.6302 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.5068, allocations: 124.8 MB / 0.7521 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.5071, allocations: 71.95 kB / 0.7522 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0045/0.5116, allocations: 1.016 MB / 0.7532 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5117, allocations: 0 / 0.7532 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.5117, allocations: 4 kB / 0.7532 GB, free: 8.055 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004925/0.5122, allocations: 350.4 kB / 0.7535 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.5123, allocations: 8.031 kB / 0.7535 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.5123, allocations: 34.56 kB / 0.7535 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.5124, allocations: 7.938 kB / 0.7535 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.5125, allocations: 178.9 kB / 0.7537 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.5126, allocations: 0 / 0.7537 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.5126, allocations: 4 kB / 0.7537 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.5128, allocations: 49.69 kB / 0.7538 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5128, allocations: 0 / 0.7538 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5128, allocations: 4 kB / 0.7538 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5128, allocations: 0 / 0.7538 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.473e-05/0.5129, allocations: 24 kB / 0.7538 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.5134, allocations: 284.7 kB / 0.7541 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.5138, allocations: 54.55 kB / 0.7541 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.5139, allocations: 12.92 kB / 0.7541 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.5142, allocations: 397.6 kB / 0.7545 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5143, allocations: 30.56 kB / 0.7545 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.304e-06/0.5143, allocations: 0 / 0.7545 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002294/0.5145, allocations: 65.48 kB / 0.7546 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.5146, allocations: 55.34 kB / 0.7547 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.5147, allocations: 109 kB / 0.7548 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.5147, allocations: 25.7 kB / 0.7548 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.5148, allocations: 88.14 kB / 0.7549 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.5148, allocations: 7.844 kB / 0.7549 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.5148, allocations: 0 / 0.7549 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.515, allocations: 314.8 kB / 0.7552 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.801e-05/0.515, allocations: 12 kB / 0.7552 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.5151, allocations: 8 kB / 0.7552 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.5151, allocations: 4 kB / 0.7552 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5151, allocations: 4 kB / 0.7552 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001695/0.5153, allocations: 53.69 kB / 0.7553 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5153, allocations: 5.094 kB / 0.7553 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5154, allocations: 0 / 0.7553 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5154, allocations: 0 / 0.7553 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.5156, allocations: 19.92 kB / 0.7553 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5156, allocations: 3.953 kB / 0.7553 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.5157, allocations: 15.89 kB / 0.7553 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.5157, allocations: 4 kB / 0.7553 GB, free: 5.555 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 (falFac.y,falFac.k) * 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.021e-05/0.5158, allocations: 101 kB / 0.7554 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.5159, allocations: 4 kB / 0.7554 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.5161, allocations: 57.7 kB / 0.7555 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5161, allocations: 0 / 0.7555 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5161, allocations: 0 / 0.7555 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5161, allocations: 3.953 kB / 0.7555 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.5163, allocations: 165.7 kB / 0.7556 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5164, allocations: 4 kB / 0.7556 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.5165, allocations: 15.98 kB / 0.7556 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.5165, allocations: 0 / 0.7556 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.5165, allocations: 3.938 kB / 0.7556 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.5166, allocations: 0 / 0.7556 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5166, allocations: 3.938 kB / 0.7556 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.5168, allocations: 155.6 kB / 0.7558 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.5168, allocations: 85.11 kB / 0.7559 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.5169, allocations: 48 / 0.7559 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.517, allocations: 15.97 kB / 0.7559 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.5171, allocations: 4 kB / 0.7559 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.5171, allocations: 0 / 0.7559 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.817e-05/0.5172, allocations: 91.27 kB / 0.756 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5172, allocations: 0 / 0.756 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003239/0.5175, allocations: 16 kB / 0.756 GB, free: 4.746 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 (falFac.y,falFac.k) * 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.00059/0.5181, allocations: 0.7045 MB / 0.7567 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.5183, allocations: 23.94 kB / 0.7567 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5183, allocations: 0 / 0.7567 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.5184, allocations: 12 kB / 0.7567 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.5186, allocations: 0 / 0.7567 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.5191, allocations: 122.4 kB / 0.7568 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.5194, allocations: 0.6848 MB / 0.7575 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.288e-05/0.5195, allocations: 4 kB / 0.7575 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.5196, allocations: 11.44 kB / 0.7575 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.5196, allocations: 0 / 0.7575 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.5431, allocations: 1.369 MB / 0.7589 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003598/0.5435, allocations: 153.7 kB / 0.759 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/2.827, allocations: 4 kB / 0.759 GB, free: 1.57 MB / 0.6355 GB