Simultaneous nonlinear structural analysis and design