AMS doesn't support dc sweep. You could do parametric analysis, I guess. The primary purpose of AMS is transient - which makes sense because the reason for using AMS is that you have a chunk of digital gates present which will simulate with Verilog or VHDL descriptions.
What exactly are you trying to do? What are you expecting the digital to be doing during this DC sweep?