Are you simulating the or adjustable voltage model of the LM2596?
Do not waste time searching for a “working” LM2596 simulation library – it does not exist reliably for Proteus. Use the built-in LM2576 or simulate elsewhere. Lm2596 Proteus Library Download