Opened 9 years ago

Closed 8 years ago

#3767 closed defect (fixed)

OMEdit - Freeze Loading Screen at "Creating Widgets"

Reported by: philipp.kiesslich-koecher@… Owned by: adrpo
Priority: high Milestone: Future
Component: Parser Version: v1.9.4-v1.9.x
Keywords: Freeze Loading Screen Cc:

Description

Sometimes when I open OMEdit it hangs up at the event "Creating Widgets" and the program doesn´t open. I use Windows 7.

Attachments (2)

LoadingScreenOMEdit.GIF (154.6 KB) - added by anonymous 9 years ago.
OMEdit sometimes hang up on loading screen with "Loading Widgets"
omeditcommunication.log (6.1 KB) - added by anonymous 9 years ago.
LogFile for the "CreatingWidgets" Situation

Download all attachments as: .zip

Change History (12)

comment:1 Changed 9 years ago by adeas31

Start the program and when it is freezed kill it manually from task manager. Then go to %TEMP%/OpenModelica/OMEdit and send the log files created there,

  • omeditcommunication.log
  • omediterror.txt
  • omeditoutput.txt

comment:2 Changed 9 years ago by philipp.kiesslich-koecher@…

omediterror.txt and omeditoutput.txt are both empty.

(Sorry, can´t use the upload function. Get an error message.)

omeditcommunication.log says:

setCommandLineOptions(+locale=de_DE) 13:56:36:626
true 13:56:36:626
Elapsed Time :: 0 secs

getVersion(OpenModelica) 13:56:36:626
"OpenModelica v1.9.4" 13:56:36:641
Elapsed Time :: 0.015 secs

"OMEdit v1.9.4-dev-525-ge8c9162" 13:56:36:641
"OMEdit v1.9.4-dev-525-ge8c9162" 13:56:36:657
Elapsed Time :: 0.016 secs

getInstallationDirectoryPath() 13:56:36:657
"C:/OpenModelica1.9.4/" 13:56:36:657
Elapsed Time :: 0 secs

cd(C:/Users/PHILIP~1/AppData/Local/Temp/OpenModelica/OMEdit/) 13:56:36:657
"C:/Users/PHILIP~1/AppData/Local/Temp/OpenModelica/OMEdit" 13:56:36:657
Elapsed Time :: 0 secs

getModelicaPath() 13:56:36:657
"C:/OpenModelica1.9.4/lib/omlibrary" 13:56:36:657
Elapsed Time :: 0 secs

errors:=getMessagesStringInternal() 13:56:36:657
{} 13:56:36:673
Elapsed Time :: 0.016 secs

size(errors,1) 13:56:36:673
0 13:56:36:673
Elapsed Time :: 0 secs

cd() 13:56:36:673
"C:/Users/PHILIP~1/AppData/Local/Temp/OpenModelica/OMEdit" 13:56:36:673
Elapsed Time :: 0 secs

getAvailableMatchingAlgorithms() 13:56:36:688
({"BFSB","DFSB","MC21A","PF","PFPlus","HK","HKDW","ABMP","PR","DFSBExt","BFSBExt","MC21AExt","PFExt","PFPlusExt","HKExt","HKDWExt","ABMPExt","PRExt","BB"},{"Breadth First Search based algorithm.","Depth First Search based algorithm.","Depth First Search based algorithm with look ahead feature.","Depth First Search based algorithm with look ahead feature.","Depth First Search based algorithm with look ahead feature and fair row traversal.","Combined BFS and DFS algorithm.","Combined BFS and DFS algorithm.","Combined BFS and DFS algorithm.","Matching algorithm using push relabel mechanism.","Depth First Search based Algorithm external c implementation.","Breadth First Search based Algorithm external c implementation.","Depth First Search based Algorithm with look ahead feature external c implementation.","Depth First Search based Algorithm with look ahead feature external c implementation.","Depth First Search based Algorithm with look ahead feature and fair row traversal external c implementation.","Combined BFS and DFS algorithm external c implementation.","Combined BFS and DFS algorithm external c implementation.","Combined BFS and DFS algorithm external c implementation.","Matching algorithm using push relabel mechanism external c implementation.","BBs try."}) 13:56:36:688
Elapsed Time :: 0 secs

getMatchingAlgorithm() 13:56:36:688
"PFPlusExt" 13:56:36:688
Elapsed Time :: 0 secs

getAvailableIndexReductionMethods() 13:56:36:688
({"uode","dynamicStateSelection","dummyDerivatives"},{"Use the underlying ODE without the constraints.","Simple index reduction method, select (dynamic) dummy states based on analysis of the system.","Simple index reduction method, select (static) dummy states based on heuristic."}) 13:56:36:688
Elapsed Time :: 0 secs

getIndexReductionMethod() 13:56:36:688
"dynamicStateSelection" 13:56:36:688
Elapsed Time :: 0 secs

getConfigFlagValidOptions(simCodeTarget) 13:56:36:688
({"None","Adevs","C","Cpp","CSharp","Java","JavaScript","sfmi","XML"},"Setzt die Zielsprache f�r die Codegenerierung.",{}) 13:56:36:704
Elapsed Time :: 0.016 secs

getConfigFlagValidOptions(target) 13:56:36:704
({"gcc","msvc","msvc10","msvc12","msvc13","msvc15","vxworks69","debugrt"},"Setzt den zu verwendenden Ziel-Compiler.",{}) 13:56:36:704
Elapsed Time :: 0 secs

