Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.Models.BicoloredPlaces.Aquarium.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.Models.BicoloredPlaces.Aquarium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.color.1.|P1.color.2.|P1.t|P2.color.1.|P2.color.2.|P2.t|ratio|t1.fire|t1.instantaneousSpeed|t1.maximumSpeed|t2.fire|t2.instantaneousSpeed|t2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.Models.BicoloredPlaces.Aquarium") translateModel(PNlib.Examples.Models.BicoloredPlaces.Aquarium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.color.1.|P1.color.2.|P1.t|P2.color.1.|P2.color.2.|P2.t|ratio|t1.fire|t1.instantaneousSpeed|t1.maximumSpeed|t2.fire|t2.instantaneousSpeed|t2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.Models.BicoloredPlaces.Aquarium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001701/0.001701, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.38/1.38, 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.07583/0.07583, allocations: 16.74 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.89 kB / 427 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.1006, allocations: 53.48 MB / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.Models.BicoloredPlaces.Aquarium): time 0.006907/0.1075, allocations: 5.234 MB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007929/0.1155, allocations: 4.309 MB / 490 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.117, allocations: 31.88 kB / 490 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.1183, allocations: 0.5546 MB / 490.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.12, allocations: 0.4926 MB / 491.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.1245, allocations: 2.09 MB / 493.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007249/0.1317, allocations: 6.404 MB / 499.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.134, allocations: 2.066 MB / 0.4899 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.1369, allocations: 2.493 MB / 0.4923 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.1392, allocations: 2.023 MB / 0.4943 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008475/0.1401, allocations: 0.6133 MB / 0.4949 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1415, allocations: 0.9994 MB / 0.4959 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008894/0.1424, allocations: 1.036 MB / 0.4969 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.1445, allocations: 2.284 MB / 0.4991 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2261/0.3706, allocations: 6.773 MB / 0.5057 GB, free: 16.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3707, allocations: 0 / 0.5057 GB, free: 16.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3707, allocations: 0.625 kB / 0.5057 GB, free: 16.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001936/0.3709, allocations: 0 / 0.5057 GB, free: 16.76 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: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.009628/0.3805, allocations: 5.152 MB / 0.5108 GB, free: 14.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3806, allocations: 11.86 kB / 0.5108 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003441/0.384, allocations: 0.7617 MB / 0.5115 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.387, allocations: 1.861 MB / 0.5133 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00056/0.3876, allocations: 0.8311 MB / 0.5142 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000679/0.3882, allocations: 457 kB / 0.5146 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.4024, allocations: 7.887 MB / 0.5223 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.04e-05/0.4025, allocations: 13.66 kB / 0.5223 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004768/0.403, allocations: 209.2 kB / 0.5225 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005102/0.4035, allocations: 390.8 kB / 0.5229 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009716/0.4132, allocations: 5.885 MB / 0.5286 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/0.4298, allocations: 15.23 MB / 0.5435 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007022/0.4369, allocations: 6.384 MB / 0.5497 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006088/0.443, allocations: 6.018 MB / 0.5556 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00561/0.4486, allocations: 8.668 MB / 0.5641 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005759/0.4544, allocations: 3.787 MB / 0.5678 GB, free: 5.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=299): time 4.689e-06/0.4544, allocations: 0 / 0.5678 GB, free: 5.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=299): time 0.02028/0.4747, allocations: 11.96 MB / 0.5795 GB, free: 9.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00127/0.476, allocations: 2.134 MB / 0.5815 GB, free: 6.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.4785, allocations: 1.462 MB / 0.583 GB, free: 5.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000429/0.479, allocations: 197.6 kB / 0.5832 GB, free: 4.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.4803, allocations: 1.257 MB / 0.5844 GB, free: 3.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00098/0.4813, allocations: 0.7778 MB / 0.5851 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/0.483, allocations: 0.969 MB / 0.5861 GB, free: 1.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4831, allocations: 301.1 kB / 0.5864 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/0.4864, allocations: 1.998 MB / 0.5883 GB, free: 15.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004282/0.4907, allocations: 3.405 MB / 0.5916 GB, free: 11.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008107/0.4988, allocations: 7.533 MB / 0.599 GB, free: 3.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.402e-05/0.4988, allocations: 15.98 kB / 0.599 GB, free: 3.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01054/0.5094, allocations: 7.481 MB / 0.6063 GB, free: 11.72 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008354/0.5103, allocations: 1.39 MB / 0.6077 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005307/0.5156, allocations: 3.972 MB / 0.6116 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/0.5185, allocations: 0.8691 MB / 0.6124 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.5199, allocations: 460.9 kB / 0.6128 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.5213, allocations: 1.239 MB / 0.6141 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.5236, allocations: 483.3 kB / 0.6145 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005437/0.5242, allocations: 228 kB / 0.6147 GB, free: 2.762 MB / 462.1 MB Warning: Assuming fixed start value for the following 72 variables: P2.place2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.place2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.place2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.place2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.place2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.place2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.place2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.place2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.place1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.place1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.place1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.place1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.place1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.place1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.place1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.place1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.place2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.place2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.place2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.place2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.place2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.place2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.place2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.place2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.place2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.place2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.place2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.place2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.place2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.place2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.place2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.place2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.place1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.place1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.place1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.place1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.place1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.place1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.place1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.place1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.place1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.place1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.place1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.place1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.place1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.place1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.place1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.place1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.place2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.place2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.place1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.place1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.place2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.place2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.place1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.place1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.place2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.place2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.place2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.place2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.place2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.place2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.place2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.place2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.place1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.place1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.place1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.place1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.place1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.place1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.place1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.place1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 184 * Number of states: 0 () * Number of discrete variables: 462 ($PRE.P2.place2.enableIn.posTE,P2.place2.enableIn.posTE,$PRE.P2.place2.enableIn.k,P2.place2.enableIn.k,$PRE.P2.place2.enableIn.endWhile,P2.place2.enableIn.endWhile,P2.place2.enableIn.randNum,$PRE.P2.place2.enableIn.randNum,P2.place2.enableIn.state128[4],$PRE.P2.place2.enableIn.state128[4],P2.place2.enableIn.state128[3],$PRE.P2.place2.enableIn.state128[3],P2.place2.enableIn.state128[2],$PRE.P2.place2.enableIn.state128[2],P2.place2.enableIn.state128[1],$PRE.P2.place2.enableIn.state128[1],P2.place2.enableIn.cumEnablingProb[1],$PRE.P2.place2.enableIn.cumEnablingProb[1],$PRE.P2.place2.enableIn.sumEnablingProbTAin,P2.place2.enableIn.sumEnablingProbTAin,$PRE.P2.place2.enableIn.nTAin,P2.place2.enableIn.nTAin,$PRE.P2.place2.enableIn.nremTAin,P2.place2.enableIn.nremTAin,P2.place2.enableIn.remTAin[1],$PRE.P2.place2.enableIn.remTAin[1],$PRE.P2.place2.enableIn.Index,P2.place2.enableIn.Index,$PRE.P2.place2.enableIn.arcWeightSum,P2.place2.enableIn.arcWeightSum,P2.place2.enableIn.disTAin[1],$PRE.P2.place2.enableIn.disTAin[1],$PRE.P2.place1.enableIn.posTE,P2.place1.enableIn.posTE,$PRE.P2.place1.enableIn.k,P2.place1.enableIn.k,$PRE.P2.place1.enableIn.endWhile,P2.place1.enableIn.endWhile,P2.place1.enableIn.randNum,$PRE.P2.place1.enableIn.randNum,P2.place1.enableIn.state128[4],$PRE.P2.place1.enableIn.state128[4],P2.place1.enableIn.state128[3],$PRE.P2.place1.enableIn.state128[3],P2.place1.enableIn.state128[2],$PRE.P2.place1.enableIn.state128[2],P2.place1.enableIn.state128[1],$PRE.P2.place1.enableIn.state128[1],P2.place1.enableIn.cumEnablingProb[1],$PRE.P2.place1.enableIn.cumEnablingProb[1],$PRE.P2.place1.enableIn.sumEnablingProbTAin,P2.place1.enableIn.sumEnablingProbTAin,$PRE.P2.place1.enableIn.nTAin,P2.place1.enableIn.nTAin,$PRE.P2.place1.enableIn.nremTAin,P2.place1.enableIn.nremTAin,P2.place1.enableIn.remTAin[1],$PRE.P2.place1.enableIn.remTAin[1],$PRE.P2.place1.enableIn.Index,P2.place1.enableIn.Index,$PRE.P2.place1.enableIn.arcWeightSum,P2.place1.enableIn.arcWeightSum,P2.place1.enableIn.disTAin[1],$PRE.P2.place1.enableIn.disTAin[1],$PRE.P1.place2.enableOut.posTE,P1.place2.enableOut.posTE,$PRE.P1.place2.enableOut.k,P1.place2.enableOut.k,$PRE.P1.place2.enableOut.endWhile,P1.place2.enableOut.endWhile,P1.place2.enableOut.randNum,$PRE.P1.place2.enableOut.randNum,P1.place2.enableOut.state128[4],$PRE.P1.place2.enableOut.state128[4],P1.place2.enableOut.state128[3],$PRE.P1.place2.enableOut.state128[3],P1.place2.enableOut.state128[2],$PRE.P1.place2.enableOut.state128[2],P1.place2.enableOut.state128[1],$PRE.P1.place2.enableOut.state128[1],P1.place2.enableOut.cumEnablingProb[1],$PRE.P1.place2.enableOut.cumEnablingProb[1],$PRE.P1.place2.enableOut.sumEnablingProbTAout,P1.place2.enableOut.sumEnablingProbTAout,$PRE.P1.place2.enableOut.nTAout,P1.place2.enableOut.nTAout,$PRE.P1.place2.enableOut.nremTAout,P1.place2.enableOut.nremTAout,P1.place2.enableOut.remTAout[1],$PRE.P1.place2.enableOut.remTAout[1],$PRE.P1.place2.enableOut.Index,P1.place2.enableOut.Index,$PRE.P1.place2.enableOut.arcWeightSum,P1.place2.enableOut.arcWeightSum,P1.place2.enableOut.disTAout[1],$PRE.P1.place2.enableOut.disTAout[1],$PRE.P1.place2.enableIn.posTE,P1.place2.enableIn.posTE,$PRE.P1.place2.enableIn.k,P1.place2.enableIn.k,$PRE.P1.place2.enableIn.endWhile,P1.place2.enableIn.endWhile,P1.place2.enableIn.randNum,$PRE.P1.place2.enableIn.randNum,P1.place2.enableIn.state128[4],$PRE.P1.place2.enableIn.state128[4],P1.place2.enableIn.state128[3],$PRE.P1.place2.enableIn.state128[3],P1.place2.enableIn.state128[2],$PRE.P1.place2.enableIn.state128[2],P1.place2.enableIn.state128[1],$PRE.P1.place2.enableIn.state128[1],P1.place2.enableIn.cumEnablingProb[1],$PRE.P1.place2.enableIn.cumEnablingProb[1],$PRE.P1.place2.enableIn.sumEnablingProbTAin,P1.place2.enableIn.sumEnablingProbTAin,$PRE.P1.place2.enableIn.nTAin,P1.place2.enableIn.nTAin,$PRE.P1.place2.enableIn.nremTAin,P1.place2.enableIn.nremTAin,P1.place2.enableIn.remTAin[1],$PRE.P1.place2.enableIn.remTAin[1],$PRE.P1.place2.enableIn.Index,P1.place2.enableIn.Index,$PRE.P1.place2.enableIn.arcWeightSum,P1.place2.enableIn.arcWeightSum,P1.place2.enableIn.disTAin[1],$PRE.P1.place2.enableIn.disTAin[1],$PRE.P1.place1.enableOut.posTE,P1.place1.enableOut.posTE,$PRE.P1.place1.enableOut.k,P1.place1.enableOut.k,$PRE.P1.place1.enableOut.endWhile,P1.place1.enableOut.endWhile,P1.place1.enableOut.randNum,$PRE.P1.place1.enableOut.randNum,P1.place1.enableOut.state128[4],$PRE.P1.place1.enableOut.state128[4],P1.place1.enableOut.state128[3],$PRE.P1.place1.enableOut.state128[3],P1.place1.enableOut.state128[2],$PRE.P1.place1.enableOut.state128[2],P1.place1.enableOut.state128[1],$PRE.P1.place1.enableOut.state128[1],P1.place1.enableOut.cumEnablingProb[1],$PRE.P1.place1.enableOut.cumEnablingProb[1],$PRE.P1.place1.enableOut.sumEnablingProbTAout,P1.place1.enableOut.sumEnablingProbTAout,$PRE.P1.place1.enableOut.nTAout,P1.place1.enableOut.nTAout,$PRE.P1.place1.enableOut.nremTAout,P1.place1.enableOut.nremTAout,P1.place1.enableOut.remTAout[1],$PRE.P1.place1.enableOut.remTAout[1],$PRE.P1.place1.enableOut.Index,P1.place1.enableOut.Index,$PRE.P1.place1.enableOut.arcWeightSum,P1.place1.enableOut.arcWeightSum,P1.place1.enableOut.disTAout[1],$PRE.P1.place1.enableOut.disTAout[1],$PRE.P1.place1.enableIn.posTE,P1.place1.enableIn.posTE,$PRE.P1.place1.enableIn.k,P1.place1.enableIn.k,$PRE.P1.place1.enableIn.endWhile,P1.place1.enableIn.endWhile,P1.place1.enableIn.randNum,$PRE.P1.place1.enableIn.randNum,P1.place1.enableIn.state128[4],$PRE.P1.place1.enableIn.state128[4],P1.place1.enableIn.state128[3],$PRE.P1.place1.enableIn.state128[3],P1.place1.enableIn.state128[2],$PRE.P1.place1.enableIn.state128[2],P1.place1.enableIn.state128[1],$PRE.P1.place1.enableIn.state128[1],P1.place1.enableIn.cumEnablingProb[1],$PRE.P1.place1.enableIn.cumEnablingProb[1],$PRE.P1.place1.enableIn.sumEnablingProbTAin,P1.place1.enableIn.sumEnablingProbTAin,$PRE.P1.place1.enableIn.nTAin,P1.place1.enableIn.nTAin,$PRE.P1.place1.enableIn.nremTAin,P1.place1.enableIn.nremTAin,P1.place1.enableIn.remTAin[1],$PRE.P1.place1.enableIn.remTAin[1],$PRE.P1.place1.enableIn.Index,P1.place1.enableIn.Index,$PRE.P1.place1.enableIn.arcWeightSum,P1.place1.enableIn.arcWeightSum,P1.place1.enableIn.disTAin[1],$PRE.P1.place1.enableIn.disTAin[1],$PRE.P1.place2.disMarksInOut,P1.outTransition[1,2].tokenInOut,$PRE.P1.place1.disMarksInOut,P1.outTransition[1,1].tokenInOut,$PRE.P2.place2.disMarksIn.anytrue,$PRE.P2.place2.disMarksOut.anytrue,P2.place2.disMarksInOut,$whenCondition12,$PRE.P2.place1.disMarksIn.anytrue,$PRE.P2.place1.disMarksOut.anytrue,P2.place1.disMarksInOut,$whenCondition11,$PRE.P1.place2.disMarksIn.anytrue,$PRE.P1.place2.disMarksOut.anytrue,P1.place2.disMarksInOut,$whenCondition10,$PRE.P1.place1.disMarksIn.anytrue,$PRE.P1.place1.disMarksOut.anytrue,P1.place1.disMarksInOut,$whenCondition9,P2.place2.disMarksOut.numtrue,P2.place2.disMarksOut.anytrue,P2.place1.disMarksOut.numtrue,P2.place1.disMarksOut.anytrue,$PRE.P2.place2.enableOut.Index,P2.place2.enableOut.Index,$PRE.P2.place2.enableOut.endWhile,P2.place2.enableOut.endWhile,$PRE.P2.place2.enableOut.sumEnablingProbTAout,P2.place2.enableOut.sumEnablingProbTAout,P2.place2.enableOut.randNum,$PRE.P2.place2.enableOut.randNum,P2.place2.enableOut.state128[4],$PRE.P2.place2.enableOut.state128[4],P2.place2.enableOut.state128[3],$PRE.P2.place2.enableOut.state128[3],P2.place2.enableOut.state128[2],$PRE.P2.place2.enableOut.state128[2],P2.place2.enableOut.state128[1],$PRE.P2.place2.enableOut.state128[1],$PRE.P2.place2.enableOut.posTE,P2.place2.enableOut.posTE,$PRE.P2.place2.enableOut.k,P2.place2.enableOut.k,$PRE.P2.place2.enableOut.nTAout,P2.place2.enableOut.nTAout,$PRE.P2.place2.enableOut.nremTAout,P2.place2.enableOut.nremTAout,$PRE.P2.place2.enableOut.arcWeightSum,P2.place2.enableOut.arcWeightSum,P2.place2.delayPassedOut.numtrue,P2.place2.delayPassedOut.anytrue,$whenCondition2,$PRE.P2.place1.enableOut.Index,P2.place1.enableOut.Index,$PRE.P2.place1.enableOut.endWhile,P2.place1.enableOut.endWhile,$PRE.P2.place1.enableOut.sumEnablingProbTAout,P2.place1.enableOut.sumEnablingProbTAout,P2.place1.enableOut.randNum,$PRE.P2.place1.enableOut.randNum,P2.place1.enableOut.state128[4],$PRE.P2.place1.enableOut.state128[4],P2.place1.enableOut.state128[3],$PRE.P2.place1.enableOut.state128[3],P2.place1.enableOut.state128[2],$PRE.P2.place1.enableOut.state128[2],P2.place1.enableOut.state128[1],$PRE.P2.place1.enableOut.state128[1],$PRE.P2.place1.enableOut.posTE,P2.place1.enableOut.posTE,$PRE.P2.place1.enableOut.k,P2.place1.enableOut.k,$PRE.P2.place1.enableOut.nTAout,P2.place1.enableOut.nTAout,$PRE.P2.place1.enableOut.nremTAout,P2.place1.enableOut.nremTAout,$PRE.P2.place1.enableOut.arcWeightSum,P2.place1.enableOut.arcWeightSum,P2.place1.delayPassedOut.numtrue,P2.place1.delayPassedOut.anytrue,$whenCondition1,t2.transition_.firingCon,t2.transition_.outPlaces[2].disTransition,t2.transition_.outPlaces[2].enabledByInPlaces,P2.place2.inTransition[1].disPlace,P2.place2.inTransition[1].maxTokensint,P2.place2.inTransition[1].tint,t2.transition_.outPlaces[1].disTransition,t2.transition_.outPlaces[1].enabledByInPlaces,P2.place1.inTransition[1].disPlace,P2.place1.inTransition[1].maxTokensint,P2.place1.inTransition[1].tint,t2.transition_.inPlaces[2].disTransition,P1.place2.outTransition[1].normalArc,P1.place2.outTransition[1].testValueint,P1.place2.outTransition[1].arcType,P1.place2.outTransition[1].disPlace,P1.place2.outTransition[1].minTokensint,P1.place2.outTransition[1].tint,t2.transition_.inPlaces[1].disTransition,P1.place1.outTransition[1].normalArc,P1.place1.outTransition[1].testValueint,P1.place1.outTransition[1].arcType,P1.place1.outTransition[1].disPlace,P1.place1.outTransition[1].minTokensint,P1.place1.outTransition[1].tint,t1.transition_.firingCon,t1.transition_.outPlaces[2].disTransition,t1.transition_.outPlaces[2].enabledByInPlaces,P1.place2.inTransition[1].disPlace,P1.place2.inTransition[1].maxTokensint,P1.place2.inTransition[1].tint,t1.transition_.outPlaces[1].disTransition,t1.transition_.outPlaces[1].enabledByInPlaces,P1.place1.inTransition[1].disPlace,P1.place1.inTransition[1].maxTokensint,P1.place1.inTransition[1].tint,P2.place2.reStart,P2.place1.reStart,P1.place2.reStart,P1.place1.reStart,P1.place1.disMarksOut.vec[1],P1.place1.disMarksOut.numtrue,P1.place1.disMarksOut.anytrue,P1.place1.disMarksIn.vec[1],P1.place1.disMarksIn.numtrue,P1.place1.disMarksIn.anytrue,P1.place2.disMarksOut.vec[1],P1.place2.disMarksOut.numtrue,P1.place2.disMarksOut.anytrue,P1.place2.disMarksIn.vec[1],P1.place2.disMarksIn.numtrue,P1.place2.disMarksIn.anytrue,P2.place1.disMarksIn.vec[1],P2.place1.disMarksIn.numtrue,P2.place1.disMarksIn.anytrue,P2.place2.disMarksIn.vec[1],P2.place2.disMarksIn.numtrue,P2.place2.disMarksIn.anytrue,t1.transition_.fire_,P1.place1.delayPassedOut.vec[1],P1.place1.delayPassedIn.vec[1],P1.place2.delayPassedOut.vec[1],P1.place2.delayPassedIn.vec[1],P2.place1.delayPassedIn.vec[1],P2.place2.delayPassedIn.vec[1],t1.transition_.activation.arcWeightIntOut[1],t1.transition_.activation.arcWeightIntOut[2],t2.transition_.activation.arcWeightIntIn[1],t2.transition_.activation.arcWeightIntIn[2],t2.transition_.activation.arcWeightIntOut[1],t2.transition_.activation.arcWeightIntOut[2],t2.transition_.activation.disPlaceOut[2],t2.transition_.activation.maxTokensInt[2],t2.transition_.activation.tIntOut[2],t2.transition_.activation.disPlaceOut[1],t2.transition_.activation.maxTokensInt[1],t2.transition_.activation.tIntOut[1],t2.transition_.activation.normalArc[2],t2.transition_.activation.testValueInt[2],t2.transition_.activation.arcType[2],t2.transition_.activation.disPlaceIn[2],t2.transition_.activation.minTokensInt[2],t2.transition_.activation.tIntIn[2],t2.transition_.activation.normalArc[1],t2.transition_.activation.testValueInt[1],t2.transition_.activation.arcType[1],t2.transition_.activation.disPlaceIn[1],t2.transition_.activation.minTokensInt[1],t2.transition_.activation.tIntIn[1],t1.transition_.activation.disPlaceOut[2],t1.transition_.activation.maxTokensInt[2],t1.transition_.activation.tIntOut[2],t1.transition_.activation.disPlaceOut[1],t1.transition_.activation.maxTokensInt[1],t1.transition_.activation.tIntOut[1],t2.transition_.fire_,t2.transition_.activation.NoTokens,t2.transition_.activation.weaklyOutputActiveVec[2],t2.transition_.activation.weaklyOutputActiveVec[1],t2.transition_.activation.weaklyInputActiveVec[2],t2.transition_.activation.weaklyInputActiveVec[1],t2.transition_.activation.active,t2.transition_.activation.emptied[2],t2.transition_.activation.emptied[1],t2.transition_.activation.fed[2],t2.transition_.activation.fed[1],t1.transition_.activation.NoTokens,t1.transition_.activation.weaklyOutputActiveVec[2],t1.transition_.activation.weaklyOutputActiveVec[1],t1.transition_.activation.active,t1.transition_.activation.emptied[2],t1.transition_.activation.emptied[1],P2.place2.emptying.numtrue,P2.place2.emptying.anytrue,P2.place2.feeding.numtrue,P2.place2.feeding.anytrue,P2.place2.feeding.vec[1],P2.place2.delayPassedIn.numtrue,P2.place2.delayPassedIn.anytrue,P2.place2.enableIn.TEin[1],$PRE.P2.place2.enableIn.TEin[1],P2.place2.enableIn.TEin_[1],P2.place2.enableIn.active[1],P2.place2.fireIn[1],$PRE.P2.place2.fireIn[1],P2.place1.emptying.numtrue,P2.place1.emptying.anytrue,P2.place1.feeding.numtrue,P2.place1.feeding.anytrue,P2.place1.feeding.vec[1],P2.place1.delayPassedIn.numtrue,P2.place1.delayPassedIn.anytrue,P2.place1.enableIn.TEin[1],$PRE.P2.place1.enableIn.TEin[1],P2.place1.enableIn.TEin_[1],P2.place1.enableIn.active[1],P2.place1.fireIn[1],$PRE.P2.place1.fireIn[1],P1.place2.emptying.numtrue,P1.place2.emptying.anytrue,P1.place2.emptying.vec[1],P1.place2.feeding.numtrue,P1.place2.feeding.anytrue,P1.place2.feeding.vec[1],P1.place2.delayPassedIn.numtrue,P1.place2.delayPassedIn.anytrue,P1.place2.delayPassedOut.numtrue,P1.place2.delayPassedOut.anytrue,P1.place2.enableOut.TEout[1],$PRE.P1.place2.enableOut.TEout[1],P1.place2.enableOut.TEout_[1],P1.place2.enableOut.TAout[1],P1.place2.enableIn.TEin[1],$PRE.P1.place2.enableIn.TEin[1],P1.place2.enableIn.TEin_[1],P1.place2.enableIn.active[1],P1.place2.fireOut[1],$PRE.P1.place2.fireOut[1],P1.place2.fireIn[1],$PRE.P1.place2.fireIn[1],P1.place1.emptying.numtrue,P1.place1.emptying.anytrue,P1.place1.emptying.vec[1],P1.place1.feeding.numtrue,P1.place1.feeding.anytrue,P1.place1.feeding.vec[1],P1.place1.delayPassedIn.numtrue,P1.place1.delayPassedIn.anytrue,P1.place1.delayPassedOut.numtrue,P1.place1.delayPassedOut.anytrue,P1.place1.enableOut.TEout[1],$PRE.P1.place1.enableOut.TEout[1],P1.place1.enableOut.TEout_[1],P1.place1.enableOut.TAout[1],P1.place1.enableIn.TEin[1],$PRE.P1.place1.enableIn.TEin[1],P1.place1.enableIn.TEin_[1],P1.place1.enableIn.active[1],P1.place1.fireOut[1],$PRE.P1.place1.fireOut[1],P1.place1.fireIn[1],$PRE.P1.place1.fireIn[1],$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (477): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 42 * 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 {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.004715/0.5289, allocations: 3.326 MB / 0.618 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/0.5301, allocations: 289.7 kB / 0.6183 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.5443, allocations: 9.619 MB / 0.6277 GB, free: 5.176 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.5443, allocations: 7.969 kB / 0.6277 GB, free: 5.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01259/0.5569, allocations: 9.306 MB / 0.6368 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.5574, allocations: 282.2 kB / 0.637 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009084/0.5583, allocations: 363.9 kB / 0.6374 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.5601, allocations: 267.8 kB / 0.6376 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/0.5611, allocations: 0.6551 MB / 0.6383 GB, free: 10.07 MB / 494.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 (2): ($OMC$CF$sim5, $OMC$CF$sim6) = PNlib.Functions.decreasingFactor(1, 1, P1.place1.t_, P1.place1.minMarks, P1.place1.maxMarks, 0.0, t1.outPlaces[1,1].speedSum, {1.0}, {1.0}, {t1.outPlaces[1,2].prelimSpeed}, {t2.outPlaces[1,2].prelimSpeed}, {0.0}, {P2.place1.enableIn.arcWeight[1]}, P1.place1.fireIn and not {false}, P1.place1.fireOut and not {false}) Variables: 1: t1.outPlaces[1,1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1,2] 2: t1.outPlaces[1,2].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1,2] [/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): ($OMC$CF$sim1, _) = PNlib.Functions.decreasingFactor(1, 0, P2.place2.t_, P2.place2.minMarks, P2.place2.maxMarks, P2.place2.conMarkChange, 0.0, {1.0}, {}, {t2.outPlaces[1,2].prelimSpeed}, {}, {P1.place2.enableOut.arcWeight[1]}, {}, P2.place2.fireIn and not {false}, {} and not {}) 2/2 (1): $OMC$CF$sim1[1] = t2.outPlaces[1,2].decreasingFactor 3/3 (1): $cse5 = min(t2.outPlaces[1,1].decreasingFactor, t2.outPlaces[1,2].decreasingFactor) 4/4 (1): $cse3 = min($cse4, $cse5) 5/5 (1): t2.instantaneousSpeed = min($cse3, t2.outPlaces[1,2].prelimSpeed) 6/6 (1): P2.place2.conMarkChange = if P2.place2.feeding.vec[1] then P1.place2.enableOut.arcWeight[1] * t2.instantaneousSpeed else 0.0 7/7 (1): P2.place1.conMarkChange = if P2.place1.feeding.vec[1] then P2.place1.enableIn.arcWeight[1] * t2.instantaneousSpeed else 0.0 8/8 (1): ($OMC$CF$sim2, _) = PNlib.Functions.decreasingFactor(1, 0, P2.place1.t_, P2.place1.minMarks, P2.place1.maxMarks, P2.place1.conMarkChange, 0.0, {1.0}, {}, {t2.outPlaces[1,2].prelimSpeed}, {}, {P2.place1.enableIn.arcWeight[1]}, {}, P2.place1.fireIn and not {false}, {} and not {}) 9/9 (1): $OMC$CF$sim2[1] = t2.outPlaces[1,1].decreasingFactor 10/10 (1): t1.outPlaces[1,2].speedSum = if P1.place2.emptying.vec[1] then P1.place2.enableOut.arcWeight[1] * t2.instantaneousSpeed else 0.0 11/11 (1): $OMC$CF$sim4[1] = t2.inPlaces[1,2].decreasingFactor 12/12 (1): $cse4 = min(t2.inPlaces[1,1].decreasingFactor, t2.inPlaces[1,2].decreasingFactor) 13/13 (2): ($OMC$CF$sim3, $OMC$CF$sim4) = PNlib.Functions.decreasingFactor(1, 1, P1.place2.t_, P1.place2.minMarks, P1.place2.maxMarks, t2.inPlaces[1,2].speedSum, t1.outPlaces[1,2].speedSum, {1.0}, {1.0}, {t1.outPlaces[1,2].prelimSpeed}, {t2.outPlaces[1,2].prelimSpeed}, {1.0}, {P1.place2.enableOut.arcWeight[1]}, P1.place2.fireIn and not {false}, P1.place2.fireOut and not {false}) 14/15 (1): $OMC$CF$sim3[1] = t1.outPlaces[1,2].decreasingFactor 15/16 (1): $cse2 = min(t1.outPlaces[1,1].decreasingFactor, t1.outPlaces[1,2].decreasingFactor) 16/17 (1): $cse1 = min(8.777798510069901e304, $cse2) 17/18 (1): t1.instantaneousSpeed = min($cse1, t1.outPlaces[1,2].prelimSpeed) 18/19 (1): t2.inPlaces[1,2].speedSum = if P1.place2.feeding.vec[1] then t1.instantaneousSpeed else 0.0 19/20 (1): t2.outPlaces[1,2].prelimSpeed = PNlib.Functions.preliminarySpeed(2, 2, {P2.place1.enableIn.arcWeight[1], P1.place2.enableOut.arcWeight[1]}, {P2.place1.enableIn.arcWeight[1], P1.place2.enableOut.arcWeight[1]}, {0.0, t2.inPlaces[1,2].speedSum}, {0.0, 0.0}, 1.0, t2.transition_.activation.weaklyInputActiveVec, t2.transition_.activation.weaklyOutputActiveVec) 20/21 (1): $OMC$CF$sim6[1] = t2.inPlaces[1,1].decreasingFactor 21/22 (2): ($OMC$CF$sim5, $OMC$CF$sim6) = PNlib.Functions.decreasingFactor(1, 1, P1.place1.t_, P1.place1.minMarks, P1.place1.maxMarks, 0.0, t1.outPlaces[1,1].speedSum, {1.0}, {1.0}, {t1.outPlaces[1,2].prelimSpeed}, {t2.outPlaces[1,2].prelimSpeed}, {0.0}, {P2.place1.enableIn.arcWeight[1]}, P1.place1.fireIn and not {false}, P1.place1.fireOut and not {false}) 22/24 (1): $OMC$CF$sim5[1] = t1.outPlaces[1,1].decreasingFactor 23/25 (1): t1.outPlaces[1,2].prelimSpeed = PNlib.Functions.preliminarySpeed(0, 2, {}, {0.0, 1.0}, {}, {t1.outPlaces[1,1].speedSum, t1.outPlaces[1,2].speedSum}, 1.0, {}, t1.transition_.activation.weaklyOutputActiveVec) 24/26 (1): t1.outPlaces[1,1].speedSum = if P1.place1.emptying.vec[1] then P2.place1.enableIn.arcWeight[1] * t2.instantaneousSpeed else 0.0 Variables: 1: t1.outPlaces[1,1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1,2] 2: t1.outPlaces[1,2].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1,2] 3: t1.outPlaces[1,1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1,2] 4: $OMC$CF$sim5[1]:VARIABLE() type: Real [1] 5: t2.inPlaces[1,1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1,2] 6: $OMC$CF$sim6[1]:VARIABLE() type: Real [1] 7: t2.outPlaces[1,2].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1,2] 8: t2.inPlaces[1,2].speedSum:VARIABLE(flow=false ) "Input speeds of continuous input places" type: Real [1,2] 9: t1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 10: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 12: t1.outPlaces[1,2].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1,2] 13: $OMC$CF$sim3[1]:VARIABLE() type: Real [1] 14: $cse4:VARIABLE(protected = true ) type: Real unreplaceable 15: t2.inPlaces[1,2].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1,2] 16: $OMC$CF$sim4[1]:VARIABLE() type: Real [1] 17: t1.outPlaces[1,2].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1,2] 18: t2.outPlaces[1,1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1,2] 19: $OMC$CF$sim2[1]:VARIABLE() type: Real [1] 20: P2.place1.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 21: P2.place2.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 22: t2.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 23: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse5:VARIABLE(protected = true ) type: Real unreplaceable 25: t2.outPlaces[1,2].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1,2] 26: $OMC$CF$sim1[1]:VARIABLE() 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.003798/0.5649, allocations: 3.736 MB / 0.6419 GB, free: 5.84 MB / 494.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.Models.BicoloredPlaces.Aquarium could not be translated