Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Rungekutta solver for C++

Rungekutta solver for C++

Hi all,

I have an openmodelica based aircraft model. My target language is C++ and target compiler is gcc. Solver chosen is Rungekutta 4th order. Simulation gives the error 'Solver not found'.

It runs when I use C language. But after certain random amount of time, simulation quits stating that the integrator has failed.

I have also tried with dassl solver, giving 0.025s as the step time. I am getting the following error-

////
DDASSL had repeated error test failures on the last attempted step.
can't continue. time = 19.121426</p>
model terminate | Integrator failed. | Simulation terminated at time 19.1214

DASKR--  AT T (=R1) AND STEPSIZE H (=R2) THE                                    
      In above,  R1 =  1.9121425877852E+001   R2 =  1.4691682218380E-014
DASKR--  ERROR TEST FAILED REPEATEDLY OR WITH ABS(H)=HMIN                       

### STATISTICS ###
Simulation process failed. Exited with code -7.
////

Has anybody encountered this problem. How can I proceed???

Thanks.

Regards
Archana.

There are 0 guests and 0 other users also viewing this topic