cd(C:/Users/PHILIP~1/AppData/Local/Temp/OpenModelica/OMEdit) 13:56:36:719
"C:/Users/PHILIP~1/AppData/Local/Temp/OpenModelica/OMEdit" 13:56:36:719
Elapsed Time :: 0 secs

cd() 13:56:36:719
"C:/Users/PHILIP~1/AppData/Local/Temp/OpenModelica/OMEdit" 13:56:36:719
Elapsed Time :: 0 secs

cd() 13:56:36:875
"C:/Users/PHILIP~1/AppData/Local/Temp/OpenModelica/OMEdit" 13:56:36:875
Elapsed Time :: 0 secs

cd() 13:56:36:875
"C:/Users/PHILIP~1/AppData/Local/Temp/OpenModelica/OMEdit" 13:56:36:875
Elapsed Time :: 0 secs

cd() 13:56:36:907
"C:/Users/PHILIP~1/AppData/Local/Temp/OpenModelica/OMEdit" 13:56:36:907
Elapsed Time :: 0 secs

getAvailableLibraries() 13:56:36:938
{"ADGenKinetics","ADMSL","AdvancedNoise","Annex60","BioChem","BondGraph","BondLib","BrineProp","BuildSysPro","BuildingSystems","Buildings","Chemical","Complex","ComplexLib","ConPNlib","DESLib","ExtendedPetriNets","ExternData","FCSys","FCSysTest","FastBuildings","FaultTriggering","Flight","FractionalOrder","FuzzyControl","HelmholtzMedia","IdealizedContact","IndustrialControlSystems","InstantaneousSymmetricalComponents","LinearMPC","MVEMLib","ManualTracking","MessagePack","Modelica","ModelicaAdditions","ModelicaByExample","ModelicaCompliance","ModelicaDEVS","ModelicaReference","ModelicaServices","ModelicaTest","Modelica_DeviceDrivers","Modelica_EnergyStorages","Modelica_LinearSystems2","Modelica_Noise","Modelica_StateGraph2","Modelica_Synchronous","MotorcycleDynamics","NcDataReader2","NeuralNetwork","ObjectStab","ObsoleteModelica3","OpenBLDC","OpenFDM","OpenHydraulics","PNlib","Physiolibrary","PlanarMechanics","PowerFlow","PowerSystems","PraxisSimulationstechnik","QCalc","QCalcTests","QSSFluidFlow","RealTimeCoordinationLibrary","ScalableTestSuite","Servomechanisms","SiemensPower","Spot","SpotExamples","SystemDynamics","ThermoPower","ThermoSysPro","VehicleInterfaces","WasteWater","WindPowerPlants","XogenyTest","iPSL","test"} 13:56:36:938
Elapsed Time :: 0 secs

numProcessors() 13:56:36:938
8 13:56:36:938
Elapsed Time :: 0 secs

getConfigFlagValidOptions(profiling) 13:56:36:953
({"none","blocks","blocks+html","all","all_perf","all_stat"},"Sets the profiling level to use. Profiled equations and functions record execution time and count for each time step taken by the integrator.",{"Generate code without profiling","Generate code for profiling function calls as well as linear and non-linear systems of equations","Like blocks, but also run xsltproc and gnuplot to generate an html report","Generate code for profiling of all functions and equations","Generate code for profiling of all functions and equations with additional performance data using the papi-interface (cpp-runtime)","Generate code for profiling of all functions and equations with additional statistics (cpp-runtime)"}) 13:56:36:953
Elapsed Time :: 0 secs

loadModel(Modelica,### Handle array arguments ###,falsefalse) 13:56:38:045

comment:3 Changed 9 years ago by adeas31

What happens if you use call loadModel(Modelica) from OMShell?

comment:4 Changed 9 years ago by adrpo

There is a bug in Trac with German browsers, just go to Preferences->Language and set it to English US, then you should be able to upload files.

Changed 9 years ago by anonymous

OMEdit sometimes hang up on loading screen with "Loading Widgets"

Changed 9 years ago by anonymous

LogFile for the "CreatingWidgets" Situation

comment:5 Changed 9 years ago by philipp.kiesslich-koecher@…

When I use loadModel(Modelica) in Shell it says "true" (tried it before, at and after the freezing event).

comment:6 Changed 9 years ago by adrpo

  • Component changed from OMEdit to Parser
  • Owner changed from adeas31 to adrpo
  • Status changed from new to assigned

This might have something to do with parallel loading of Modelica files.
I'll investigate more.

comment:7 Changed 8 years ago by anonymous

FWIW, I am getting the same behavior. It eventually loaded yesterday, but I don't know what I did to make it finally load.

Is there any progress on finding the issue?

comment:8 Changed 8 years ago by adrpo

As far as I know this issue is fixed in the latest nightly builds:
https://build.openmodelica.org/omc/builds/windows/nightly-builds/
Which version of OpenModelica are you using?

comment:9 Changed 8 years ago by anonymous

I was using the latest released version: OpenModelica-v1.9.6.exe

I uninstalled it and installed OpenModelica-v1.11.0-dev-80-g6d333d4-64bit.exe, and it works correctly now.

Thanks!

comment:10 Changed 8 years ago by adeas31

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.