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.466/4.466, allocations: 458.9 MB / 473.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.338e-05, allocations: 7.953 kB / 0.5697 GB, free: 9.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2968, allocations: 106.2 MB / 0.6734 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003882/0.3008, allocations: 1.462 MB / 0.6749 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.304, allocations: 0.8912 MB / 0.6757 GB, free: 272 kB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.3042, allocations: 0 / 0.6757 GB, free: 272 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.3046, allocations: 43.88 kB / 0.6758 GB, free: 228 kB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.305, allocations: 55.78 kB / 0.6758 GB, free: 172 kB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3062, allocations: 159.6 kB / 0.676 GB, free: 12 kB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.3065, allocations: 63.97 kB / 0.676 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3067, allocations: 15.98 kB / 0.676 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.3069, allocations: 43.83 kB / 0.6761 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.307, allocations: 47.84 kB / 0.6761 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.3073, allocations: 47.97 kB / 0.6762 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.999e-05/0.3074, allocations: 7.828 kB / 0.6762 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3075, allocations: 31.89 kB / 0.6762 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.3076, allocations: 8 kB / 0.6762 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.308, allocations: 148 kB / 0.6764 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3081, allocations: 0 / 0.6764 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.377e-06/0.3081, allocations: 3.938 kB / 0.6764 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.3081, allocations: 0 / 0.6764 GB, free: 15.6 MB / 0.5573 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.000882/0.309, allocations: 436.6 kB / 0.6768 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.3091, allocations: 16.02 kB / 0.6768 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.3092, allocations: 19.77 kB / 0.6768 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.3098, allocations: 239.8 kB / 0.6771 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.3099, allocations: 4 kB / 0.6771 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.3099, allocations: 8 kB / 0.6771 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.3103, allocations: 92.16 kB / 0.6772 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3103, allocations: 0 / 0.6772 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.3104, allocations: 8 kB / 0.6772 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.3104, allocations: 3.953 kB / 0.6772 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.3107, allocations: 39.92 kB / 0.6772 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.3117, allocations: 352.7 kB / 0.6775 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.3122, allocations: 86.66 kB / 0.6776 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.3123, allocations: 8.062 kB / 0.6776 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.3127, allocations: 87.42 kB / 0.6777 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 4.298e-06/0.3127, allocations: 0 / 0.6777 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0008547/0.3136, allocations: 214.6 kB / 0.6779 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/0.3137, allocations: 106.8 kB / 0.678 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.3144, allocations: 242.1 kB / 0.6782 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.3145, allocations: 29.7 kB / 0.6783 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.3146, allocations: 124 kB / 0.6784 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.3147, allocations: 19.78 kB / 0.6784 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.3148, allocations: 4 kB / 0.6784 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.315, allocations: 322.8 kB / 0.6787 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3152, allocations: 31.92 kB / 0.6788 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.3155, allocations: 68.27 kB / 0.6788 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3157, allocations: 32 kB / 0.6789 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3157, allocations: 0 / 0.6789 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005553/0.3163, allocations: 113.4 kB / 0.679 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.3164, allocations: 11.95 kB / 0.679 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3164, allocations: 0 / 0.679 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.3164, allocations: 0 / 0.679 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.3167, allocations: 15.94 kB / 0.679 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.3167, allocations: 0 / 0.679 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.3169, allocations: 15.95 kB / 0.679 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3169, allocations: 4 kB / 0.679 GB, free: 12.62 MB / 0.5573 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.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,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 0.0002561/0.3172, allocations: 144.7 kB / 0.6791 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.3173, allocations: 15.81 kB / 0.6792 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.005e-05/0.3174, allocations: 25.34 kB / 0.6792 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.3174, allocations: 0 / 0.6792 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3174, allocations: 0 / 0.6792 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3175, allocations: 0 / 0.6792 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.3179, allocations: 229.5 kB / 0.6794 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3179, allocations: 4 kB / 0.6794 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.318, allocations: 4 kB / 0.6794 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3181, allocations: 192 / 0.6794 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.3181, allocations: 7.984 kB / 0.6794 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.3181, allocations: 7.891 kB / 0.6794 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3181, allocations: 0 / 0.6794 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.3187, allocations: 140.8 kB / 0.6796 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3188, allocations: 92.97 kB / 0.6796 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.3189, allocations: 11.98 kB / 0.6797 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3191, allocations: 7.984 kB / 0.6797 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.3192, allocations: 11.94 kB / 0.6797 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.3192, allocations: 11.98 kB / 0.6797 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004117/0.3197, allocations: 192.4 kB / 0.6799 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.11e-07/0.3197, allocations: 0 / 0.6799 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005571/0.3203, allocations: 39.98 kB / 0.6799 GB, free: 11.6 MB / 0.5573 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001962/0.3222, allocations: 398.3 kB / 0.6803 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.3228, allocations: 71.89 kB / 0.6804 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3228, allocations: 0 / 0.6804 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.3231, allocations: 35.98 kB / 0.6804 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.3236, allocations: 31.97 kB / 0.6804 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3247, allocations: 310.1 kB / 0.6807 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.3252, allocations: 0.7282 MB / 0.6814 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.3255, allocations: 21.38 kB / 0.6815 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3256, allocations: 27.42 kB / 0.6815 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of SimCode: time 1.363e-06/0.3256, allocations: 0 / 0.6815 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.01225/0.3379, allocations: 2.359 MB / 0.6838 GB, free: 7.703 MB / 0.5573 GB