Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.392/4.392, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.406e-05/4.413e-05, allocations: 5.688 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.225, allocations: 98.73 MB / 0.6302 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/0.459, allocations: 125.1 MB / 0.7524 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.4594, allocations: 71.95 kB / 0.7524 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006031/0.4654, allocations: 1.305 MB / 0.7537 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4655, allocations: 0 / 0.7537 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4655, allocations: 4 kB / 0.7537 GB, free: 7.504 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.0005241/0.4661, allocations: 356.2 kB / 0.754 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.4661, allocations: 12.03 kB / 0.7541 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.4662, allocations: 34.5 kB / 0.7541 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.4662, allocations: 0 / 0.7541 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.4664, allocations: 182.8 kB / 0.7543 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.4664, allocations: 0 / 0.7543 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.4664, allocations: 12 kB / 0.7543 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.4666, allocations: 49.69 kB / 0.7543 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4666, allocations: 0 / 0.7543 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.4666, allocations: 0 / 0.7543 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4667, allocations: 0 / 0.7543 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.4668, allocations: 19.98 kB / 0.7543 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.4673, allocations: 280.8 kB / 0.7546 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.4677, allocations: 46.55 kB / 0.7547 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.4678, allocations: 21 kB / 0.7547 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004995/0.4683, allocations: 405.5 kB / 0.7551 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.4684, allocations: 30.56 kB / 0.7551 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.926e-06/0.4684, allocations: 0 / 0.7551 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002284/0.4686, allocations: 69.42 kB / 0.7552 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.4687, allocations: 51.41 kB / 0.7552 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.4688, allocations: 101 kB / 0.7553 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.4688, allocations: 25.7 kB / 0.7553 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.4689, allocations: 88.12 kB / 0.7554 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.4689, allocations: 7.906 kB / 0.7554 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.4689, allocations: 0 / 0.7554 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4691, allocations: 310.8 kB / 0.7557 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.296e-05/0.4691, allocations: 16 kB / 0.7557 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.4692, allocations: 11.94 kB / 0.7557 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.4692, allocations: 7.984 kB / 0.7557 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4692, allocations: 0 / 0.7557 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001367/0.4694, allocations: 57.62 kB / 0.7558 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4694, allocations: 4 kB / 0.7558 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4694, allocations: 0 / 0.7558 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4694, allocations: 0 / 0.7558 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.4696, allocations: 15.98 kB / 0.7558 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4696, allocations: 4.266 kB / 0.7558 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4698, allocations: 11.91 kB / 0.7558 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.4698, allocations: 7.984 kB / 0.7558 GB, free: 5 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 (bin.y,bin.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.122e-05/0.4699, allocations: 101 kB / 0.7559 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.4699, allocations: 4 kB / 0.7559 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.4701, allocations: 53.72 kB / 0.756 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4701, allocations: 0 / 0.756 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4702, allocations: 3.984 kB / 0.756 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4702, allocations: 7.953 kB / 0.756 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.4704, allocations: 169.7 kB / 0.7562 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4704, allocations: 0 / 0.7562 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.4706, allocations: 23.92 kB / 0.7562 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4706, allocations: 0 / 0.7562 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4706, allocations: 0 / 0.7562 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4706, allocations: 3.984 kB / 0.7562 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.4707, allocations: 0 / 0.7562 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.4709, allocations: 155.4 kB / 0.7563 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.4709, allocations: 81.39 kB / 0.7564 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.471, allocations: 0 / 0.7564 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.4711, allocations: 7.984 kB / 0.7564 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.4712, allocations: 19.91 kB / 0.7564 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.4712, allocations: 0 / 0.7564 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.4713, allocations: 87.28 kB / 0.7565 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4713, allocations: 4 kB / 0.7565 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000365/0.4717, allocations: 20 kB / 0.7566 GB, free: 4.176 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 (bin.y,bin.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.0006645/0.4724, allocations: 0.72 MB / 0.7573 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.4725, allocations: 20 kB / 0.7573 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4725, allocations: 0 / 0.7573 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.4726, allocations: 19.94 kB / 0.7573 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.4729, allocations: 4.609 kB / 0.7573 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.4734, allocations: 114.5 kB / 0.7574 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.4737, allocations: 0.6848 MB / 0.7581 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.986e-05/0.4738, allocations: 0 / 0.7581 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.4738, allocations: 23.42 kB / 0.7581 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.4739, allocations: 0 / 0.7581 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.4936, allocations: 1.562 MB / 0.7596 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/0.494, allocations: 140.1 kB / 0.7598 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.892, allocations: 0 / 0.7598 GB, free: 0.793 MB / 0.6355 GB