Any history of BPH,Hypertension, Diabetes?
What other medicines are you taking?
The symptoms of Frequent urination are due to prostatic enlargement and not due to lipitor.Since the prostate medicine (Flomax) you are taking is not responding,I feel you should consult a surgeon to look for the exact condition of prostate.
Check this link
Well the increased frequency of urination can be due to following reasons
1) Interstitial Cystitis
2) Enlarged Prostate
3) Urinary tract infection
Lipitor has a listed side effect of muscular pain and this is not related to increased frequency of urination.
Also see this link