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.001204/0.001204, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.001336/0.001336, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07531/0.07531, allocations: 16.73 MB / 307.5 MB, free: 14.27 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 62.8 kB / 371.8 MB, free: 48.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09448, allocations: 53.47 MB / 425.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.Ttest): time 0.004988/0.0995, allocations: 5.036 MB / 430.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006999/0.1065, allocations: 4.26 MB / 434.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.1082, allocations: 15.88 kB / 434.5 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.1096, allocations: 345.7 kB / 434.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.1113, allocations: 345.7 kB / 435.2 MB, free: 2.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.1157, allocations: 2.003 MB / 437.2 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007449/0.1231, allocations: 5.847 MB / 443.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.1248, allocations: 0.9124 MB / 444 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.1284, allocations: 2.216 MB / 446.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.131, allocations: 1.626 MB / 447.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.1326, allocations: 448 kB / 448.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.1352, allocations: 1.116 MB / 449.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.1364, allocations: 0.7123 MB / 450.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003675/0.1401, allocations: 1.891 MB / 452 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005116/0.1452, allocations: 3.599 MB / 455.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1452, allocations: 0 / 455.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1452, allocations: 0 / 455.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001439/0.1454, allocations: 4 kB / 455.6 MB, free: 14.3 MB / 334.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.009424/0.1548, allocations: 4.576 MB / 460.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.1549, allocations: 15.89 kB / 460.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.1572, allocations: 428.3 kB / 460.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.1602, allocations: 1.429 MB / 462 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005916/0.1609, allocations: 481.1 kB / 462.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.162, allocations: 391.9 kB / 462.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.1762, allocations: 6.874 MB / 469.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-05/0.1764, allocations: 11.88 kB / 469.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/0.1776, allocations: 195.9 kB / 469.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005619/0.1782, allocations: 328.1 kB / 470.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00998/0.1881, allocations: 4.835 MB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02565/0.2139, allocations: 14.95 MB / 490.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.2248, allocations: 8.031 MB / 498.1 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009644/0.2345, allocations: 7.685 MB / 0.4939 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.2347, allocations: 102.5 kB / 0.494 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008063/0.2428, allocations: 4.412 MB / 0.4983 GB, free: 6.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=344): time 7.674e-06/0.2428, allocations: 0 / 0.4983 GB, free: 6.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=344): time 0.2538/0.4966, allocations: 12.78 MB / 0.5108 GB, free: 81.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001361/0.498, allocations: 2.375 MB / 0.5131 GB, free: 79.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.5012, allocations: 1.495 MB / 0.5146 GB, free: 78.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008594/0.5021, allocations: 211.2 kB / 0.5148 GB, free: 78.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.5033, allocations: 0.994 MB / 0.5158 GB, free: 77.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.5048, allocations: 0.8588 MB / 0.5166 GB, free: 77.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/0.5067, allocations: 1.028 MB / 0.5176 GB, free: 76.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.5068, allocations: 303 kB / 0.5179 GB, free: 76.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/0.5099, allocations: 1.928 MB / 0.5198 GB, free: 75.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.5131, allocations: 3.642 MB / 0.5233 GB, free: 73.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009571/0.5227, allocations: 11.24 MB / 0.5343 GB, free: 61.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.111e-05/0.5228, allocations: 12 kB / 0.5343 GB, free: 61.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=671) (initialization): time 0.009868/0.5327, allocations: 7.881 MB / 0.542 GB, free: 53.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004672/0.5332, allocations: 1.33 MB / 0.5433 GB, free: 51.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.97e-05/0.5333, allocations: 56.12 kB / 0.5434 GB, free: 51.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.324e-05/0.5334, allocations: 76 kB / 0.5434 GB, free: 51.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.535, allocations: 0.566 MB / 0.544 GB, free: 50.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.534e-05/0.5351, allocations: 111.6 kB / 0.5441 GB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.5375, allocations: 0.5659 MB / 0.5446 GB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003484/0.5379, allocations: 259.5 kB / 0.5449 GB, free: 50.02 MB / 382.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.enabledByInPlaces[1],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.enabledByInPlaces[1],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.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.enabledByInPlaces[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.003656/0.5415, allocations: 3.028 MB / 0.5478 GB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007161/0.5423, allocations: 329.3 kB / 0.5482 GB, free: 46.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.5537, allocations: 10.18 MB / 0.5581 GB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.199e-05/0.5538, allocations: 23.98 kB / 0.5581 GB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.5538, allocations: 4 kB / 0.5581 GB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.5538, allocations: 7.969 kB / 0.5581 GB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.5698, allocations: 14.17 MB / 0.572 GB, free: 21.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.5698, allocations: 7.984 kB / 0.572 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.5703, allocations: 127.8 kB / 0.5721 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.5703, allocations: 8 kB / 0.5721 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005152/0.5708, allocations: 189.6 kB / 0.5723 GB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.487e-06/0.5709, allocations: 8 kB / 0.5723 GB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5709, allocations: 11.94 kB / 0.5723 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/0.5837, allocations: 10.99 MB / 0.583 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.5842, allocations: 297.9 kB / 0.5833 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008352/0.5851, allocations: 327.9 kB / 0.5836 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.5869, allocations: 327.7 kB / 0.584 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/0.5883, allocations: 1.16 MB / 0.5851 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003702/0.5887, allocations: 215.8 kB / 0.5853 GB, free: 7.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008187/0.5895, allocations: 0.7962 MB / 0.5861 GB, free: 7.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5895, allocations: 0 / 0.5861 GB, free: 7.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00376/0.5933, allocations: 1.249 MB / 0.5873 GB, free: 5.793 MB / 382.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.enabledByInPlaces[1],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.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.tokeninout,P3.enabledByInPlaces[1],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.tokeninout,P4.enabledByInPlaces[1],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.001379/0.5946, allocations: 0.9091 MB / 0.5882 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01655/0.6112, allocations: 11.22 MB / 0.5991 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.6113, allocations: 4 kB / 0.5991 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0141/0.6254, allocations: 15.5 MB / 0.6143 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/0.6281, allocations: 480.2 kB / 0.6147 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.643, allocations: 9.182 MB / 0.6237 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.6446, allocations: 1.871 MB / 0.6255 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007425/0.6454, allocations: 203.4 kB / 0.6257 GB, free: 13.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6454, allocations: 0 / 0.6257 GB, free: 13.52 MB / 430.1 MB Notification: Performance of Templates: time 0.08861/0.734, allocations: 50.47 MB / 0.675 GB, free: 10.82 MB / 478.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.Ttest.makefile make -j1 -f PNlib_PNlib.Examples.DisTest.Ttest.makefile clang++ -std=c++14 -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:175: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:305: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