osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
35 stars 8 forks source link

Flow latency analysis not working #2892

Closed rammierk closed 2 months ago

rammierk commented 2 months ago

I've been facing an issue with OSATE2 for a couple of weeks now. I am enrolled in the "Modeling System Architectures Using the Architecture Analysis Design Language (AADL)", and I am at Exercise-3: Running the Latency Analysis. I am able to create an instance of the system implementation MyCar.CruiseControl, with the complete flow specification as instructed, I am unable to generate the flow latency report. When I run Flow latency analysis, the analysis report is not generated.

Details:

I am using OSATE2 version 2.12.0.vfinal

Earlier in Exercise-2, I was able to successfully 1) Create an instance of the system implementation MyCar.parts 2) Generate weight analysis report Please see screenshot-1 (attached)

However in Exercise-3, I am able to create an instance of the system implementation MyCar.CruiseControl, with the complete flow specification as instructed, I am unable to generate the flow latency report. After clicking on the instance in AADL navigator, I am able to see the Analyses/Timing/Check flow latency option enabled in the menu. Please see screenshot-2 (attached). When I hit this option, I also get the Flow latency settings dialog. Please see screenshot-3 (attached). I leave all the defaults unchanged and hit OK. But in the reports folder, the expected flow latency report is not generated. I think I should be seeing a “CarSystem_MyCar_CruiseControl_Instance_latency_AS_MF_DL_EQ.csv” file there. But only the previous weight analysis report “CarSystem_MyCar_parts_Instance_WeightAnalysis.csv” is seen there. Besides, in the Problems tab below it still shows the warnings of the previous weight analysis run. Please see screenshot-4 (attached)

Further, in the outline view when I right click on the system implementation MyCar.CruiseControl, I get the Analyses menu, but the Timing option is missing. Please see screenshot-5 (attached). Could this mean that the timing analysis isn't integrated into OSATE2, and that I may need to install and enable an analysis plugin for this to work?

I have retried several times, including deleting and recreating the instance, saving all files, exiting OSATE2 and relaunching, but it still shows the same behavior.

5 screenshots attached

1 - Exercise 3 error - Weight analysis OK 2 - Exercise 3 error - Timing analysis invoked 3 - Exercise 3 error - Flow latency default settings 4 - Exercise 3 error - Timing analysis report not generated 5- Exercise 3 error - Timing analysis option missing
lwrage commented 2 months ago

Could you share your six AADL files, please? You can add a new comment and attach the files to it..

rammierk commented 2 months ago

Here they are, all 6 AADL files renamed to .txt files (since it doesn't permit to upload .aadl files) 1) Sensors.txt 2) Actuators.txt 3) SoftwareApps.txt 4)

rammierk commented 2 months ago

Sorry, here are remaining files (hit some button by mistake that changed the issue to completed status!)

  1. UserInterface.txt
  2. HardwarePlatform.txt
  3. CarSystem.txt
lwrage commented 2 months ago

This is a duplicate of #2885

lwrage commented 2 months ago

The fix is available in the nightly build at https://osate-build.sei.cmu.edu/download/osate/testing/products/