Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadModel(BuildingSystems): time 3.301/3.301, allocations: 343.8 MB / 355.9 MB, free: 9.352 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.145e-05, allocations: 4 kB / 436.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1456, allocations: 77.73 MB / 0.5022 GB, free: 4.551 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5065/0.6521, allocations: 109.6 MB / 0.6092 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.6524, allocations: 82.14 kB / 0.6093 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02271/0.6752, allocations: 5.366 MB / 0.6146 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.217e-06/0.6752, allocations: 0 / 0.6146 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.6753, allocations: 0 / 0.6146 GB, free: 6.051 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006822/0.676, allocations: 459.7 kB / 0.615 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.676, allocations: 8.031 kB / 0.615 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.6761, allocations: 19.81 kB / 0.615 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.6766, allocations: 255.6 kB / 0.6153 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.6766, allocations: 4 kB / 0.6153 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.6767, allocations: 4 kB / 0.6153 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.6769, allocations: 83.39 kB / 0.6154 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.795e-06/0.6769, allocations: 0 / 0.6154 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6769, allocations: 0 / 0.6154 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.677, allocations: 7.984 kB / 0.6154 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.6771, allocations: 39.94 kB / 0.6154 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.6778, allocations: 364.7 kB / 0.6157 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.678, allocations: 74.67 kB / 0.6158 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.6781, allocations: 32.95 kB / 0.6158 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.6782, allocations: 8 kB / 0.6159 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.6784, allocations: 83.36 kB / 0.6159 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 3.224e-06/0.6784, allocations: 0 / 0.6159 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0003338/0.6787, allocations: 121.3 kB / 0.6161 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.6788, allocations: 81.11 kB / 0.6161 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.6792, allocations: 237.9 kB / 0.6164 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.6793, allocations: 25.7 kB / 0.6164 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6794, allocations: 120.1 kB / 0.6165 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.6795, allocations: 23.81 kB / 0.6165 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-06/0.6795, allocations: 3.938 kB / 0.6165 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6797, allocations: 326.8 kB / 0.6168 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.6798, allocations: 24 kB / 0.6169 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.6799, allocations: 63.41 kB / 0.6169 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.516e-05/0.68, allocations: 32.02 kB / 0.6169 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-06/0.68, allocations: 0 / 0.6169 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002933/0.6803, allocations: 113.4 kB / 0.6171 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6803, allocations: 4 kB / 0.6171 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.325e-06/0.6804, allocations: 0 / 0.6171 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6804, allocations: 0 / 0.6171 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.6805, allocations: 23.92 kB / 0.6171 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.6805, allocations: 3.953 kB / 0.6171 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.6807, allocations: 11.84 kB / 0.6171 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.6807, allocations: 8.031 kB / 0.6171 GB, free: 3.188 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001308/0.6808, allocations: 109 kB / 0.6172 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.6809, allocations: 19.8 kB / 0.6172 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.6812, allocations: 119.2 kB / 0.6173 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.6813, allocations: 8.031 kB / 0.6173 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-06/0.6813, allocations: 7.875 kB / 0.6174 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.727e-06/0.6813, allocations: 3.953 kB / 0.6174 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.6816, allocations: 229.6 kB / 0.6176 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-06/0.6817, allocations: 4 kB / 0.6176 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.6817, allocations: 7.984 kB / 0.6176 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.357e-06/0.6817, allocations: 0 / 0.6176 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.6818, allocations: 8 kB / 0.6176 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.568e-06/0.6818, allocations: 0 / 0.6176 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6818, allocations: 0 / 0.6176 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.6821, allocations: 140.9 kB / 0.6177 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.6822, allocations: 100.9 kB / 0.6178 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.6823, allocations: 8 kB / 0.6178 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.6824, allocations: 11.98 kB / 0.6178 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.6824, allocations: 0 / 0.6178 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6825, allocations: 7.984 kB / 0.6179 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002813/0.6828, allocations: 188.4 kB / 0.618 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.27e-06/0.6828, allocations: 0 / 0.618 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003783/0.6832, allocations: 51.86 kB / 0.6181 GB, free: 2.09 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: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001474/0.6846, allocations: 416.8 kB / 0.6185 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.685, allocations: 79.84 kB / 0.6186 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.498e-06/0.685, allocations: 0 / 0.6186 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.6851, allocations: 36 kB / 0.6186 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.6855, allocations: 40.91 kB / 0.6186 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.6861, allocations: 234.2 kB / 0.6189 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.6865, allocations: 0.7243 MB / 0.6196 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.6867, allocations: 33.48 kB / 0.6196 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.6868, allocations: 19.42 kB / 0.6196 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of SimCode: time 1.608e-06/0.6868, allocations: 0 / 0.6196 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of Templates: time 0.00784/0.6946, allocations: 2.27 MB / 0.6218 GB, free: 14.29 MB / 0.5105 GB