Madara died shortly activating Rinnegan.
Nagato looked like he was 5-6 years old when he first activated Rinnegan. Madara either inplanted them into Nagato when he was infant or very young (3-4 years old).
Nagato learned all jutsus Jiraya taught him at the age of 10. Jiraya was 20-25 years old by then. Jiraya died at the age of 54. Nagato's age : 54-10(15) = 44(39).
Madara said he activated Rinnegan shortly before dying. Madara personaly knew Nagato. Nagato activated his rinnegan at the age of 5-6 years. Madara was already dead by that time. That's about 35-40 years prior to current events.
Obito, nor Shisui was not alive at that moment. Shisui at best could be a little baby, that's if you suggest he was about 30 years old by the time he died.
There, you happy? Or do you fools need Tobi to take off his mask to finally be disproven? Don't you have common sense at all?