Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadModel(Buildings): time 4.447/4.447, allocations: 431.3 MB / 445.8 MB, free: 5.453 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.31e-05, allocations: 4 kB / 0.5354 GB, free: 14.88 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6692, allocations: 98.71 MB / 0.6318 GB, free: 12 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002034/0.6713, allocations: 1.138 MB / 0.6329 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007646/0.6721, allocations: 260.7 kB / 0.6332 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.6722, allocations: 7.938 kB / 0.6332 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.6723, allocations: 15.97 kB / 0.6332 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.6724, allocations: 19.97 kB / 0.6332 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.6729, allocations: 107.7 kB / 0.6333 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.673, allocations: 12 kB / 0.6333 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.025e-05/0.6731, allocations: 3.984 kB / 0.6333 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.6732, allocations: 8 kB / 0.6333 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.6733, allocations: 31.91 kB / 0.6334 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.6734, allocations: 55.95 kB / 0.6334 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.6735, allocations: 8 kB / 0.6334 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.6735, allocations: 11.98 kB / 0.6334 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.6736, allocations: 4 kB / 0.6334 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.6737, allocations: 51.91 kB / 0.6335 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.6738, allocations: 0 / 0.6335 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6738, allocations: 3.938 kB / 0.6335 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6738, allocations: 0 / 0.6335 GB, free: 10.25 MB / 0.5105 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.0006025/0.6744, allocations: 387.3 kB / 0.6339 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.6745, allocations: 12.03 kB / 0.6339 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.6745, allocations: 11.91 kB / 0.6339 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.6748, allocations: 178.9 kB / 0.6341 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.6748, allocations: 3.984 kB / 0.6341 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.6748, allocations: 4 kB / 0.6341 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.6751, allocations: 65.67 kB / 0.6341 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6751, allocations: 0 / 0.6341 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.6751, allocations: 7.984 kB / 0.6341 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.6751, allocations: 0 / 0.6341 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.6753, allocations: 27.98 kB / 0.6342 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.6758, allocations: 284.7 kB / 0.6344 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.676, allocations: 66.55 kB / 0.6345 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.676, allocations: 0 / 0.6345 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.6762, allocations: 79.5 kB / 0.6346 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.6763, allocations: 0 / 0.6346 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0005356/0.6768, allocations: 234.7 kB / 0.6348 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.6769, allocations: 55.41 kB / 0.6348 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.677, allocations: 121 kB / 0.635 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.6771, allocations: 25.7 kB / 0.635 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.6771, allocations: 96.11 kB / 0.6351 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.6772, allocations: 15.84 kB / 0.6351 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.6772, allocations: 0 / 0.6351 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6773, allocations: 314.8 kB / 0.6354 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.6774, allocations: 28 kB / 0.6354 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.6775, allocations: 24.36 kB / 0.6354 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.6776, allocations: 53.73 kB / 0.6355 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6776, allocations: 0 / 0.6355 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002484/0.6778, allocations: 139.2 kB / 0.6356 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.6779, allocations: 37.69 kB / 0.6357 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6779, allocations: 0 / 0.6357 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6779, allocations: 0 / 0.6357 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.283e-05/0.678, allocations: 0 / 0.6357 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.678, allocations: 0 / 0.6357 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.6781, allocations: 8 kB / 0.6357 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.6781, allocations: 7.953 kB / 0.6357 GB, free: 7.754 MB / 0.5105 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.0001356/0.6782, allocations: 130.2 kB / 0.6358 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.6783, allocations: 7.906 kB / 0.6358 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.6783, allocations: 8.375 kB / 0.6358 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.6783, allocations: 4 kB / 0.6358 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6784, allocations: 0 / 0.6358 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6784, allocations: 0 / 0.6358 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.6786, allocations: 173.6 kB / 0.636 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6786, allocations: 4 kB / 0.636 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/0.6786, allocations: 3.938 kB / 0.636 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.6786, allocations: 0 / 0.636 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6787, allocations: 0 / 0.636 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.6787, allocations: 4 kB / 0.636 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6787, allocations: 0 / 0.636 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.679, allocations: 153.4 kB / 0.6361 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.6791, allocations: 81.11 kB / 0.6362 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.6792, allocations: 15.92 kB / 0.6362 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.6792, allocations: 0 / 0.6362 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.6793, allocations: 11.98 kB / 0.6362 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.6793, allocations: 4 kB / 0.6362 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.907e-05/0.6794, allocations: 103.2 kB / 0.6363 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6794, allocations: 0 / 0.6363 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003274/0.6798, allocations: 20 kB / 0.6364 GB, free: 6.949 MB / 0.5105 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.0002911/0.6801, allocations: 131.2 kB / 0.6365 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.6804, allocations: 127.4 kB / 0.6366 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6804, allocations: 0 / 0.6366 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.6805, allocations: 35.92 kB / 0.6366 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.6807, allocations: 3.953 kB / 0.6367 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.6812, allocations: 176.9 kB / 0.6368 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.6815, allocations: 0.7005 MB / 0.6375 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.6816, allocations: 3.984 kB / 0.6375 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.6816, allocations: 11.44 kB / 0.6375 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of SimCode: time 6.92e-07/0.6816, allocations: 3.938 kB / 0.6375 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of Templates: time 0.004337/0.6859, allocations: 0.8625 MB / 0.6384 GB, free: 4.832 MB / 0.5105 GB