Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ConflictLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.ConflictLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ConflictLoop") translateModel(PNlib.Examples.ConTest.ConflictLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ConflictLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009586/0.0009586, allocations: 110.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07281/0.07281, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 55.91 kB / 427 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 53.48 MB / 480.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ConflictLoop): time 0.00557/0.1071, allocations: 4.238 MB / 484.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006654/0.1138, allocations: 3.292 MB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.1151, allocations: 27.88 kB / 488 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1162, allocations: 408.7 kB / 488.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.118, allocations: 420.7 kB / 488.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004135/0.1221, allocations: 1.551 MB / 490.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006533/0.1287, allocations: 4.708 MB / 495.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.1302, allocations: 0.912 MB / 496 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003185/0.1335, allocations: 1.831 MB / 497.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.1361, allocations: 1.603 MB / 499.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.1374, allocations: 436 kB / 499.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.1393, allocations: 0.8275 MB / 0.489 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009432/0.1402, allocations: 0.7944 MB / 0.4897 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002198/0.1424, allocations: 1.844 MB / 0.4915 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005079/0.1475, allocations: 4.631 MB / 0.4961 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1476, allocations: 0 / 0.4961 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1476, allocations: 0 / 0.4961 GB, free: 9.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.324e-05/0.1477, allocations: 0 / 0.4961 GB, free: 9.379 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.006109/0.1538, allocations: 4.243 MB / 0.5002 GB, free: 4.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1538, allocations: 11.89 kB / 0.5002 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.157, allocations: 0.7038 MB / 0.5009 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.1596, allocations: 1.403 MB / 0.5023 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006871/0.1603, allocations: 0.8646 MB / 0.5031 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005789/0.1609, allocations: 399.9 kB / 0.5035 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2207/0.3816, allocations: 6.804 MB / 0.5101 GB, free: 30.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.685e-05/0.3817, allocations: 5.781 kB / 0.5101 GB, free: 30.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/0.3822, allocations: 192.7 kB / 0.5103 GB, free: 30.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/0.3828, allocations: 369.5 kB / 0.5107 GB, free: 30.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008912/0.3917, allocations: 5.079 MB / 0.5156 GB, free: 29.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.4089, allocations: 11.49 MB / 0.5269 GB, free: 21.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/0.4144, allocations: 6.684 MB / 0.5334 GB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004331/0.4187, allocations: 6.131 MB / 0.5394 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.4188, allocations: 40.34 kB / 0.5394 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003712/0.4226, allocations: 3.461 MB / 0.5428 GB, free: 8.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=276): time 4.89e-06/0.4226, allocations: 0 / 0.5428 GB, free: 8.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=276): time 0.01538/0.438, allocations: 11.41 MB / 0.5539 GB, free: 12.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001111/0.4391, allocations: 1.793 MB / 0.5557 GB, free: 10.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.4411, allocations: 1.33 MB / 0.557 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003306/0.4414, allocations: 173.7 kB / 0.5572 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.4425, allocations: 1.038 MB / 0.5582 GB, free: 8.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008239/0.4433, allocations: 0.7466 MB / 0.5589 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/0.4447, allocations: 0.9474 MB / 0.5598 GB, free: 6.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4448, allocations: 357.9 kB / 0.5602 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00302/0.4479, allocations: 2.061 MB / 0.5622 GB, free: 4.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/0.4519, allocations: 3.465 MB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00762/0.4595, allocations: 6.803 MB / 0.5722 GB, free: 8.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.454e-05/0.4596, allocations: 12 kB / 0.5722 GB, free: 8.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=551) (initialization): time 0.01159/0.4712, allocations: 7.525 MB / 0.5796 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008497/0.4721, allocations: 1.16 MB / 0.5807 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007314/0.4794, allocations: 4.808 MB / 0.5854 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/0.4824, allocations: 0.7466 MB / 0.5861 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.484, allocations: 462.8 kB / 0.5866 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.4856, allocations: 1.275 MB / 0.5878 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.4882, allocations: 0.527 MB / 0.5883 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006524/0.4889, allocations: 228 kB / 0.5885 GB, free: 7.047 MB / 430.1 MB Warning: Assuming fixed start value for the following 54 variables: P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P3.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 185 * Number of states: 0 () * Number of discrete variables: 434 ($PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,P3.enableOut.randNum,$PRE.P3.enableOut.randNum,P3.enableOut.state128[4],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[1],P3.enableOut.cumEnablingProb[1],$PRE.P3.enableOut.cumEnablingProb[1],$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,P3.enableOut.remTAout[1],$PRE.P3.enableOut.remTAout[1],$PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,P3.enableOut.disTAout[1],$PRE.P3.enableOut.disTAout[1],$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,P3.enableIn.randNum,$PRE.P3.enableIn.randNum,P3.enableIn.state128[4],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],$PRE.P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,P3.enableIn.disTAin[1],$PRE.P3.enableIn.disTAin[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$PRE.P2.enableOut.disTAout[1],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.P2.enableIn.disTAin[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],$PRE.P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P3.disMarksInOut,P3.outTransition[1].tokenInOut,$PRE.P2.disMarksInOut,P2.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,T3.inPlaces[1].tokenInOut,$PRE.P3.disMarksIn.anytrue,$PRE.P3.disMarksOut.anytrue,P3.disMarksInOut,$whenCondition9,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition8,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition7,P3.outTransition[1].normalArc,P3.outTransition[1].testValueint,P3.outTransition[1].arcType,P3.outTransition[1].disPlace,P3.outTransition[1].minTokensint,P3.outTransition[1].tint,T1.inPlaces[2].disTransition,P3.inTransition[1].disPlace,P3.inTransition[1].maxTokensint,P3.inTransition[1].tint,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P3.reStart,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T1.inPlaces[1].disTransition,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P2.reStart,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T3.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,T2.inPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T3.firingCon,T2.firingCon,T1.firingCon,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P3.disMarksOut.vec[1],P3.disMarksOut.numtrue,P3.disMarksOut.anytrue,P3.disMarksIn.vec[1],P3.disMarksIn.numtrue,P3.disMarksIn.anytrue,T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],P3.delayPassedOut.vec[1],P3.delayPassedIn.vec[1],T1.activation.normalArc[2],T1.activation.testValueInt[2],T1.activation.arcType[2],T1.activation.disPlaceIn[2],T1.activation.minTokensInt[2],T1.activation.tIntIn[2],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P3.emptying.numtrue,P3.emptying.anytrue,P3.emptying.vec[1],P3.feeding.numtrue,P3.feeding.anytrue,P3.feeding.vec[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.enableOut.TEout[1],$PRE.P3.enableOut.TEout[1],P3.enableOut.TEout_[1],P3.enableOut.TAout[1],P3.enableIn.TEin[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.fireOut[1],$PRE.P3.fireOut[1],P3.fireIn[1],$PRE.P3.fireIn[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.emptying.vec[1],P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireOut[1],$PRE.P2.fireOut[1],P2.fireIn[1],$PRE.P2.fireIn[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[2],P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.emptied[1],T3.activation.fed[1],T2.fire_,T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T2.activation.fed[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[1],T1.activation.fed[2],T1.activation.fed[1],$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (465): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 33 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,19)} Notification: Performance of prepare postOptimizeDAE: time 0.004566/0.4935, allocations: 2.651 MB / 0.5911 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001327/0.4948, allocations: 277.8 kB / 0.5914 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/0.5098, allocations: 9.299 MB / 0.6005 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.5098, allocations: 3.984 kB / 0.6005 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01317/0.523, allocations: 9.066 MB / 0.6093 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.5234, allocations: 266.4 kB / 0.6096 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008249/0.5243, allocations: 287.8 kB / 0.6099 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/0.5263, allocations: 319.7 kB / 0.6102 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001499/0.5278, allocations: 0.977 MB / 0.6111 GB, free: 15.32 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (3): ($OMC$CF$sim5, $OMC$CF$sim6) = PNlib.Functions.decreasingFactor(1, 2, P1.t_, P1.minMarks, P1.maxMarks, P1.outTransition[2].speedSum, P1.inTransition[1].speedSum, {1.0}, {4.0, 2.0}, {P3.outTransition[1].prelimSpeed}, {P2.inTransition[1].prelimSpeed, P3.inTransition[1].prelimSpeed}, {3.0}, {1.0, 1.0}, P1.fireIn and not {false}, P1.fireOut and not {false, false}) Variables: 1: P2.inTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous input transitions" type: Real [1] 2: P1.outTransition[2].speedSum:VARIABLE(flow=false ) "Input speed of a continuous place" type: Real [2] 3: P3.inTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous input transitions" type: Real [1] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): P3.outTransition[1].prelimSpeed = PNlib.Functions.preliminarySpeed(2, 1, {2.0, 1.0}, {3.0}, {P2.outTransition[1].speedSum, P3.outTransition[1].speedSum}, {P1.inTransition[1].speedSum}, 1.0, T1.activation.weaklyInputActiveVec, T1.activation.weaklyOutputActiveVec) 2/2 (1): T1.instantaneousSpeed = min($cse1, P3.outTransition[1].prelimSpeed) 3/3 (1): $cse1 = min($cse2, P1.inTransition[1].decreasingFactor) 4/4 (1): $cse2 = min(P2.outTransition[1].decreasingFactor, P3.outTransition[1].decreasingFactor) 5/5 (1): $OMC$CF$sim4[1] = P2.outTransition[1].decreasingFactor 6/6 (2): ($OMC$CF$sim3, $OMC$CF$sim4) = PNlib.Functions.decreasingFactor(1, 1, P2.t_, P2.minMarks, P2.maxMarks, P2.outTransition[1].speedSum, P2.inTransition[1].speedSum, {4.0}, {1.0}, {P2.inTransition[1].prelimSpeed}, {P3.outTransition[1].prelimSpeed}, {1.0}, {2.0}, P2.fireIn and not {false}, P2.fireOut and not {false}) 7/8 (1): $OMC$CF$sim3[1] = P2.inTransition[1].decreasingFactor 8/9 (1): $cse3 = min(P1.outTransition[1].decreasingFactor, P2.inTransition[1].decreasingFactor) 9/10 (1): $OMC$CF$sim6[1] = P1.outTransition[1].decreasingFactor 10/11 (1): $OMC$CF$sim5[1] = P1.inTransition[1].decreasingFactor 11/12 (1): $OMC$CF$sim6[2] = P1.outTransition[2].decreasingFactor 12/13 (1): $cse4 = min(P1.outTransition[2].decreasingFactor, P3.inTransition[1].decreasingFactor) 13/14 (1): T3.instantaneousSpeed = min($cse4 * 2.0, P3.inTransition[1].prelimSpeed) 14/15 (1): P3.outTransition[1].speedSum = if P3.feeding.vec[1] then T3.instantaneousSpeed else 0.0 15/16 (1): $OMC$CF$sim2[1] = P3.outTransition[1].decreasingFactor 16/17 (2): ($OMC$CF$sim1, $OMC$CF$sim2) = PNlib.Functions.decreasingFactor(1, 1, P3.t_, P3.minMarks, P3.maxMarks, P3.outTransition[1].speedSum, P3.inTransition[1].speedSum, {2.0}, {1.0}, {P3.inTransition[1].prelimSpeed}, {P3.outTransition[1].prelimSpeed}, {1.0}, {1.0}, P3.fireIn and not {false}, P3.fireOut and not {false}) 17/19 (1): $OMC$CF$sim1[1] = P3.inTransition[1].decreasingFactor 18/20 (1): P1.firingSumOut.vec1[2] = if P1.emptying.vec[2] then T3.instantaneousSpeed else 0.0 19/21 (1): P1.inTransition[1].speedSum = P1.firingSumOut.vec1[1] + P1.firingSumOut.vec1[2] 20/22 (3): ($OMC$CF$sim5, $OMC$CF$sim6) = PNlib.Functions.decreasingFactor(1, 2, P1.t_, P1.minMarks, P1.maxMarks, P1.outTransition[2].speedSum, P1.inTransition[1].speedSum, {1.0}, {4.0, 2.0}, {P3.outTransition[1].prelimSpeed}, {P2.inTransition[1].prelimSpeed, P3.inTransition[1].prelimSpeed}, {3.0}, {1.0, 1.0}, P1.fireIn and not {false}, P1.fireOut and not {false, false}) 21/25 (1): P3.inTransition[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 1, {1.0}, {1.0}, {P1.outTransition[2].speedSum}, {P3.inTransition[1].speedSum}, 2.0, T3.activation.weaklyInputActiveVec, T3.activation.weaklyOutputActiveVec) 22/26 (1): P2.inTransition[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 1, {1.0}, {1.0}, {P1.outTransition[2].speedSum}, {P2.inTransition[1].speedSum}, 4.0, T2.activation.weaklyInputActiveVec, T2.activation.weaklyOutputActiveVec) 23/27 (1): T2.instantaneousSpeed = min($cse3 * 4.0, P2.inTransition[1].prelimSpeed) 24/28 (1): P1.outTransition[2].speedSum = if P1.feeding.vec[1] then 3.0 * T1.instantaneousSpeed else 0.0 25/29 (1): P3.inTransition[1].speedSum = if P3.emptying.vec[1] then T1.instantaneousSpeed else 0.0 26/30 (1): P2.inTransition[1].speedSum = if P2.emptying.vec[1] then 2.0 * T1.instantaneousSpeed else 0.0 27/31 (1): P2.outTransition[1].speedSum = if P2.feeding.vec[1] then T2.instantaneousSpeed else 0.0 28/32 (1): P1.firingSumOut.vec1[1] = if P1.emptying.vec[1] then T2.instantaneousSpeed else 0.0 Variables: 1: P1.firingSumOut.vec1[1]:VARIABLE(protected = true ) type: Real [2] 2: T2.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 3: P2.inTransition[1].speedSum:VARIABLE(flow=false ) "Output speed of a continuous place" type: Real [1] 4: P3.inTransition[1].speedSum:VARIABLE(flow=false ) "Output speed of a continuous place" type: Real [1] 5: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 6: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 7: P2.inTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous input transitions" type: Real [1] 8: P1.outTransition[2].speedSum:VARIABLE(flow=false ) "Input speed of a continuous place" type: Real [2] 9: P3.inTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous input transitions" type: Real [1] 10: P1.inTransition[1].speedSum:VARIABLE(flow=false ) "Output speed of a continuous place" type: Real [1] 11: P1.firingSumOut.vec1[2]:VARIABLE(protected = true ) type: Real [2] 12: P3.inTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [1] 13: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 14: P3.outTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [1] 15: $OMC$CF$sim2[1]:VARIABLE() type: Real [1] 16: P3.outTransition[1].speedSum:VARIABLE(flow=false ) "Input speed of a continuous place" type: Real [1] 17: T3.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 18: $cse4:VARIABLE(protected = true ) type: Real unreplaceable 19: P1.outTransition[2].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [2] 20: $OMC$CF$sim6[2]:VARIABLE() type: Real [2] 21: P1.inTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [1] 22: $OMC$CF$sim5[1]:VARIABLE() type: Real [1] 23: $OMC$CF$sim6[1]:VARIABLE() type: Real [2] 24: P1.outTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [2] 25: P2.inTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [1] 26: $OMC$CF$sim3[1]:VARIABLE() type: Real [1] 27: P2.outTransition[1].speedSum:VARIABLE(flow=false ) "Input speed of a continuous place" type: Real [1] 28: $OMC$CF$sim4[1]:VARIABLE() type: Real [1] 29: P2.outTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [1] 30: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 32: P3.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" type: Real [1] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003383/0.5312, allocations: 3.438 MB / 0.6145 GB, free: 11.41 MB / 462.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.ConTest.ConflictLoop could not be translated