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.873/3.873, allocations: 403.9 MB / 411 MB, free: 364 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.944e-05, allocations: 4 kB / 0.4941 GB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5348, allocations: 92.7 MB / 0.5847 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/0.778, allocations: 120.2 MB / 0.702 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.7784, allocations: 67.97 kB / 0.7021 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.009228/0.7876, allocations: 2.27 MB / 0.7043 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.82e-06/0.7877, allocations: 3.938 kB / 0.7043 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.961e-06/0.7877, allocations: 0 / 0.7043 GB, free: 7.691 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.0004488/0.7881, allocations: 380.2 kB / 0.7047 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7882, allocations: 12.03 kB / 0.7047 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.7882, allocations: 15.86 kB / 0.7047 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.7884, allocations: 179 kB / 0.7049 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.7885, allocations: 0 / 0.7049 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.7885, allocations: 4 kB / 0.7049 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.038e-05/0.7886, allocations: 23.94 kB / 0.7049 GB, free: 7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.7887, allocations: 61.67 kB / 0.705 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-06/0.7888, allocations: 0 / 0.705 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.7888, allocations: 3.984 kB / 0.705 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.7888, allocations: 11.95 kB / 0.705 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.7892, allocations: 253.4 kB / 0.7052 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.7893, allocations: 54.56 kB / 0.7053 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.7894, allocations: 28.95 kB / 0.7053 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.408e-06/0.7894, allocations: 3.938 kB / 0.7053 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.7896, allocations: 79.39 kB / 0.7054 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.405e-06/0.7896, allocations: 0 / 0.7054 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0003221/0.7899, allocations: 117.6 kB / 0.7055 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.79, allocations: 51.41 kB / 0.7055 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.7901, allocations: 117.1 kB / 0.7057 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.7901, allocations: 29.7 kB / 0.7057 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.7902, allocations: 84.52 kB / 0.7058 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.7903, allocations: 19.83 kB / 0.7058 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.7903, allocations: 4 kB / 0.7058 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7904, allocations: 314.8 kB / 0.7061 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.7905, allocations: 35.86 kB / 0.7061 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.107e-05/0.7906, allocations: 23.98 kB / 0.7061 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.7907, allocations: 31.98 kB / 0.7062 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-06/0.7907, allocations: 0 / 0.7062 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002907/0.791, allocations: 121.6 kB / 0.7063 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.7911, allocations: 36.19 kB / 0.7063 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.929e-06/0.7911, allocations: 3.938 kB / 0.7063 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7911, allocations: 8 kB / 0.7063 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-05/0.7911, allocations: 0 / 0.7063 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.7912, allocations: 0 / 0.7063 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.7912, allocations: 7.953 kB / 0.7063 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.7913, allocations: 4 kB / 0.7063 GB, free: 5.398 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 9.107e-05/0.7914, allocations: 105 kB / 0.7064 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.7914, allocations: 8.094 kB / 0.7065 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.7914, allocations: 16.61 kB / 0.7065 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.7915, allocations: 4 kB / 0.7065 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.979e-06/0.7915, allocations: 4 kB / 0.7065 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7915, allocations: 0 / 0.7065 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.7917, allocations: 154.2 kB / 0.7066 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7917, allocations: 0 / 0.7066 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-06/0.7917, allocations: 0 / 0.7066 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.931e-06/0.7917, allocations: 3.938 kB / 0.7066 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.7917, allocations: 7.984 kB / 0.7066 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.055e-06/0.7917, allocations: 0 / 0.7066 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-06/0.7917, allocations: 0 / 0.7066 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.792, allocations: 148.9 kB / 0.7068 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.7921, allocations: 85.05 kB / 0.7069 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.7921, allocations: 4 kB / 0.7069 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.7922, allocations: 4.094 kB / 0.7069 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.7923, allocations: 7.922 kB / 0.7069 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.7923, allocations: 7.984 kB / 0.7069 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.141e-05/0.7924, allocations: 91.28 kB / 0.707 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.28e-07/0.7924, allocations: 0 / 0.707 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003223/0.7927, allocations: 35.89 kB / 0.707 GB, free: 4.641 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.0002448/0.793, allocations: 131 kB / 0.7071 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.7932, allocations: 119.3 kB / 0.7072 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.939e-06/0.7932, allocations: 3.938 kB / 0.7072 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/0.7933, allocations: 27.98 kB / 0.7073 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.7934, allocations: 12.81 kB / 0.7073 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.7938, allocations: 104.1 kB / 0.7074 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.7941, allocations: 0.7002 MB / 0.7081 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.7941, allocations: 4 kB / 0.7081 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.7942, allocations: 7.438 kB / 0.7081 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of SimCode: time 1.094e-06/0.7942, allocations: 4 kB / 0.7081 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of Templates: time 0.003775/0.798, allocations: 0.843 MB / 0.7089 GB, free: 2.625 MB / 0.5886 GB