STABILITY AND COMPLEXITY IN MODEL ECOSYSTEMS