Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadModel(Buildings): time 3.778/3.778, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.366e-05, allocations: 11.94 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4784, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.6647, allocations: 120.9 MB / 0.7076 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.665, allocations: 75.94 kB / 0.7077 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.009804/0.6749, allocations: 2.262 MB / 0.7099 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.095e-06/0.6749, allocations: 0 / 0.7099 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.6749, allocations: 3.938 kB / 0.7099 GB, free: 3.125 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005013/0.6754, allocations: 388.2 kB / 0.7102 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6755, allocations: 11.97 kB / 0.7103 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.6755, allocations: 11.86 kB / 0.7103 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.6758, allocations: 183 kB / 0.7104 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.6758, allocations: 0 / 0.7104 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.6758, allocations: 4 kB / 0.7104 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.676, allocations: 61.67 kB / 0.7105 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.463e-06/0.676, allocations: 0 / 0.7105 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6761, allocations: 4 kB / 0.7105 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.6761, allocations: 4 kB / 0.7105 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.6762, allocations: 23.98 kB / 0.7105 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.6766, allocations: 288.8 kB / 0.7108 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.6768, allocations: 54.56 kB / 0.7109 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.6769, allocations: 28.95 kB / 0.7109 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-06/0.6769, allocations: 4 kB / 0.7109 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.6771, allocations: 83.39 kB / 0.711 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.784e-06/0.6771, allocations: 0 / 0.711 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0003061/0.6774, allocations: 121.5 kB / 0.7111 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.6775, allocations: 51.41 kB / 0.7111 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.6776, allocations: 125 kB / 0.7113 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.6777, allocations: 25.7 kB / 0.7113 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.6777, allocations: 88.14 kB / 0.7114 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.6778, allocations: 19.83 kB / 0.7114 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.144e-06/0.6778, allocations: 0 / 0.7114 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.678, allocations: 322.8 kB / 0.7117 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.678, allocations: 27.98 kB / 0.7117 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.6781, allocations: 24 kB / 0.7117 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.893e-05/0.6782, allocations: 57.67 kB / 0.7118 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-06/0.6782, allocations: 0 / 0.7118 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003085/0.6786, allocations: 155.2 kB / 0.7119 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.6786, allocations: 35.11 kB / 0.712 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.375e-06/0.6786, allocations: 0 / 0.712 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6787, allocations: 4 kB / 0.712 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.021e-05/0.6787, allocations: 0 / 0.712 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.6787, allocations: 7.953 kB / 0.712 GB, free: 0.7148 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.6788, allocations: 0 / 0.712 GB, free: 0.7148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.6788, allocations: 8.453 kB / 0.712 GB, free: 0.707 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: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001139/0.679, allocations: 109 kB / 0.7121 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.679, allocations: 11.84 kB / 0.7121 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.679, allocations: 4.625 kB / 0.7121 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.6791, allocations: 8 kB / 0.7121 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.003e-06/0.6791, allocations: 3.938 kB / 0.7121 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.414e-06/0.6791, allocations: 3.953 kB / 0.7121 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.6793, allocations: 173.6 kB / 0.7123 GB, free: 352 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6793, allocations: 0 / 0.7123 GB, free: 352 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-06/0.6793, allocations: 0 / 0.7123 GB, free: 352 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.301e-06/0.6793, allocations: 0 / 0.7123 GB, free: 352 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.6794, allocations: 4 kB / 0.7123 GB, free: 348 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.669e-06/0.6794, allocations: 3.938 kB / 0.7123 GB, free: 344 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-06/0.6794, allocations: 0 / 0.7123 GB, free: 344 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.6798, allocations: 148.9 kB / 0.7124 GB, free: 176 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.6799, allocations: 89.03 kB / 0.7125 GB, free: 68 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.68, allocations: 0 / 0.7125 GB, free: 68 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.6801, allocations: 4 kB / 0.7125 GB, free: 64 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.6802, allocations: 4.25 kB / 0.7125 GB, free: 60 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/0.6803, allocations: 11.97 kB / 0.7125 GB, free: 48 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001666/0.6804, allocations: 103.2 kB / 0.7126 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.32e-07/0.6805, allocations: 4 kB / 0.7127 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005717/0.6811, allocations: 23.91 kB / 0.7127 GB, free: 15.92 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003947/0.6815, allocations: 147 kB / 0.7128 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.6819, allocations: 115.4 kB / 0.7129 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.066e-06/0.6819, allocations: 0 / 0.7129 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.6821, allocations: 31.94 kB / 0.713 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.6823, allocations: 8.438 kB / 0.713 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.6829, allocations: 121 kB / 0.7131 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.6835, allocations: 0.6926 MB / 0.7138 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.491e-05/0.6835, allocations: 7.984 kB / 0.7138 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.6836, allocations: 7.719 kB / 0.7138 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.593e-06/0.6836, allocations: 0 / 0.7138 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.005932/0.6896, allocations: 0.8503 MB / 0.7146 GB, free: 13.88 MB / 0.6042 GB