#4527 closed defect (fixed)
Clocked state machine run-time assert dimension error
Reported by: | Bernhard Thiele | Owned by: | Bernhard Thiele |
---|---|---|---|
Priority: | high | Milestone: | 1.12.0 |
Component: | Frontend | Version: | |
Keywords: | Cc: | Olena Rogovchenko, Adrian Pop, berger@… |
Description
Some state machines will fail at run-time with an error similar to:
assert | error | Dimension 1 has bounds 1..1, got array subscript 2
This kind of error can happen for state machines that have more states than transitions. The reason is a bug when setting an array limit in one of the generated semantic equations governing the state machine. Fix follows soon.
Change History (2)
comment:1 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 7 years ago
Milestone: | Future → 1.12.0 |
---|
Note:
See TracTickets
for help on using tickets.
This has been fixed in https://github.com/OpenModelica/OMCompiler/commit/e844e3abcf4ef74fa9dfc835b05b1e58e9687128.