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.689/3.689, allocations: 402 MB / 416.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.003e-05, allocations: 4 kB / 0.5009 GB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 92.7 MB / 0.5915 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001961/0.2125, allocations: 1.108 MB / 0.5925 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.2132, allocations: 254.1 kB / 0.5928 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.2133, allocations: 0 / 0.5928 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.2134, allocations: 19.97 kB / 0.5928 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.2135, allocations: 23.97 kB / 0.5928 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.214, allocations: 95.72 kB / 0.5929 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.663e-05/0.2141, allocations: 11.98 kB / 0.5929 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.503e-05/0.2142, allocations: 8 kB / 0.5929 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.2142, allocations: 11.98 kB / 0.593 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.2144, allocations: 35.91 kB / 0.593 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.2145, allocations: 55.89 kB / 0.593 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.2146, allocations: 4 kB / 0.593 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.2146, allocations: 15.98 kB / 0.5931 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.2147, allocations: 0 / 0.5931 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2148, allocations: 60.17 kB / 0.5931 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.2149, allocations: 0 / 0.5931 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.649e-06/0.2149, allocations: 4 kB / 0.5931 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2149, allocations: 0 / 0.5931 GB, free: 9.676 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000574/0.2155, allocations: 376.9 kB / 0.5935 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2155, allocations: 8.031 kB / 0.5935 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.2156, allocations: 11.86 kB / 0.5935 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.2158, allocations: 178.9 kB / 0.5937 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.2158, allocations: 4 kB / 0.5937 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2159, allocations: 0 / 0.5937 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2161, allocations: 69.66 kB / 0.5937 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2161, allocations: 0 / 0.5937 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2161, allocations: 0 / 0.5937 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.2162, allocations: 4 kB / 0.5937 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.2163, allocations: 35.92 kB / 0.5938 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.2167, allocations: 276.8 kB / 0.594 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.217, allocations: 62.55 kB / 0.5941 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.217, allocations: 0 / 0.5941 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.2172, allocations: 83.47 kB / 0.5942 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 4.428e-06/0.2173, allocations: 4 kB / 0.5942 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0005254/0.2178, allocations: 238.7 kB / 0.5944 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.2179, allocations: 55.41 kB / 0.5945 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.218, allocations: 121.1 kB / 0.5946 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.218, allocations: 29.7 kB / 0.5946 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.2181, allocations: 88.14 kB / 0.5947 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.2181, allocations: 3.906 kB / 0.5947 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.2182, allocations: 4 kB / 0.5947 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2183, allocations: 322.8 kB / 0.595 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.2184, allocations: 27.98 kB / 0.595 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-05/0.2185, allocations: 16 kB / 0.5951 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.2186, allocations: 62.09 kB / 0.5951 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2186, allocations: 0 / 0.5951 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000241/0.2188, allocations: 139.2 kB / 0.5952 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.2189, allocations: 29.7 kB / 0.5953 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2189, allocations: 0 / 0.5953 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2189, allocations: 4 kB / 0.5953 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-05/0.219, allocations: 7.922 kB / 0.5953 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.219, allocations: 4 kB / 0.5953 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.219, allocations: 11.89 kB / 0.5953 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2191, allocations: 3.984 kB / 0.5953 GB, free: 7.184 MB / 0.4948 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.0001306/0.2192, allocations: 120 kB / 0.5954 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.2192, allocations: 7.906 kB / 0.5954 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.2193, allocations: 12.36 kB / 0.5954 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2193, allocations: 0 / 0.5954 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2193, allocations: 0 / 0.5954 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.2194, allocations: 89.02 kB / 0.5955 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2194, allocations: 7.953 kB / 0.5955 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.2195, allocations: 0 / 0.5955 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.2195, allocations: 7.984 kB / 0.5955 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003432/0.2199, allocations: 196.9 kB / 0.5957 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003893/0.2203, allocations: 286.8 kB / 0.596 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000107/0.2204, allocations: 35.97 kB / 0.596 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.08e-05/0.2205, allocations: 107.2 kB / 0.5961 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of Backend: time 7.41e-07/0.2205, allocations: 0 / 0.5961 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005845/0.2211, allocations: 193.7 kB / 0.5963 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0005878/0.2217, allocations: 0.6034 MB / 0.5969 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of Templates: time 0.004423/0.2261, allocations: 0.902 MB / 0.5978 GB, free: 4.516 MB / 0.4948 GB