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.575/3.575, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.247e-05, allocations: 4 kB / 0.499 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4842, allocations: 92.67 MB / 0.5895 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.6693, allocations: 121 MB / 0.7077 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.6696, allocations: 71.97 kB / 0.7077 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005834/0.6755, allocations: 1.365 MB / 0.7091 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.746e-06/0.6755, allocations: 0 / 0.7091 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.6756, allocations: 4 kB / 0.7091 GB, free: 3.918 MB / 0.5886 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.0004134/0.676, allocations: 397.9 kB / 0.7095 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.676, allocations: 12.03 kB / 0.7095 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.6761, allocations: 7.859 kB / 0.7095 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.6763, allocations: 175.1 kB / 0.7096 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.6763, allocations: 0 / 0.7096 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.6764, allocations: 4 kB / 0.7096 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.6765, allocations: 57.69 kB / 0.7097 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6766, allocations: 0 / 0.7097 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.6766, allocations: 3.938 kB / 0.7097 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.6766, allocations: 8 kB / 0.7097 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.209e-05/0.6767, allocations: 27.97 kB / 0.7097 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.6772, allocations: 276.8 kB / 0.71 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.6773, allocations: 42.64 kB / 0.71 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.6774, allocations: 40.95 kB / 0.7101 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.635e-06/0.6774, allocations: 0 / 0.7101 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.6776, allocations: 124.8 kB / 0.7102 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.464e-06/0.6776, allocations: 0 / 0.7102 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.000319/0.6779, allocations: 131.3 kB / 0.7103 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.678, allocations: 110.8 kB / 0.7104 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.6782, allocations: 109 kB / 0.7105 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.6782, allocations: 25.7 kB / 0.7106 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.6783, allocations: 88.05 kB / 0.7106 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.6783, allocations: 15.8 kB / 0.7107 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-06/0.6783, allocations: 4.031 kB / 0.7107 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6785, allocations: 322.8 kB / 0.711 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.6786, allocations: 27.94 kB / 0.711 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.6786, allocations: 19.98 kB / 0.711 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.6787, allocations: 79.39 kB / 0.7111 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.941e-06/0.6788, allocations: 0 / 0.7111 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002892/0.6791, allocations: 161 kB / 0.7112 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.6791, allocations: 63.39 kB / 0.7113 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6792, allocations: 0 / 0.7113 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6792, allocations: 4 kB / 0.7113 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.082e-05/0.6792, allocations: 0 / 0.7113 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.039e-06/0.6792, allocations: 3.953 kB / 0.7113 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.6793, allocations: 4.125 kB / 0.7113 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.6794, allocations: 12 kB / 0.7113 GB, free: 1.32 MB / 0.5886 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.0001388/0.6795, allocations: 144 kB / 0.7115 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.6795, allocations: 7.906 kB / 0.7115 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.6796, allocations: 8.625 kB / 0.7115 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.6796, allocations: 8 kB / 0.7115 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6796, allocations: 3.984 kB / 0.7115 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.515e-06/0.6796, allocations: 3.953 kB / 0.7115 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.6798, allocations: 169.6 kB / 0.7117 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-06/0.6798, allocations: 0 / 0.7117 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.6799, allocations: 0 / 0.7117 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.024e-06/0.6799, allocations: 0 / 0.7117 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.6799, allocations: 8 kB / 0.7117 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.372e-06/0.6799, allocations: 0 / 0.7117 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.559e-06/0.6799, allocations: 0 / 0.7117 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.6803, allocations: 190.6 kB / 0.7118 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.6803, allocations: 81.05 kB / 0.7119 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.6804, allocations: 4 kB / 0.7119 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.6805, allocations: 4 kB / 0.7119 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.6805, allocations: 3.984 kB / 0.7119 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.6806, allocations: 4 kB / 0.7119 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.6806, allocations: 87.22 kB / 0.712 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.41e-07/0.6806, allocations: 7.938 kB / 0.712 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003197/0.681, allocations: 24.03 kB / 0.7121 GB, free: 484 kB / 0.5886 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.0002653/0.6813, allocations: 146.9 kB / 0.7122 GB, free: 328 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.6816, allocations: 178.8 kB / 0.7124 GB, free: 124 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.977e-06/0.6816, allocations: 0 / 0.7124 GB, free: 124 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.6817, allocations: 99.41 kB / 0.7125 GB, free: 12 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.6819, allocations: 5.547 kB / 0.7125 GB, free: 8 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.6822, allocations: 121.6 kB / 0.7126 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.6826, allocations: 0.6887 MB / 0.7133 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.6826, allocations: 11.92 kB / 0.7133 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.6826, allocations: 7.438 kB / 0.7133 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of SimCode: time 1.587e-06/0.6827, allocations: 0 / 0.7133 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.003872/0.6865, allocations: 0.838 MB / 0.7141 GB, free: 14.29 MB / 0.6042 GB