Robustness and stability of complex systems