Fixes are available
APAR status
Closed as program error.
Error description
The code generated from my model contains three infinite for loops (i<231720888) that crash at run time. for (i = 0; i < 231720888; i++) { } The defect happening when the multiplicity is constant comparing to number. In this example, if you change the multiplicity of Part itsPump to be number (e.g. 5) instead of MAX_PUMPS_PER_DOCKING, and correspondingly change the ports (pPumpMedi_Docking, pPump_Docking) multiplicity to be 5 You will see it is not happening
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** random for loop generated in initRelations when multiplicity is constant comparing to number
Problem conclusion
The original problem was fixed. Now - the code works correctly and does what it suppose to do. Another issue is that the code is unefficient (The outer loop (i) is redundant). If its important for the user - please issue another defect.
Temporary fix
Comments
APAR Information
APAR number
PM53095
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
751
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-11-29
Closed date
2012-12-24
Last modified date
2012-12-24
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC RHAPSODY
Fixed component ID
5724V74RP
Applicable component levels
R751 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
28 October 2021