Opened 12 years ago
Closed 12 years ago
#2515 closed defect (invalid)
Termination of simulation
| Reported by: | Owned by: | Lennart Ochel | |
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.1 |
| Component: | Code Generation | Version: | trunk |
| Keywords: | Cc: |
Description
I attached an example simulating the acceleration of a cart (mass) caused by three different forces:
- horse
- motor
- inclined ramp (gravity and inclination angle
alpha)
The inclined ramp force is modeled by constantforce1. After adding this model the simulation did not terminate properly.
- Run the attached simulation model (terminates with error code 252)
- Remove
constantforce1and simulate the model: it runs and terminates OK
Support is highly appreciated since the attached model is used by our students for a diploma thesis.
Please update the COMPONENT of the ticket -- I am not sure if I picked it right.
Attachments (1)
Change History (2)
by , 12 years ago
| Attachment: | Acceleration.mo added |
|---|
comment:1 by , 12 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
This ticket is invalid. The simulation example works fine. The termination of with error code 252 is due to instability of the physical system, not a compiler or runtime problem.

Simulation example demonstrating runtime error