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.808/3.808, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.675e-05, allocations: 4 kB / 0.5003 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1688, allocations: 92.68 MB / 0.5908 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5834/0.7522, allocations: 120.9 MB / 0.7089 GB, free: 5.602 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.7525, allocations: 71.95 kB / 0.709 GB, free: 5.531 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.009792/0.7623, allocations: 2.295 MB / 0.7112 GB, free: 3.242 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.533e-06/0.7624, allocations: 0 / 0.7112 GB, free: 3.242 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.632e-06/0.7624, allocations: 7.938 kB / 0.7112 GB, free: 3.234 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005083/0.7629, allocations: 385 kB / 0.7116 GB, free: 2.805 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.763, allocations: 8.031 kB / 0.7116 GB, free: 2.797 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.763, allocations: 11.86 kB / 0.7116 GB, free: 2.785 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.7632, allocations: 187 kB / 0.7118 GB, free: 2.562 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.7633, allocations: 0 / 0.7118 GB, free: 2.562 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.7633, allocations: 4 kB / 0.7118 GB, free: 2.559 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.7635, allocations: 69.66 kB / 0.7118 GB, free: 2.484 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.019e-06/0.7635, allocations: 0 / 0.7118 GB, free: 2.484 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.7636, allocations: 0 / 0.7118 GB, free: 2.484 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.7636, allocations: 0 / 0.7118 GB, free: 2.484 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.7637, allocations: 31.92 kB / 0.7119 GB, free: 2.453 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.7642, allocations: 284.8 kB / 0.7121 GB, free: 2.125 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.7644, allocations: 62.55 kB / 0.7122 GB, free: 2.055 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.7644, allocations: 4 kB / 0.7122 GB, free: 2.051 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.7646, allocations: 83.42 kB / 0.7123 GB, free: 1.957 MB / 0.573 GB Notification: Performance of pre-optimization done (n=6): time 2.824e-06/0.7646, allocations: 0 / 0.7123 GB, free: 1.957 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.0004894/0.7651, allocations: 223.6 kB / 0.7125 GB, free: 1.715 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.7652, allocations: 63.41 kB / 0.7126 GB, free: 1.641 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.7653, allocations: 113.1 kB / 0.7127 GB, free: 1.52 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.7654, allocations: 33.69 kB / 0.7127 GB, free: 1.48 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.7654, allocations: 88.14 kB / 0.7128 GB, free: 1.391 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.7655, allocations: 15.83 kB / 0.7128 GB, free: 1.375 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-06/0.7655, allocations: 0 / 0.7128 GB, free: 1.375 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7657, allocations: 318.8 kB / 0.7131 GB, free: 1.055 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.7658, allocations: 32.36 kB / 0.7131 GB, free: 1.023 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.7658, allocations: 35.86 kB / 0.7132 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.273e-05/0.7659, allocations: 57.69 kB / 0.7132 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-06/0.7659, allocations: 0 / 0.7132 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002902/0.7662, allocations: 151.3 kB / 0.7134 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.7663, allocations: 37.64 kB / 0.7134 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.036e-06/0.7663, allocations: 0 / 0.7134 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7663, allocations: 384 / 0.7134 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.744e-05/0.7664, allocations: 0 / 0.7134 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.7664, allocations: 7.953 kB / 0.7134 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.7664, allocations: 4 kB / 0.7134 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.7665, allocations: 7.984 kB / 0.7134 GB, free: 0.7031 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: 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.0001246/0.7666, allocations: 121.8 kB / 0.7135 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.7666, allocations: 7.906 kB / 0.7135 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.7667, allocations: 16.36 kB / 0.7136 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.7667, allocations: 0 / 0.7136 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.253e-06/0.7667, allocations: 0 / 0.7136 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.528e-06/0.7667, allocations: 3.953 kB / 0.7136 GB, free: 0.5508 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.7669, allocations: 173.6 kB / 0.7137 GB, free: 340 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-06/0.767, allocations: 0 / 0.7137 GB, free: 340 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-06/0.767, allocations: 4 kB / 0.7137 GB, free: 336 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.454e-06/0.767, allocations: 4 kB / 0.7137 GB, free: 332 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.767, allocations: 3.984 kB / 0.7137 GB, free: 328 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.239e-06/0.767, allocations: 0 / 0.7137 GB, free: 328 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-06/0.767, allocations: 0 / 0.7137 GB, free: 328 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.7674, allocations: 148.9 kB / 0.7139 GB, free: 160 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.7674, allocations: 85.05 kB / 0.714 GB, free: 56 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.7675, allocations: 4 kB / 0.714 GB, free: 52 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.7675, allocations: 11.98 kB / 0.714 GB, free: 40 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.7676, allocations: 0 / 0.714 GB, free: 40 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.7676, allocations: 7.984 kB / 0.714 GB, free: 32 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001035/0.7677, allocations: 99.3 kB / 0.7141 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.16e-07/0.7677, allocations: 0 / 0.7141 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003432/0.7681, allocations: 35.89 kB / 0.7141 GB, free: 15.9 MB / 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: 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.0002613/0.7684, allocations: 138.9 kB / 0.7142 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.7687, allocations: 131.3 kB / 0.7144 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7687, allocations: 0 / 0.7144 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.7688, allocations: 27.98 kB / 0.7144 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.7689, allocations: 12.5 kB / 0.7144 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.7694, allocations: 173.4 kB / 0.7146 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.7698, allocations: 0.6887 MB / 0.7153 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.328e-05/0.7698, allocations: 8.25 kB / 0.7153 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.7698, allocations: 11.44 kB / 0.7153 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of SimCode: time 1.329e-06/0.7698, allocations: 0 / 0.7153 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of Templates: time 0.004033/0.7739, allocations: 0.8543 MB / 0.7161 GB, free: 13.79 MB / 0.5886 GB