Help with internal constraints

Hi everyone,
I am a structural engineer phD candidate which is using Abaqus mainly with truss or beam 1-D elements.
I am having issues modeling a beam connecting two columns. The connection between the beam and the columns has to be a pinned one but columns need to be continuous. For being clear I am attaching an image to the thread. I am using connectors, but in that way I am always getting an internal hinge that divide the column, which is wrong and lead to stability problems.
I also cannot use truss elements for modeling the hinged beam.
Can somebody help me undertanding how to model this constraint in ABAQUS? And tell me HOW to do that?
(I am dealing with a 3D model with beams, ABAQUS 2020 student)

​​​​​​​