The entire premise fall apart when you understand...
The matrix itself the simulation would need way more energy than the human can produce. All the system to keeping people alive, feed them, create the simulation and the agents, and all the programs, they are recreating the entire planet that would require crazy amount of energy way more than the needed for the machines
Even with the original intention of using the humans as a form of ram memory they would need to process way more data to produce the simulation, there must be ways more practical of doing that, than create a simulation of an entire planet with real people interacting with each other and the environment in real time.
No complaining Im cool with that, this movie is awesome, is just people like the dude who has almost fill the entire board of this movie with threads of plot holes I dont understand them the movie has logical flaw, so what? if a writer bound himself by logic no fantasy movie or sifi would ever be made
Is ok produce debate, criticism, theory, speculation about the meaning of this and that and sometimes is really fun, but fill a board with posible plot holes (and lets be real most of them are just no real plot holes at all while other are cherry picking, just a few of those threads have valid points) like people are no aware of them is kinda virgin
Just enjoy the ride men