Mechanism with subassembly mechanism

Hello,

I try to build a mechanism with has subassembly with mechanism. The subassembly is pneumatic acutator - blue and red part connected with cylindrical joint with command. At the beginning I have impossible to resolve Revolut.4 (connection of blue and orange part) and Cylindrical.5 (conection red and grey part).

But when I double click command.1 (for connection orange and green part) simulation works correclty.

Closing the Mechnism player windor goes back to initial position with errors.

Does anyone has a clue what may be the reason, I will appreciate any clues. Kind regards