Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadModel(Buildings): time 4.168/4.168, allocations: 464.7 MB / 476.8 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.234e-05, allocations: 5.25 kB / 0.5731 GB, free: 5.711 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1934, allocations: 107.2 MB / 0.6778 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8274/1.021, allocations: 135.8 MB / 0.8103 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004475/1.021, allocations: 75.12 kB / 0.8104 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02457/1.046, allocations: 5.364 MB / 0.8157 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.125e-06/1.046, allocations: 0 / 0.8157 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.897e-05/1.046, allocations: 7.812 kB / 0.8157 GB, free: 11.83 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.0004967/1.047, allocations: 458.5 kB / 0.8161 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.047, allocations: 11.84 kB / 0.8161 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/1.047, allocations: 15.59 kB / 0.8161 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/1.047, allocations: 263.1 kB / 0.8164 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/1.047, allocations: 3 kB / 0.8164 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/1.047, allocations: 3.906 kB / 0.8164 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/1.047, allocations: 88 kB / 0.8165 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.645e-06/1.047, allocations: 3.844 kB / 0.8165 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/1.047, allocations: 3.375 kB / 0.8165 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/1.047, allocations: 7.938 kB / 0.8165 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/1.048, allocations: 32.27 kB / 0.8165 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/1.048, allocations: 372 kB / 0.8169 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/1.048, allocations: 84.94 kB / 0.8169 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/1.048, allocations: 32.88 kB / 0.817 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/1.048, allocations: 3.875 kB / 0.817 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/1.049, allocations: 75.31 kB / 0.8171 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 3.198e-06/1.049, allocations: 0 / 0.8171 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002829/1.049, allocations: 110.5 kB / 0.8172 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/1.049, allocations: 109.9 kB / 0.8173 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/1.049, allocations: 237.2 kB / 0.8175 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/1.049, allocations: 40.95 kB / 0.8175 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/1.049, allocations: 120.2 kB / 0.8176 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/1.049, allocations: 18.14 kB / 0.8177 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-06/1.049, allocations: 0 / 0.8177 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/1.049, allocations: 328.6 kB / 0.818 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.115e-05/1.05, allocations: 26.03 kB / 0.818 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/1.05, allocations: 72.27 kB / 0.8181 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.597e-05/1.05, allocations: 33.03 kB / 0.8181 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-06/1.05, allocations: 3.875 kB / 0.8181 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002229/1.05, allocations: 114.1 kB / 0.8182 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.05, allocations: 3.812 kB / 0.8182 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.282e-06/1.05, allocations: 4 kB / 0.8182 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.05, allocations: 0 / 0.8182 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/1.05, allocations: 14.67 kB / 0.8182 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.68e-06/1.05, allocations: 0 / 0.8182 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.962e-05/1.05, allocations: 15.19 kB / 0.8182 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/1.05, allocations: 10.97 kB / 0.8183 GB, free: 9.926 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 8.04e-05/1.05, allocations: 121.7 kB / 0.8184 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/1.051, allocations: 15.44 kB / 0.8184 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/1.051, allocations: 120.7 kB / 0.8185 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/1.051, allocations: 3.844 kB / 0.8185 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.234e-06/1.051, allocations: 0 / 0.8185 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.184e-06/1.051, allocations: 0 / 0.8185 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/1.051, allocations: 245.1 kB / 0.8187 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-06/1.051, allocations: 0 / 0.8187 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/1.051, allocations: 10.48 kB / 0.8188 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.866e-06/1.051, allocations: 3.812 kB / 0.8188 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/1.051, allocations: 0 / 0.8188 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-06/1.051, allocations: 240 / 0.8188 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.241e-06/1.051, allocations: 0 / 0.8188 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/1.051, allocations: 142.7 kB / 0.8189 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/1.052, allocations: 105.9 kB / 0.819 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/1.052, allocations: 4 kB / 0.819 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/1.052, allocations: 6.766 kB / 0.819 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/1.052, allocations: 14.7 kB / 0.819 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.052, allocations: 3.812 kB / 0.819 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002021/1.052, allocations: 193.5 kB / 0.8192 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.88e-07/1.052, allocations: 0 / 0.8192 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003754/1.052, allocations: 57.03 kB / 0.8193 GB, free: 9.281 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.001354/1.054, allocations: 415.9 kB / 0.8197 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002371/1.054, allocations: 84.69 kB / 0.8197 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.977e-06/1.054, allocations: 0 / 0.8197 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/1.054, allocations: 34.16 kB / 0.8198 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/1.054, allocations: 32.45 kB / 0.8198 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/1.055, allocations: 220.5 kB / 0.82 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/1.055, allocations: 0.7291 MB / 0.8207 GB, free: 24.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001089/1.056, allocations: 26.66 kB / 0.8208 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/1.056, allocations: 15.09 kB / 0.8208 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.533e-06/1.056, allocations: 0 / 0.8208 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.007199/1.063, allocations: 2.496 MB / 0.8232 GB, free: 24 MB / 0.6511 GB