Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadModel(BuildingSystems): time 3.36/3.36, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.931e-05/3.939e-05, allocations: 4 kB / 436.6 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 77.73 MB / 0.5022 GB, free: 4.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.502/0.6401, allocations: 106.2 MB / 0.606 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.6404, allocations: 71.95 kB / 0.606 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005486/0.6459, allocations: 1.331 MB / 0.6073 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.175e-06/0.6459, allocations: 0 / 0.6073 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.6459, allocations: 4 kB / 0.6073 GB, free: 13.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004569/0.6464, allocations: 346.4 kB / 0.6077 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6465, allocations: 8.031 kB / 0.6077 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.6465, allocations: 11.91 kB / 0.6077 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.6467, allocations: 167 kB / 0.6079 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.6467, allocations: 4 kB / 0.6079 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.6467, allocations: 0 / 0.6079 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.6469, allocations: 53.62 kB / 0.6079 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6469, allocations: 0 / 0.6079 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.6469, allocations: 0 / 0.6079 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.429e-06/0.647, allocations: 4 kB / 0.6079 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.647, allocations: 23.98 kB / 0.6079 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.6475, allocations: 276.8 kB / 0.6082 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.6478, allocations: 54.48 kB / 0.6083 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.6479, allocations: 13 kB / 0.6083 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/0.6483, allocations: 409.5 kB / 0.6087 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.6484, allocations: 35.38 kB / 0.6087 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.012e-06/0.6484, allocations: 0 / 0.6087 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002097/0.6486, allocations: 57.58 kB / 0.6087 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.6487, allocations: 51.41 kB / 0.6088 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.6488, allocations: 105.1 kB / 0.6089 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.6488, allocations: 25.7 kB / 0.6089 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.6489, allocations: 88.12 kB / 0.609 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.6489, allocations: 3.906 kB / 0.609 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-06/0.649, allocations: 8 kB / 0.609 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6491, allocations: 318.8 kB / 0.6093 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.6492, allocations: 4 kB / 0.6093 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.6492, allocations: 8 kB / 0.6093 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.6493, allocations: 11.98 kB / 0.6093 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-06/0.6493, allocations: 3.938 kB / 0.6093 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001342/0.6494, allocations: 53.59 kB / 0.6094 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6495, allocations: 4.781 kB / 0.6094 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.303e-06/0.6495, allocations: 0 / 0.6094 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6495, allocations: 4 kB / 0.6094 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.6496, allocations: 15.98 kB / 0.6094 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6497, allocations: 3.953 kB / 0.6094 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.6497, allocations: 8.875 kB / 0.6094 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.6498, allocations: 3.984 kB / 0.6094 GB, free: 11.04 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: 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.943e-05/0.6499, allocations: 109 kB / 0.6095 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.6499, allocations: 0 / 0.6095 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.6501, allocations: 61.66 kB / 0.6096 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6501, allocations: 4 kB / 0.6096 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.223e-06/0.6501, allocations: 3.984 kB / 0.6096 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.034e-06/0.6502, allocations: 3.953 kB / 0.6096 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.6504, allocations: 169.5 kB / 0.6098 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-06/0.6504, allocations: 4 kB / 0.6098 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.6505, allocations: 11.98 kB / 0.6098 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.359e-06/0.6506, allocations: 4 kB / 0.6098 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.6506, allocations: 4 kB / 0.6098 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.353e-06/0.6506, allocations: 4 kB / 0.6098 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-06/0.6506, allocations: 0 / 0.6098 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.6508, allocations: 155.3 kB / 0.6099 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.6509, allocations: 77.11 kB / 0.61 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.6509, allocations: 288 / 0.61 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.651, allocations: 11.98 kB / 0.61 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.6511, allocations: 11.98 kB / 0.61 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.6511, allocations: 0 / 0.61 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.029e-05/0.6512, allocations: 91.58 kB / 0.6101 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.79e-07/0.6512, allocations: 0 / 0.6101 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00034/0.6516, allocations: 24 kB / 0.6102 GB, free: 10.2 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: 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.0002179/0.6518, allocations: 127.2 kB / 0.6103 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.6519, allocations: 19.98 kB / 0.6103 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6519, allocations: 0 / 0.6103 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.652, allocations: 19.94 kB / 0.6103 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.6522, allocations: 11.95 kB / 0.6103 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.6525, allocations: 68.91 kB / 0.6104 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.6529, allocations: 0.6848 MB / 0.6111 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.96e-05/0.6529, allocations: 4 kB / 0.6111 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.653, allocations: 11.44 kB / 0.6111 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of SimCode: time 1.487e-06/0.653, allocations: 4 kB / 0.6111 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of Templates: time 0.003719/0.6567, allocations: 0.8365 MB / 0.6119 GB, free: 8.367 MB / 0.4948 GB