I'm sorry to answer my own question. After contacting support and getting an answer, AnyLogic has a known bug in the Release block.
Hope they will solve it soon.