Don't pin all your members in torsion (MX in STAAD.pro), that's just asking for a trouble as the members can spin about their own axis when connected members and/or supports are not rigid.
For more on solving instabilities check these posts:
Don't pin all your members in torsion (MX in STAAD.pro), that's just asking for a trouble as the members can spin about their own axis when connected members and/or supports are not rigid.
For more on solving instabilities check these posts: