- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Internal error function lexer failed
Page Start Prev 1 Next End
Internal error function lexer failed
Internal error function lexer failed
Sep-22-21 07:10:44
when i check or simulate some of my model, the following translation error is shown
Code:
[2] 09:06:43 Translation Error
[C:/dev/OM64bit/OMCompiler/Compiler/NFFrontEnd/NFUnit.mo: 883:7-883:68]: Internal error function lexer failed
but the simulation seems to work just fine. I'm trying to make a minimal working model and will share it as soon as i'm done.
any idea why OM throw that error?
Edit:
so the problem is, i defiend a unitless Real parameter as
Code:
parameter Real Kp(unit="-")
and it seems OpenModelica does not like that
Edited by: Arinomo23 - Sep-22-21 07:15:42
- Arinomo23
- 120 Posts
Re: Internal error function lexer failed
Sep-24-21 09:34:57
- sjoelund.se
- 1700 Posts
Re: Internal error function lexer failed
Sep-24-21 12:10:07
Thanks for the info!
- Arinomo23
- 120 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Internal error function lexer failed
There are 0 guests and 0 other users also viewing this topic