I am getting the following message. Is this just an obscurely worded error message about the model, or does it mean omc encountered a bug? (The instance file looks OK to me, for what little that's worth.)
[12] 14:52:23 Translation Error
[C:/OM111/OpenModelica64bit/OMCompiler/Compiler/SimCode/SimCodeUtil.mo: 552:5-552:146]: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]