For some reason moose.GapJunction acts as current source with reversal set at 0 mV. Below is a simple example where two models are connected by GapJunction. These models have Em of -80 mV but the output resting membrane comes out to be 0 mV.
The issue was with HSolve and not gapjunction. Have found a workaround that involves deleting the HSolve call in rdesigneur.py and then manually calling HSolve after I have setup the two models.
For some reason moose.GapJunction acts as current source with reversal set at 0 mV. Below is a simple example where two models are connected by GapJunction. These models have Em of -80 mV but the output resting membrane comes out to be 0 mV.
The output is -0.08 -0.08 -0.00053 -0.00053
The Vm of both the models should be -0.08 V.