Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadModel(Buildings): time 4.39/4.39, allocations: 460.5 MB / 472.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.479e-05/5.535e-05, allocations: 4 kB / 0.5681 GB, free: 10.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1991, allocations: 106.2 MB / 0.6718 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7607/0.9598, allocations: 135.4 MB / 0.804 GB, free: 13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.9601, allocations: 79.88 kB / 0.8041 GB, free: 13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0226/0.9828, allocations: 5.358 MB / 0.8093 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.237e-06/0.9828, allocations: 0 / 0.8093 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.9828, allocations: 7.844 kB / 0.8094 GB, free: 12.39 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005024/0.9833, allocations: 467 kB / 0.8098 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.9834, allocations: 7.688 kB / 0.8098 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.9835, allocations: 21.67 kB / 0.8098 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.9838, allocations: 258.9 kB / 0.8101 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.9839, allocations: 2.625 kB / 0.8101 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.9839, allocations: 3.875 kB / 0.8101 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.9841, allocations: 96.02 kB / 0.8102 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.612e-06/0.9841, allocations: 3.875 kB / 0.8102 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.9842, allocations: 3.938 kB / 0.8102 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.9842, allocations: 0 / 0.8102 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.9843, allocations: 28.69 kB / 0.8102 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.9848, allocations: 375.8 kB / 0.8106 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.985, allocations: 84.77 kB / 0.8106 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.9851, allocations: 30.33 kB / 0.8107 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.9851, allocations: 3.188 kB / 0.8107 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.9853, allocations: 88.31 kB / 0.8108 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.961e-06/0.9853, allocations: 0 / 0.8108 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002908/0.9856, allocations: 117.5 kB / 0.8109 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.9857, allocations: 102.8 kB / 0.811 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.986, allocations: 238.2 kB / 0.8112 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.986, allocations: 29.52 kB / 0.8112 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.9861, allocations: 119 kB / 0.8113 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.9862, allocations: 25.66 kB / 0.8114 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-06/0.9862, allocations: 2.938 kB / 0.8114 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.9862, allocations: 322.5 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.9863, allocations: 27.09 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.9864, allocations: 85.02 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.284e-05/0.9865, allocations: 25.34 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-06/0.9865, allocations: 0 / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002233/0.9868, allocations: 109.2 kB / 0.8119 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.9868, allocations: 7.812 kB / 0.8119 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.268e-06/0.9868, allocations: 11.86 kB / 0.8119 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.9868, allocations: 3.953 kB / 0.8119 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.987, allocations: 10.86 kB / 0.8119 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.975e-06/0.987, allocations: 3.875 kB / 0.8119 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.9871, allocations: 10.42 kB / 0.812 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.9871, allocations: 0 / 0.812 GB, free: 10.48 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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 7.369e-05/0.9872, allocations: 111.9 kB / 0.8121 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.9873, allocations: 15.56 kB / 0.8121 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.9875, allocations: 134.2 kB / 0.8122 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.9876, allocations: 3.844 kB / 0.8122 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.495e-06/0.9876, allocations: 3.953 kB / 0.8122 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.11e-06/0.9876, allocations: 0 / 0.8122 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.9878, allocations: 231.3 kB / 0.8124 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9878, allocations: 0 / 0.8124 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.9879, allocations: 7.688 kB / 0.8124 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-06/0.9879, allocations: 0 / 0.8124 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.9879, allocations: 6.781 kB / 0.8124 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.988, allocations: 0 / 0.8124 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.785e-06/0.988, allocations: 3.844 kB / 0.8125 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.9882, allocations: 145.3 kB / 0.8126 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.9883, allocations: 105.8 kB / 0.8127 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.9884, allocations: 0 / 0.8127 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.9885, allocations: 7.031 kB / 0.8127 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.9885, allocations: 9.812 kB / 0.8127 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.9885, allocations: 7.562 kB / 0.8127 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002113/0.9888, allocations: 206.1 kB / 0.8129 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.49e-07/0.9888, allocations: 4 kB / 0.8129 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003746/0.9892, allocations: 49.27 kB / 0.813 GB, free: 9.836 MB / 0.6355 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00153/0.9907, allocations: 422.5 kB / 0.8134 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.991, allocations: 81.5 kB / 0.8134 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.991, allocations: 4.062 kB / 0.8134 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.9911, allocations: 35.47 kB / 0.8135 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.9914, allocations: 35.03 kB / 0.8135 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.9919, allocations: 211 kB / 0.8137 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.9924, allocations: 0.7304 MB / 0.8144 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000112/0.9925, allocations: 31.89 kB / 0.8145 GB, free: 24.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.9926, allocations: 26.09 kB / 0.8145 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of SimCode: time 1.433e-06/0.9926, allocations: 0 / 0.8145 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of Templates: time 0.00718/0.9998, allocations: 2.484 MB / 0.8169 GB, free: 24.54 MB / 0.6511 GB