Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.Ttest.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.DisTest.Ttest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.Ttest") translateModel(PNlib.Examples.DisTest.Ttest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.Ttest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 105.6 kB / 16.41 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.001735/0.001735, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07299/0.07299, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 71.83 kB / 427 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1358, allocations: 53.47 MB / 480.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.Ttest): time 0.008992/0.1449, allocations: 4.746 MB / 485.2 MB, free: 188 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.158, allocations: 4.187 MB / 489.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.1598, allocations: 31.88 kB / 489.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.1619, allocations: 440.4 kB / 489.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.1645, allocations: 464.1 kB / 490.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008376/0.1729, allocations: 2.176 MB / 492.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.1848, allocations: 5.851 MB / 498.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.1872, allocations: 0.9085 MB / 499.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005307/0.1925, allocations: 2.221 MB / 0.4897 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00387/0.1964, allocations: 1.63 MB / 0.4913 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001738/0.1982, allocations: 447.9 kB / 0.4917 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003567/0.2018, allocations: 1.124 MB / 0.4928 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.2032, allocations: 0.6967 MB / 0.4935 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003712/0.207, allocations: 1.887 MB / 0.4954 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00901/0.216, allocations: 4.854 MB / 0.5001 GB, free: 5.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.2161, allocations: 7.938 kB / 0.5001 GB, free: 5.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2161, allocations: 0 / 0.5001 GB, free: 5.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001263/0.2162, allocations: 0 / 0.5001 GB, free: 5.18 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: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01233/0.2286, allocations: 4.572 MB / 0.5046 GB, free: 288 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.2286, allocations: 15.89 kB / 0.5046 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2982/0.5269, allocations: 433.8 kB / 0.505 GB, free: 32.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/0.5323, allocations: 1.417 MB / 0.5064 GB, free: 32.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000828/0.5331, allocations: 470.8 kB / 0.5068 GB, free: 32.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001832/0.535, allocations: 398.5 kB / 0.5072 GB, free: 32.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.5547, allocations: 6.879 MB / 0.5139 GB, free: 29.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.981e-05/0.5549, allocations: 18.94 kB / 0.514 GB, free: 29.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007779/0.5557, allocations: 195.6 kB / 0.5141 GB, free: 29.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001012/0.5567, allocations: 324.5 kB / 0.5145 GB, free: 29.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.5717, allocations: 4.835 MB / 0.5192 GB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01946/0.5912, allocations: 14.86 MB / 0.5337 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005965/0.5972, allocations: 8.037 MB / 0.5415 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004944/0.6021, allocations: 7.69 MB / 0.5491 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.6023, allocations: 99 kB / 0.5491 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005076/0.6073, allocations: 4.399 MB / 0.5534 GB, free: 13.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=344): time 4.248e-06/0.6074, allocations: 4 kB / 0.5534 GB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=344): time 0.01718/0.6246, allocations: 12.8 MB / 0.5659 GB, free: 352 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001247/0.6258, allocations: 2.367 MB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.6277, allocations: 1.496 MB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003377/0.628, allocations: 211 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007094/0.6287, allocations: 1.003 MB / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000705/0.6295, allocations: 0.8493 MB / 0.5717 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.6306, allocations: 1.033 MB / 0.5727 GB, free: 8.926 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.6308, allocations: 309.1 kB / 0.573 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/0.6335, allocations: 1.922 MB / 0.5749 GB, free: 6.695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/0.6373, allocations: 3.647 MB / 0.5785 GB, free: 2.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.6488, allocations: 11.25 MB / 0.5895 GB, free: 5.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.043e-05/0.6489, allocations: 23.92 kB / 0.5895 GB, free: 5.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=671) (initialization): time 0.01049/0.6594, allocations: 7.874 MB / 0.5972 GB, free: 13.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006924/0.6601, allocations: 1.33 MB / 0.5985 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-05/0.6602, allocations: 56.98 kB / 0.5985 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.264e-05/0.6603, allocations: 83.92 kB / 0.5986 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.6618, allocations: 0.565 MB / 0.5992 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.167e-05/0.6619, allocations: 103.7 kB / 0.5992 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.664, allocations: 0.5653 MB / 0.5998 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/0.6644, allocations: 252 kB / 0.6 GB, free: 10.24 MB / 446.1 MB Warning: Assuming fixed start value for the following 97 variables: P4.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P4.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P4.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P4.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P4.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P4.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P4.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P4.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P4.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P4.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 P2.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 ) "priority Index" type: Integer P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 ) "priority Index" type: Integer P4.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P4.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T4.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P3.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P3.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T3.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P4.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P4.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P4.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P4.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P4.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P4.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P4.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P4.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P4.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P4.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P3.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 555 ($PRE.P4.enableIn.valid,P4.enableIn.valid,$PRE.P4.enableIn.benefitLimit,P4.enableIn.benefitLimit,$PRE.P4.enableIn.benefitMax,P4.enableIn.benefitMax,$PRE.P4.enableIn.posTE,P4.enableIn.posTE,$PRE.P4.enableIn.k,P4.enableIn.k,$PRE.P4.enableIn.endWhile,P4.enableIn.endWhile,P4.enableIn.randNum,$PRE.P4.enableIn.randNum,P4.enableIn.state128[4],$PRE.P4.enableIn.state128[4],P4.enableIn.state128[3],$PRE.P4.enableIn.state128[3],P4.enableIn.state128[2],$PRE.P4.enableIn.state128[2],P4.enableIn.state128[1],$PRE.P4.enableIn.state128[1],P4.enableIn.cumEnablingProb[1],$PRE.P4.enableIn.cumEnablingProb[1],$PRE.P4.enableIn.sumEnablingProbTAin,P4.enableIn.sumEnablingProbTAin,$PRE.P4.enableIn.nTAin,P4.enableIn.nTAin,$PRE.P4.enableIn.nremTAin,P4.enableIn.nremTAin,P4.enableIn.remTAin[1],$PRE.P4.enableIn.remTAin[1],$PRE.P4.enableIn.Index,P4.enableIn.Index,$PRE.P3.enableIn.valid,P3.enableIn.valid,$PRE.P3.enableIn.benefitLimit,P3.enableIn.benefitLimit,$PRE.P3.enableIn.benefitMax,P3.enableIn.benefitMax,$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.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$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.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$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[2],$PRE.P2.enableOut.cumEnablingProb[2],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[2],$PRE.P2.enableOut.remTAout[2],P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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[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[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition26,$PRE.P2.reStart,$whenCondition21,$PRE.P3.reStart,$whenCondition16,$PRE.P4.reStart,$whenCondition12,T4.inPlaces[1].tokenInOut,T3.inPlaces[1].tokenInOut,$PRE.P2.tokeninout,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.P4.firingSumOut.firingSum,$PRE.P4.firingSumIn.firingSum,P4.tokeninout,$whenCondition10,$whenCondition11,$PRE.T4.ani,$PRE.T4.fireTime,T4.ani,T4.fireTime,$PRE.P3.firingSumOut.firingSum,$PRE.P3.firingSumIn.firingSum,P3.tokeninout,$whenCondition14,$whenCondition15,$PRE.T3.ani,$PRE.T3.fireTime,T3.ani,T3.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition19,$whenCondition20,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition24,$whenCondition25,P4.firingSumOut.firingSum,P3.firingSumOut.firingSum,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition5,$PRE.P4.enableOut.benefitLimit,P4.enableOut.benefitLimit,$PRE.P4.enableOut.valid,P4.enableOut.valid,$PRE.P4.enableOut.benefitMax,P4.enableOut.benefitMax,$PRE.P4.enableOut.Index,P4.enableOut.Index,$PRE.P4.enableOut.endWhile,P4.enableOut.endWhile,$PRE.P4.enableOut.sumEnablingProbTAout,P4.enableOut.sumEnablingProbTAout,P4.enableOut.randNum,$PRE.P4.enableOut.randNum,P4.enableOut.state128[4],$PRE.P4.enableOut.state128[4],P4.enableOut.state128[3],$PRE.P4.enableOut.state128[3],P4.enableOut.state128[2],$PRE.P4.enableOut.state128[2],P4.enableOut.state128[1],$PRE.P4.enableOut.state128[1],$PRE.P4.enableOut.posTE,P4.enableOut.posTE,$PRE.P4.enableOut.k,P4.enableOut.k,$PRE.P4.enableOut.nTAout,P4.enableOut.nTAout,$PRE.P4.enableOut.nremTAout,P4.enableOut.nremTAout,P4.enableOut.arcWeightSum,$PRE.P4.enableOut.arcWeightSum,P4.delayPassedOut.numtrue,P4.delayPassedOut.anytrue,P4.activeConOut.anychange,$whenCondition2,$PRE.P3.enableOut.benefitLimit,P3.enableOut.benefitLimit,$PRE.P3.enableOut.valid,P3.enableOut.valid,$PRE.P3.enableOut.benefitMax,P3.enableOut.benefitMax,$PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,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],$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,P3.enableOut.arcWeightSum,$PRE.P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,$whenCondition1,P4.inTransition[1].disPlace,T4.outPlaces[1].disTransition,P4.reStart,T4.firingCon,T4.inPlaces[1].disTransition,P2.outTransition[2].normalArc,P2.outTransition[2].testValueint,P2.outTransition[2].arcType,P2.outTransition[2].disPlace,P3.inTransition[1].disPlace,T3.outPlaces[1].disTransition,P3.reStart,T3.firingCon,T3.inPlaces[1].disTransition,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,T1.firingCon,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P2.reStart,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P4.enableIn.disTransition[1],P3.enableIn.disTransition[1],P2.enableIn.disTransition[1],P1.enableIn.disTransition[1],$PRE.P4.enableIn.arcWeightSum,$PRE.P4.enableIn.TEin[1],$PRE.P3.enableIn.arcWeightSum,$PRE.P3.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P2.enableOut.arcWeightSum,$PRE.P2.enableOut.TEout[2],$PRE.P2.enableOut.TEout[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],P2.enableOut.arcWeight[1],T3.activation.arcWeightIntOut[1],P2.enableOut.arcWeight[2],T4.activation.arcWeightIntOut[1],T4.activation.disPlaceOut[1],P2.enableOut.disTransition[2],T4.activation.normalArc[1],T4.activation.testValueInt[1],T4.activation.arcType[1],T4.activation.disPlaceIn[1],T3.activation.disPlaceOut[1],P2.enableOut.disTransition[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T2.activation.disPlaceOut[1],P4.enableIn.arcWeightSum,P4.enableIn.TEin[1],P4.enableIn.TEin_[1],P4.enableIn.active[1],P4.enableIn.TAein[1],P4.enableIn.arcWeight[1],P4.firingSumIn.firingSum,P4.firingSumIn.arcWeight[1],P4.firingSumIn.fire[1],P4.delayPassedIn.numtrue,P4.delayPassedIn.anytrue,P4.delayPassedIn.vec[1],P4.inTransition[1].enabledByInPlaces,P4.t,$PRE.P4.t,T4.activation.active,T4.activation.maxTokensInt[1],T4.activation.minTokensInt[1],T4.activation.arcWeightIntIn[1],T4.activation.tIntOut[1],T4.activation.tIntIn[1],T4.active,$PRE.T4.active,P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.enableIn.TAein[1],P3.enableIn.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumIn.arcWeight[1],P3.firingSumIn.fire[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedIn.vec[1],P3.inTransition[1].enabledByInPlaces,P3.t,$PRE.P3.t,T3.activation.active,T3.activation.maxTokensInt[1],T3.activation.minTokensInt[1],T3.activation.arcWeightIntIn[1],T3.activation.tIntOut[1],T3.activation.tIntIn[1],T3.active,$PRE.T3.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.outPlaces[1].enabledByInPlaces,T1.active,$PRE.T1.active,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.enableOut.arcWeightSum,P2.enableOut.TEout[2],P2.enableOut.TEout[1],P2.enableOut.TEout_[2],P2.enableOut.TEout_[1],P2.enableOut.TAout[2],P2.enableOut.TAout[1],P2.firingSumOut.firingSum,P2.firingSumOut.arcWeight[2],P2.firingSumOut.arcWeight[1],P2.firingSumOut.fire[2],P2.firingSumOut.fire[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.delayPassedOut.vec[2],P2.delayPassedOut.vec[1],P2.activeConOut.anychange,P2.activeConOut.vec[2],P2.activeConOut.vec[1],P2.activeOut[2],$PRE.P2.activeOut[2],P2.activeOut[1],$PRE.P2.activeOut[1],P2.t,$PRE.P2.t,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition13,$whenCondition17,$whenCondition18,$whenCondition22,$whenCondition23,P4.inTransition[1].emptied,P3.inTransition[1].emptied,P2.outTransition[2].fed,P2.outTransition[1].fed,P2.inTransition[1].emptied,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 560 * Array equations: 3 * Algorithm blocks: 41 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003536/0.6679, allocations: 3.03 MB / 0.603 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006452/0.6686, allocations: 329.4 kB / 0.6033 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/0.6821, allocations: 10.19 MB / 0.6133 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.692e-05/0.6822, allocations: 35.92 kB / 0.6133 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6822, allocations: 3.938 kB / 0.6133 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.6822, allocations: 11.97 kB / 0.6133 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.7012, allocations: 14.16 MB / 0.6271 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.7013, allocations: 7.938 kB / 0.6271 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.7018, allocations: 135.7 kB / 0.6273 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-06/0.7018, allocations: 4 kB / 0.6273 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003951/0.7022, allocations: 191.9 kB / 0.6275 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.7022, allocations: 8 kB / 0.6275 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7022, allocations: 0 / 0.6275 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/0.7177, allocations: 10.99 MB / 0.6382 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004685/0.7182, allocations: 301.9 kB / 0.6385 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008209/0.719, allocations: 327.9 kB / 0.6388 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.7209, allocations: 331.7 kB / 0.6391 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001704/0.7226, allocations: 1.161 MB / 0.6402 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004418/0.7231, allocations: 219.9 kB / 0.6405 GB, free: 15.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009636/0.724, allocations: 0.7924 MB / 0.6412 GB, free: 15.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7241, allocations: 4 kB / 0.6412 GB, free: 15.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003513/0.7276, allocations: 1.241 MB / 0.6424 GB, free: 13.87 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 302 ($whenCondition1,P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.enableOut.benefitMax,P3.enableOut.valid,P3.enableOut.benefitLimit,$whenCondition2,P4.activeConOut.anychange,P4.delayPassedOut.anytrue,P4.delayPassedOut.numtrue,P4.enableOut.state128[1],P4.enableOut.state128[2],P4.enableOut.state128[3],P4.enableOut.state128[4],P4.enableOut.arcWeightSum,P4.enableOut.nremTAout,P4.enableOut.nTAout,P4.enableOut.k,P4.enableOut.posTE,P4.enableOut.randNum,P4.enableOut.sumEnablingProbTAout,P4.enableOut.endWhile,P4.enableOut.Index,P4.enableOut.benefitMax,P4.enableOut.valid,P4.enableOut.benefitLimit,T2.active,$whenCondition25,$whenCondition24,$whenCondition26,$whenCondition23,$whenCondition22,$whenCondition20,$whenCondition19,$whenCondition21,$whenCondition18,$whenCondition17,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition13,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,P2.t,P2.tokeninout,P2.activeOut[1],P2.activeOut[2],P2.activeConOut.vec[1],P2.activeConOut.vec[2],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.vec[2],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.fire[2],P2.firingSumOut.arcWeight[1],P2.firingSumOut.arcWeight[2],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TAout[2],P2.enableOut.TEout_[1],P2.enableOut.TEout_[2],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.TEout[2],P2.enableOut.remTAout[1],P2.enableOut.remTAout[2],P2.enableOut.cumEnablingProb[1],P2.enableOut.cumEnablingProb[2],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T1.active,T1.outPlaces[1].enabledByInPlaces,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T3.active,T3.inPlaces[1].tokenInOut,T3.fireTime,T3.ani,T3.activation.tIntIn[1],T3.activation.tIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.maxTokensInt[1],T3.activation.active,P3.t,P3.inTransition[1].enabledByInPlaces,P3.tokeninout,P3.delayPassedIn.vec[1],P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.firingSumIn.fire[1],P3.firingSumIn.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumOut.firingSum,P3.enableIn.arcWeight[1],P3.enableIn.TAein[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.enableIn.benefitMax,P3.enableIn.valid,P3.enableIn.benefitLimit,T4.active,T4.inPlaces[1].tokenInOut,T4.fireTime,T4.ani,T4.activation.tIntIn[1],T4.activation.tIntOut[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.maxTokensInt[1],T4.activation.active,P4.t,P4.inTransition[1].enabledByInPlaces,P4.tokeninout,P4.delayPassedIn.vec[1],P4.delayPassedIn.anytrue,P4.delayPassedIn.numtrue,P4.firingSumIn.fire[1],P4.firingSumIn.arcWeight[1],P4.firingSumIn.firingSum,P4.firingSumOut.firingSum,P4.enableIn.arcWeight[1],P4.enableIn.TAein[1],P4.enableIn.active[1],P4.enableIn.TEin_[1],P4.enableIn.state128[1],P4.enableIn.state128[2],P4.enableIn.state128[3],P4.enableIn.state128[4],P4.enableIn.TEin[1],P4.enableIn.remTAin[1],P4.enableIn.cumEnablingProb[1],P4.enableIn.arcWeightSum,P4.enableIn.nremTAin,P4.enableIn.nTAin,P4.enableIn.k,P4.enableIn.posTE,P4.enableIn.randNum,P4.enableIn.sumEnablingProbTAin,P4.enableIn.endWhile,P4.enableIn.Index,P4.enableIn.benefitMax,P4.enableIn.valid,P4.enableIn.benefitLimit) * Number of discrete states: 214 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P3.firingSumOut.firingSum,P3.firingSumIn.firingSum,P4.firingSumOut.firingSum,P4.firingSumIn.firingSum,P2.tokeninout,P1.tokeninout,P4.t,P3.t,P2.t,P2.activeOut[1],P2.activeOut[2],P1.t,P1.activeOut[1],T4.activation.active,T4.active,P4.delayPassedIn.numtrue,P4.delayPassedIn.anytrue,T3.activation.active,T3.active,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,T1.activation.active,T1.active,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,i,P2.activeConOut.vec[i],P2.enableOut.TEout_[2],P2.enableOut.TEout_[1],P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableOut.benefitMax,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[2],P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[2],P2.enableOut.remTAout[1],P2.enableOut.Index,$whenCondition6,P2.enableOut.arcWeightSum,P2.enableOut.TEout[2],P2.enableOut.TEout[1],P4.enableIn.TEin_[1],P4.enableIn.valid,P4.enableIn.benefitLimit,P4.enableIn.benefitMax,P4.enableIn.posTE,P4.enableIn.k,P4.enableIn.endWhile,P4.enableIn.state128[4],P4.enableIn.state128[3],P4.enableIn.state128[2],P4.enableIn.state128[1],P4.enableIn.randNum,P4.enableIn.cumEnablingProb[1],P4.enableIn.sumEnablingProbTAin,P4.enableIn.nTAin,P4.enableIn.nremTAin,P4.enableIn.remTAin[1],P4.enableIn.Index,$whenCondition9,P4.enableIn.arcWeightSum,P4.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.valid,P3.enableIn.benefitLimit,P3.enableIn.benefitMax,P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,$whenCondition8,P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],T2.eventIndex,$whenCondition5,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition4,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition3,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition7,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P4.enableOut.benefitLimit,P4.enableOut.valid,P4.enableOut.benefitMax,P4.enableOut.Index,P4.enableOut.endWhile,P4.enableOut.sumEnablingProbTAout,P4.enableOut.state128[4],P4.enableOut.state128[3],P4.enableOut.state128[2],P4.enableOut.state128[1],P4.enableOut.randNum,P4.enableOut.posTE,P4.enableOut.k,P4.enableOut.nTAout,P4.enableOut.nremTAout,$whenCondition2,P4.enableOut.arcWeightSum,P4.delayPassedOut.numtrue,P4.delayPassedOut.anytrue,P4.activeConOut.anychange,P3.enableOut.benefitLimit,P3.enableOut.valid,P3.enableOut.benefitMax,P3.enableOut.Index,P3.enableOut.endWhile,P3.enableOut.sumEnablingProbTAout,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.nTAout,P3.enableOut.nremTAout,$whenCondition1,P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 33 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/0.7291, allocations: 0.8977 MB / 0.6433 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01151/0.7406, allocations: 9.609 MB / 0.6527 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7407, allocations: 0 / 0.6527 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01467/0.7553, allocations: 15.5 MB / 0.6678 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/0.7586, allocations: 488.7 kB / 0.6683 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.7768, allocations: 8.279 MB / 0.6764 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.779, allocations: 1.882 MB / 0.6782 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007521/0.7798, allocations: 195.4 kB / 0.6784 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.7798, allocations: 0 / 0.6784 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of Templates: time 0.2845/1.064, allocations: 51.18 MB / 0.7284 GB, free: 162.5 MB / 0.5294 GB make -j1 -f PNlib_PNlib.Examples.DisTest.Ttest.makefile make -j1 -f PNlib_PNlib.Examples.DisTest.Ttest.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.DisTest.TtestCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.TtestCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.TtestCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.TtestInitialize.cpp:1437:62: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_P1_P_activeOut__pre && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.TtestInitialize.cpp:1472:113: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.TtestCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.TtestInitialize.cpp:1472:205: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.TtestCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.TtestInitialize.cpp:2027:62: error: invalid argument type 'StatArrayDim1' to unary expression _P2_P_activeConOut_P_vec_.assign((_P2_P_activeOut__pre && (!_functions->_OMC_LIT3))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.TtestInitialize.cpp:2062:113: error: no matching function for call to object of type 'WrapArray' _P2_P_activeConOut_P_anychange_ = (_P2_P_activeConOut_P_anychange_ || ((!_P2_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P2_P_activeConOut_P_vec_)(i_)) || (_P2_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P2_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.TtestCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.TtestInitialize.cpp:2062:205: error: no matching function for call to object of type 'WrapArray' _P2_P_activeConOut_P_anychange_ = (_P2_P_activeConOut_P_anychange_ || ((!_P2_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P2_P_activeConOut_P_vec_)(i_)) || (_P2_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P2_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.TtestCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.Ttest.cpp:174:81: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P1_P_activeOut_) && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.Ttest.cpp:304:81: error: invalid argument type 'StatArrayDim1' to unary expression _P2_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P2_P_activeOut_) && (!_functions->_OMC_LIT3))); ^~~~~~~~~~~~~~~~~~~~~~ 8 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.DisTest.TtestCalcHelperMain.o] Error 1