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.012/4.012, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.386e-05, allocations: 4.469 kB / 0.5337 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1733, allocations: 98.72 MB / 0.6301 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2357/0.4091, allocations: 125.2 MB / 0.7524 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/0.4095, allocations: 75.95 kB / 0.7524 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.4206, allocations: 2.264 MB / 0.7547 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.266e-06/0.4206, allocations: 0 / 0.7547 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.42e-06/0.4206, allocations: 0 / 0.7547 GB, free: 6.512 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005214/0.4211, allocations: 384 kB / 0.755 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4212, allocations: 12.03 kB / 0.755 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.4213, allocations: 7.891 kB / 0.755 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.4215, allocations: 190.9 kB / 0.7552 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.4215, allocations: 11.98 kB / 0.7552 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.868e-05/0.4216, allocations: 4 kB / 0.7552 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.4217, allocations: 61.67 kB / 0.7553 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.219e-06/0.4218, allocations: 0 / 0.7553 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4218, allocations: 0 / 0.7553 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.4218, allocations: 4 kB / 0.7553 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.4219, allocations: 23.98 kB / 0.7553 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.4223, allocations: 284.8 kB / 0.7556 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4225, allocations: 66.5 kB / 0.7557 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.4226, allocations: 24.97 kB / 0.7557 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.4226, allocations: 3.984 kB / 0.7557 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.4228, allocations: 75.39 kB / 0.7558 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.729e-06/0.4228, allocations: 0 / 0.7558 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002879/0.4231, allocations: 109.7 kB / 0.7559 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.4232, allocations: 67.34 kB / 0.7559 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.4233, allocations: 125 kB / 0.7561 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.4234, allocations: 29.7 kB / 0.7561 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.4235, allocations: 84.14 kB / 0.7562 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.4235, allocations: 11.91 kB / 0.7562 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-06/0.4235, allocations: 3.984 kB / 0.7562 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4237, allocations: 322.8 kB / 0.7565 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.4238, allocations: 23.98 kB / 0.7565 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.4238, allocations: 28 kB / 0.7565 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.4239, allocations: 61.67 kB / 0.7566 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-06/0.424, allocations: 0 / 0.7566 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002914/0.4243, allocations: 155.2 kB / 0.7567 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.4243, allocations: 33.7 kB / 0.7568 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.89e-06/0.4243, allocations: 0 / 0.7568 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4244, allocations: 3.938 kB / 0.7568 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.742e-05/0.4244, allocations: 0 / 0.7568 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.929e-06/0.4244, allocations: 0 / 0.7568 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.4245, allocations: 7.953 kB / 0.7568 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.4245, allocations: 4.469 kB / 0.7568 GB, free: 4.09 MB / 0.6355 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.0001042/0.4246, allocations: 117 kB / 0.7569 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.4247, allocations: 7.906 kB / 0.7569 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.4247, allocations: 4.625 kB / 0.7569 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.4247, allocations: 4 kB / 0.7569 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.162e-06/0.4247, allocations: 3.938 kB / 0.7569 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.759e-06/0.4248, allocations: 3.984 kB / 0.7569 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.425, allocations: 177.6 kB / 0.7571 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-06/0.425, allocations: 0 / 0.7571 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-06/0.425, allocations: 4 kB / 0.7571 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.047e-06/0.425, allocations: 0 / 0.7571 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.425, allocations: 192 / 0.7571 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.792e-06/0.4251, allocations: 8 kB / 0.7571 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-06/0.4251, allocations: 3.938 kB / 0.7571 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.4254, allocations: 141 kB / 0.7572 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.4254, allocations: 81.11 kB / 0.7573 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.4255, allocations: 3.984 kB / 0.7573 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.4255, allocations: 8 kB / 0.7573 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.4256, allocations: 7.938 kB / 0.7573 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.4256, allocations: 7.984 kB / 0.7573 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.372e-05/0.4257, allocations: 95.27 kB / 0.7574 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.77e-07/0.4257, allocations: 4 kB / 0.7574 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003306/0.4261, allocations: 24 kB / 0.7575 GB, free: 3.301 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.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.0002587/0.4264, allocations: 135.2 kB / 0.7576 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.4266, allocations: 123.4 kB / 0.7577 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.963e-06/0.4266, allocations: 0 / 0.7577 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.4267, allocations: 28 kB / 0.7577 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.4268, allocations: 3.953 kB / 0.7577 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.4272, allocations: 125 kB / 0.7579 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.4276, allocations: 0.6926 MB / 0.7585 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.4276, allocations: 4 kB / 0.7585 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.4276, allocations: 11.7 kB / 0.7585 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of SimCode: time 3.664e-06/0.4276, allocations: 0 / 0.7585 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of Templates: time 0.004837/0.4325, allocations: 0.8583 MB / 0.7594 GB, free: 1.266 MB / 0.6355 GB