imported version with virtual mass

should have no influence unless you add the line

ps.virtualmass = True

at the beginning of your gh definition
merged constraints and virtual mass

still problems with line constraints