Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.467/3.467, allocations: 343.7 MB / 355.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.373e-05/5.382e-05, allocations: 4 kB / 436.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1877, allocations: 77.73 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6897/0.8774, allocations: 105.2 MB / 0.6051 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.8778, allocations: 75.95 kB / 0.6051 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005452/0.8833, allocations: 1.214 MB / 0.6063 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8833, allocations: 4 kB / 0.6063 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8833, allocations: 0 / 0.6063 GB, free: 14.45 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006002/0.884, allocations: 358.4 kB / 0.6067 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.884, allocations: 11.97 kB / 0.6067 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.8841, allocations: 38.56 kB / 0.6067 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.8841, allocations: 7.906 kB / 0.6067 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.8843, allocations: 167 kB / 0.6069 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.8846, allocations: 281 kB / 0.6071 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.8847, allocations: 8 kB / 0.6072 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.885, allocations: 75.06 kB / 0.6072 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.885, allocations: 3.938 kB / 0.6072 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.885, allocations: 0 / 0.6072 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.885, allocations: 3.984 kB / 0.6072 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.8853, allocations: 119.8 kB / 0.6073 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.8856, allocations: 185.5 kB / 0.6075 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.8859, allocations: 78.55 kB / 0.6076 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.886, allocations: 36.84 kB / 0.6076 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.886, allocations: 8 kB / 0.6076 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.8861, allocations: 30.56 kB / 0.6077 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.8861, allocations: 0 / 0.6077 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0003403/0.8864, allocations: 105.8 kB / 0.6078 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.8865, allocations: 51.41 kB / 0.6078 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.089e-05/0.8865, allocations: 85 kB / 0.6079 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.8866, allocations: 29.7 kB / 0.6079 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.8866, allocations: 80.33 kB / 0.608 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.8867, allocations: 39.45 kB / 0.608 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.8867, allocations: 4 kB / 0.608 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8868, allocations: 322.8 kB / 0.6084 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.8869, allocations: 20 kB / 0.6084 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.887, allocations: 23.98 kB / 0.6084 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.662e-05/0.8871, allocations: 23.97 kB / 0.6084 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.8872, allocations: 0 / 0.6084 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000271/0.8874, allocations: 105.5 kB / 0.6085 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8875, allocations: 6.812 kB / 0.6085 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8875, allocations: 4.812 kB / 0.6085 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8875, allocations: 3.938 kB / 0.6085 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.8878, allocations: 27.92 kB / 0.6086 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.8879, allocations: 3.984 kB / 0.6086 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.888, allocations: 7.984 kB / 0.6086 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.888, allocations: 4 kB / 0.6086 GB, free: 11.85 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001004/0.8881, allocations: 108.9 kB / 0.6087 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.8881, allocations: 4 kB / 0.6087 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.8882, allocations: 12.09 kB / 0.6087 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8882, allocations: 6.312 kB / 0.6087 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.8882, allocations: 3.984 kB / 0.6087 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8883, allocations: 0 / 0.6087 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.8885, allocations: 185.5 kB / 0.6089 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8885, allocations: 0 / 0.6089 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.8888, allocations: 23.92 kB / 0.6089 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.8888, allocations: 4 kB / 0.6089 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.8888, allocations: 3.984 kB / 0.6089 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8888, allocations: 0 / 0.6089 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8888, allocations: 0 / 0.6089 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.8892, allocations: 125 kB / 0.609 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.8892, allocations: 96.89 kB / 0.6091 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.8893, allocations: 4 kB / 0.6091 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.8894, allocations: 4 kB / 0.6091 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.8895, allocations: 11.97 kB / 0.6091 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.8895, allocations: 8 kB / 0.6092 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.8896, allocations: 75.28 kB / 0.6092 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8896, allocations: 4 kB / 0.6092 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000351/0.8899, allocations: 31.94 kB / 0.6093 GB, free: 11.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007928/0.8907, allocations: 0.6793 MB / 0.6099 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.891, allocations: 79.89 kB / 0.61 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.891, allocations: 4 kB / 0.61 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.8912, allocations: 35.98 kB / 0.61 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.8913, allocations: 4 kB / 0.61 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.8919, allocations: 154.5 kB / 0.6102 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.8922, allocations: 0.6926 MB / 0.6109 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.8924, allocations: 31.95 kB / 0.6109 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.8925, allocations: 23.42 kB / 0.6109 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/0.8925, allocations: 0 / 0.6109 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.9179, allocations: 1.754 MB / 0.6126 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003849/0.9184, allocations: 165.1 kB / 0.6128 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.39, allocations: 0 / 0.6128 GB, free: 7.371 MB / 0.4948 GB