{'fraction_non_alphanumeric': 0.013029315960912053, 'fraction_numerical': 0.0, 'mean_word_length': 4.970873786407767, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Preventing second level and avoiding first level deadlocks in FMS

We build a discrete-event model of concurrent FMS processes and consider the problem of its safe and maximally flexible behavior. To reduce the complexity of the problem we bound the class of systems addressed by the model with the requirement that the capacity of some selected resources be greater than one. The constraint prevents the occurrence the second level deadlocks while the first level deadlocks are avoided by the means of a computationally easy, maximally permissive, real-time test. The correctness of the method is formally proved.