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.662/3.662, allocations: 403.3 MB / 415.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.487e-05/3.495e-05, allocations: 4 kB / 0.499 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.479, allocations: 92.68 MB / 0.5895 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.6654, allocations: 120.9 MB / 0.7076 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.6657, allocations: 67.97 kB / 0.7076 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.009912/0.6757, allocations: 2.266 MB / 0.7098 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.966e-06/0.6757, allocations: 0 / 0.7098 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.6757, allocations: 4 kB / 0.7098 GB, free: 3.137 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.0004887/0.6762, allocations: 380.1 kB / 0.7102 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.6763, allocations: 8.031 kB / 0.7102 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.6763, allocations: 15.86 kB / 0.7102 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.6766, allocations: 186.9 kB / 0.7104 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.6766, allocations: 3.984 kB / 0.7104 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.6766, allocations: 4 kB / 0.7104 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.6768, allocations: 65.67 kB / 0.7105 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.6768, allocations: 0 / 0.7105 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.6769, allocations: 4 kB / 0.7105 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.6769, allocations: 0 / 0.7105 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.904e-05/0.677, allocations: 27.98 kB / 0.7105 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.6774, allocations: 284.8 kB / 0.7108 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.6776, allocations: 66.55 kB / 0.7108 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.6776, allocations: 24.92 kB / 0.7109 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.6777, allocations: 0 / 0.7109 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.6778, allocations: 75.44 kB / 0.7109 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.632e-06/0.6779, allocations: 0 / 0.7109 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002964/0.6782, allocations: 121.5 kB / 0.711 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.6782, allocations: 59.41 kB / 0.7111 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.6784, allocations: 117 kB / 0.7112 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.6784, allocations: 29.7 kB / 0.7112 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.6785, allocations: 92.12 kB / 0.7113 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.6785, allocations: 7.906 kB / 0.7113 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-06/0.6785, allocations: 3.938 kB / 0.7113 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6787, allocations: 322.8 kB / 0.7117 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.6788, allocations: 28 kB / 0.7117 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.6789, allocations: 27.98 kB / 0.7117 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.242e-05/0.679, allocations: 57.69 kB / 0.7118 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.562e-06/0.679, allocations: 0 / 0.7118 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002829/0.6793, allocations: 151.2 kB / 0.7119 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.6793, allocations: 37.69 kB / 0.7119 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.667e-06/0.6793, allocations: 0 / 0.7119 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6794, allocations: 0 / 0.7119 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.958e-05/0.6794, allocations: 3.984 kB / 0.7119 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.984e-06/0.6794, allocations: 3.953 kB / 0.7119 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.6795, allocations: 12 kB / 0.712 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.6795, allocations: 4 kB / 0.712 GB, free: 0.7148 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.0001013/0.6797, allocations: 110 kB / 0.7121 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.6797, allocations: 4.375 kB / 0.7121 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.6797, allocations: 16.61 kB / 0.7121 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.6797, allocations: 0 / 0.7121 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.303e-06/0.6798, allocations: 4 kB / 0.7121 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.6798, allocations: 3.953 kB / 0.7121 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.68, allocations: 173.6 kB / 0.7123 GB, free: 364 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-06/0.68, allocations: 4.188 kB / 0.7123 GB, free: 360 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-06/0.68, allocations: 4 kB / 0.7123 GB, free: 356 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.313e-06/0.68, allocations: 3.984 kB / 0.7123 GB, free: 352 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.68, allocations: 4 kB / 0.7123 GB, free: 348 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.157e-06/0.6801, allocations: 0 / 0.7123 GB, free: 348 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.6801, allocations: 7.938 kB / 0.7123 GB, free: 340 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.6803, allocations: 141 kB / 0.7124 GB, free: 180 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.6804, allocations: 81.05 kB / 0.7125 GB, free: 80 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.6804, allocations: 8 kB / 0.7125 GB, free: 72 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.6805, allocations: 3.984 kB / 0.7125 GB, free: 68 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.6805, allocations: 7.938 kB / 0.7125 GB, free: 60 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.6806, allocations: 7.984 kB / 0.7125 GB, free: 52 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.839e-05/0.6807, allocations: 95.28 kB / 0.7126 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.1e-07/0.6807, allocations: 0 / 0.7126 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003314/0.6811, allocations: 31.89 kB / 0.7126 GB, free: 15.93 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.0002511/0.6813, allocations: 139 kB / 0.7128 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.6816, allocations: 119.4 kB / 0.7129 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6816, allocations: 0 / 0.7129 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.6817, allocations: 39.92 kB / 0.7129 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.0001275/0.6818, allocations: 7.875 kB / 0.7129 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.6821, allocations: 123 kB / 0.7131 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.6825, allocations: 0.6887 MB / 0.7137 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.954e-05/0.6825, allocations: 0 / 0.7137 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.6826, allocations: 15.44 kB / 0.7137 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.546e-06/0.6826, allocations: 0 / 0.7137 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.004061/0.6867, allocations: 0.8534 MB / 0.7146 GB, free: 13.88 MB / 0.6042 GB