- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Error in lowerWhenEqn - What's wrong...
Page Start Prev 1 Next End
Error in lowerWhenEqn - What's wrong there?
Error in lowerWhenEqn - What's wrong there?
Oct-17-10 19:56:59
Hi All,
i wanted to continue to work on a "old" model which worked fine a few month ago. Now i have this problem.
/cat /tmp/omshell.log
- DAELow.lowerWhenEqn: Error in lowerWhenEqn.
when time >= myFifo.nextWriteEvent OR myFifo.interrupt ...
There are the corresponding code snippets.
Code:
when (time >= nextWriteEvent or interrupt) then
for i in 1:Nout loop //index auch uebergeben
dvarout[i] = varout[i];
numwritten[i] = fifoOutReal(fd_out, dvarout[i], i, Nout+1); //write2fifo
end for;
if interrupt then
timewritten = fifoOutReal(fd_out, time, 0, Nout+1); // send SimTime
else
timewritten = fifoOutReal(fd_out, nextWriteEvent, 0, Nout+1); // send SimTime==nextWriteEvent
end if;
nextReadEvent = time + CompTime;
end when;
This was an interface to a external controller application.
Any idea what may be wrong there??
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Error in lowerWhenEqn - What's wrong...
There are 0 guests and 0 other users also viewing this topic