Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadModel(Buildings): time 3.719/3.719, allocations: 402 MB / 415.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.115e-05, allocations: 4 kB / 0.5003 GB, free: 8.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1665, allocations: 92.69 MB / 0.5908 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5861/0.7527, allocations: 121 MB / 0.709 GB, free: 5.5 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.753, allocations: 75.95 kB / 0.7091 GB, free: 5.426 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.005657/0.7586, allocations: 1.362 MB / 0.7104 GB, free: 4.066 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.398e-06/0.7587, allocations: 3.938 kB / 0.7104 GB, free: 4.062 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.7587, allocations: 6.297 kB / 0.7104 GB, free: 4.059 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004269/0.7591, allocations: 394.8 kB / 0.7108 GB, free: 3.613 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7592, allocations: 12.03 kB / 0.7108 GB, free: 3.602 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.7593, allocations: 16.67 kB / 0.7108 GB, free: 3.586 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.7595, allocations: 179 kB / 0.711 GB, free: 3.371 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.7595, allocations: 0 / 0.711 GB, free: 3.371 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.7595, allocations: 4 kB / 0.711 GB, free: 3.367 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.7597, allocations: 61.67 kB / 0.7111 GB, free: 3.301 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.7597, allocations: 0 / 0.7111 GB, free: 3.301 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.7597, allocations: 0 / 0.7111 GB, free: 3.301 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.7598, allocations: 8 kB / 0.7111 GB, free: 3.293 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.286e-05/0.7599, allocations: 27.92 kB / 0.7111 GB, free: 3.266 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.7603, allocations: 273.5 kB / 0.7113 GB, free: 2.949 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.7604, allocations: 50.56 kB / 0.7114 GB, free: 2.891 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.7605, allocations: 3.984 kB / 0.7114 GB, free: 2.887 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.7607, allocations: 109 kB / 0.7115 GB, free: 2.762 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 2.728e-06/0.7607, allocations: 0 / 0.7115 GB, free: 2.762 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.0005195/0.7612, allocations: 333.7 kB / 0.7118 GB, free: 2.387 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.7613, allocations: 106.8 kB / 0.7119 GB, free: 2.258 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.7614, allocations: 105 kB / 0.712 GB, free: 2.148 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.7615, allocations: 25.7 kB / 0.712 GB, free: 2.117 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.7616, allocations: 88.05 kB / 0.7121 GB, free: 2.027 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.7616, allocations: 19.8 kB / 0.7122 GB, free: 2.008 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-06/0.7616, allocations: 0 / 0.7122 GB, free: 2.008 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.7618, allocations: 322.9 kB / 0.7125 GB, free: 1.684 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.7619, allocations: 19.98 kB / 0.7125 GB, free: 1.664 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.7619, allocations: 27.98 kB / 0.7125 GB, free: 1.637 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.7621, allocations: 87.27 kB / 0.7126 GB, free: 1.539 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-06/0.7621, allocations: 0 / 0.7126 GB, free: 1.539 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002782/0.7624, allocations: 153.1 kB / 0.7127 GB, free: 1.371 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.048e-05/0.7624, allocations: 67.39 kB / 0.7128 GB, free: 1.293 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.951e-06/0.7625, allocations: 2.188 kB / 0.7128 GB, free: 1.293 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7625, allocations: 0 / 0.7128 GB, free: 1.293 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-05/0.7625, allocations: 4 kB / 0.7128 GB, free: 1.289 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.424e-06/0.7625, allocations: 4.5 kB / 0.7128 GB, free: 1.285 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.7626, allocations: 4 kB / 0.7128 GB, free: 1.281 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.7627, allocations: 7.984 kB / 0.7128 GB, free: 1.273 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.0001775/0.7628, allocations: 153.6 kB / 0.713 GB, free: 1.109 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.7629, allocations: 7.906 kB / 0.713 GB, free: 1.102 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.7629, allocations: 8.375 kB / 0.713 GB, free: 1.098 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.7629, allocations: 7.984 kB / 0.713 GB, free: 1.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-06/0.763, allocations: 4 kB / 0.713 GB, free: 1.086 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.522e-06/0.763, allocations: 3.953 kB / 0.713 GB, free: 1.082 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.7632, allocations: 173.6 kB / 0.7132 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-06/0.7632, allocations: 3.938 kB / 0.7132 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-06/0.7632, allocations: 3.938 kB / 0.7132 GB, free: 0.8555 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.303e-06/0.7632, allocations: 0 / 0.7132 GB, free: 0.8555 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.7632, allocations: 8 kB / 0.7132 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-06/0.7633, allocations: 0 / 0.7132 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.219e-06/0.7633, allocations: 0.875 kB / 0.7132 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.7636, allocations: 186.6 kB / 0.7134 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.7637, allocations: 81.11 kB / 0.7134 GB, free: 0.543 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.7637, allocations: 4 kB / 0.7134 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.7638, allocations: 4 kB / 0.7134 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.7639, allocations: 7.984 kB / 0.7135 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.7639, allocations: 0 / 0.7135 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.764, allocations: 91.27 kB / 0.7135 GB, free: 448 kB / 0.573 GB Notification: Performance of sort global known variables: time 7.52e-07/0.764, allocations: 0 / 0.7135 GB, free: 448 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003221/0.7643, allocations: 27.98 kB / 0.7136 GB, free: 420 kB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 1 * 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.0002588/0.7646, allocations: 139.9 kB / 0.7137 GB, free: 268 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.7649, allocations: 178.9 kB / 0.7139 GB, free: 64 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.521e-06/0.7649, allocations: 0 / 0.7139 GB, free: 64 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.7651, allocations: 99.39 kB / 0.714 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.7652, allocations: 11.95 kB / 0.714 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.7656, allocations: 177.4 kB / 0.7141 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.766, allocations: 0.6893 MB / 0.7148 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.766, allocations: 4 kB / 0.7148 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.7661, allocations: 7.438 kB / 0.7148 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of SimCode: time 3.358e-06/0.7661, allocations: 0 / 0.7148 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of Templates: time 0.004089/0.7702, allocations: 0.8577 MB / 0.7157 GB, free: 14.16 MB / 0.5886 GB