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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002505/0.002505, allocations: 181 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9782/0.9782, allocations: 205.2 MB / 213.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008038/0.0008038, allocations: 86.59 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06256/0.06256, allocations: 16.73 MB / 325.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.169e-06/5.19e-06, allocations: 4 kB / 383.5 MB, free: 71.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0602/0.06022, allocations: 51.69 MB / 435.1 MB, free: 19.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.2496, allocations: 80.46 MB / 0.5035 GB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001635/0.2498, allocations: 67.75 kB / 0.5036 GB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0999/0.3497, allocations: 44.66 MB / 0.5472 GB, free: 12.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.918e-05/0.3498, allocations: 52 kB / 0.5472 GB, free: 12.04 MB / 362.7 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.006095/0.3559, allocations: 3.97 MB / 0.5511 GB, free: 8.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.356, allocations: 12.03 kB / 0.5511 GB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.3578, allocations: 468.3 kB / 0.5516 GB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.3606, allocations: 1.615 MB / 0.5531 GB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/0.3609, allocations: 380 kB / 0.5535 GB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005481/0.3614, allocations: 287.2 kB / 0.5538 GB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006653/0.3681, allocations: 4.618 MB / 0.5583 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009343/0.3775, allocations: 6.407 MB / 0.5646 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.391e-05/0.3775, allocations: 11.88 kB / 0.5646 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004974/0.3781, allocations: 91.92 kB / 0.5647 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003455/0.3784, allocations: 252.2 kB / 0.5649 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/0.3957, allocations: 14.34 MB / 0.5789 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006656/0.4024, allocations: 7.442 MB / 0.5862 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006251/0.4086, allocations: 7.149 MB / 0.5931 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.4088, allocations: 102.4 kB / 0.5932 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0053/0.4141, allocations: 4.121 MB / 0.5973 GB, free: 8.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=334): time 3.437e-06/0.4141, allocations: 0 / 0.5973 GB, free: 8.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=334): time 0.008872/0.423, allocations: 5.921 MB / 0.603 GB, free: 2.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001159/0.4242, allocations: 2.213 MB / 0.6052 GB, free: 68 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.4256, allocations: 1.169 MB / 0.6064 GB, free: 14.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003182/0.4259, allocations: 153.6 kB / 0.6065 GB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000634/0.4266, allocations: 0.9688 MB / 0.6074 GB, free: 13.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000651/0.4272, allocations: 0.7731 MB / 0.6082 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.4274, allocations: 27.98 kB / 0.6082 GB, free: 12.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002957/0.4277, allocations: 0.5493 MB / 0.6088 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.4301, allocations: 1.794 MB / 0.6105 GB, free: 10.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003382/0.4335, allocations: 3.507 MB / 0.6139 GB, free: 6.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.4362, allocations: 1.985 MB / 0.6159 GB, free: 4.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/0.4362, allocations: 16 kB / 0.6159 GB, free: 4.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.007061/0.4433, allocations: 5.14 MB / 0.6209 GB, free: 15.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4433, allocations: 7.125 kB / 0.6209 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.862e-05/0.4434, allocations: 52 kB / 0.621 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.517e-05/0.4435, allocations: 88 kB / 0.6211 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.4451, allocations: 0.5929 MB / 0.6216 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.503e-05/0.4451, allocations: 115.6 kB / 0.6217 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.447, allocations: 408.5 kB / 0.6221 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/0.4474, allocations: 252 kB / 0.6224 GB, free: 13.68 MB / 442.7 MB Warning: Assuming fixed start value for the following 97 variables: P4.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P4.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P4.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P4.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P4.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P4.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P4.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P4.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P4.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P4.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P3.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P3.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P3.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P3.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P4.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P4.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T4.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P3.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P3.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T3.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P4.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P4.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P4.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P4.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P4.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P4.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P4.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P4.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P4.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P4.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P3.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P3.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P3.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P3.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P3.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real T2.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 559 ($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,$PRE.P4.enableIn.state128[1],P4.enableIn.state128[1],$PRE.P4.enableIn.state128[2],P4.enableIn.state128[2],$PRE.P4.enableIn.state128[3],P4.enableIn.state128[3],$PRE.P4.enableIn.state128[4],P4.enableIn.state128[4],$PRE.P4.enableIn.randNum,P4.enableIn.randNum,$PRE.P4.enableIn.cumEnablingProb[1],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,$PRE.P4.enableIn.remTAin[1],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,$PRE.P3.enableIn.state128[1],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[4],$PRE.P3.enableIn.randNum,P3.enableIn.randNum,$PRE.P3.enableIn.cumEnablingProb[1],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,$PRE.P3.enableIn.remTAin[1],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,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],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,$PRE.P2.enableIn.remTAin[1],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,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.cumEnablingProb[2],P2.enableOut.cumEnablingProb[2],$PRE.P2.enableOut.cumEnablingProb[1],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,$PRE.P2.enableOut.remTAout[2],P2.enableOut.remTAout[2],$PRE.P2.enableOut.remTAout[1],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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition26,$PRE.P1.reStart,$whenCondition21,$PRE.P2.reStart,$whenCondition16,$PRE.P3.reStart,$whenCondition12,$PRE.P4.reStart,$whenCondition11,$whenCondition10,P4.tokeninout,$PRE.P4.firingSumIn.firingSum,$PRE.P4.firingSumOut.firingSum,P4.firingSumOut.firingSum,$PRE.T4.fireTime,T4.fireTime,$PRE.T4.ani,T4.ani,$whenCondition15,$whenCondition14,P3.tokeninout,$PRE.P3.firingSumIn.firingSum,$PRE.P3.firingSumOut.firingSum,P3.firingSumOut.firingSum,$PRE.T3.fireTime,T3.fireTime,$PRE.T3.ani,T3.ani,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition20,$whenCondition19,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,P2.outTransition[2].tokenInOut,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition5,$PRE.T2.eventIndex,T2.eventIndex,$whenCondition25,$whenCondition24,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.P4.enableOut.nremTAout,P4.enableOut.nremTAout,$PRE.P4.enableOut.nTAout,P4.enableOut.nTAout,$PRE.P4.enableOut.k,P4.enableOut.k,$PRE.P4.enableOut.posTE,P4.enableOut.posTE,$PRE.P4.enableOut.state128[1],P4.enableOut.state128[1],$PRE.P4.enableOut.state128[2],P4.enableOut.state128[2],$PRE.P4.enableOut.state128[3],P4.enableOut.state128[3],$PRE.P4.enableOut.state128[4],P4.enableOut.state128[4],$PRE.P4.enableOut.randNum,P4.enableOut.randNum,$PRE.P4.enableOut.sumEnablingProbTAout,P4.enableOut.sumEnablingProbTAout,$PRE.P4.enableOut.endWhile,P4.enableOut.endWhile,$PRE.P4.enableOut.Index,P4.enableOut.Index,$PRE.P4.enableOut.benefitMax,P4.enableOut.benefitMax,$PRE.P4.enableOut.valid,P4.enableOut.valid,$PRE.P4.enableOut.benefitLimit,P4.enableOut.benefitLimit,$whenCondition2,P4.activeConOut.anychange,P4.delayPassedOut.anytrue,P4.delayPassedOut.numtrue,$PRE.P4.enableOut.arcWeightSum,P4.enableOut.arcWeightSum,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.state128[1],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[4],$PRE.P3.enableOut.randNum,P3.enableOut.randNum,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.benefitMax,P3.enableOut.benefitMax,$PRE.P3.enableOut.valid,P3.enableOut.valid,$PRE.P3.enableOut.benefitLimit,P3.enableOut.benefitLimit,$whenCondition1,P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,T2.enabledByInPlaces,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P2.outTransition[1].testValueint,P2.outTransition[1].normalArc,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].arcType,T3.outPlaces[1].disTransition,P3.inTransition[1].disPlace,T4.outPlaces[1].disTransition,P4.inTransition[1].disPlace,P2.outTransition[2].testValueint,P2.outTransition[2].normalArc,T4.inPlaces[1].disTransition,P2.outTransition[2].disPlace,P2.outTransition[2].arcType,P4.enableIn.enablingPrio[1],P4.reStart,T4.firingCon,P3.enableIn.enablingPrio[1],P3.reStart,T3.firingCon,T1.firingCon,P2.enableIn.enablingPrio[1],P2.enableOut.enablingPrio[2],P2.enableOut.enablingPrio[1],P2.reStart,T2.firingCon,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],P3.enableIn.disTransition[1],P4.enableIn.disTransition[1],$whenCondition23,$whenCondition22,$whenCondition18,$whenCondition17,$whenCondition13,$whenCondition3,$whenCondition4,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$PRE.P1.t,P1.t,P1.activeOut[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],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,$PRE.P2.t,P2.t,P2.activeOut[1],P2.activeOut[2],P2.enabledByInPlaces[1],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],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[2],P2.enableOut.TEout[2],$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,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,$PRE.T1.active,T1.active,T3.activation.tIntIn[1],T3.activation.tIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],T3.activation.minTokensInt[1],T3.activation.maxTokensInt[1],T3.activation.active,$PRE.T3.active,T3.active,$PRE.P3.t,P3.t,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.enableIn.TAein[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin[1],$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,T4.activation.tIntIn[1],T4.activation.tIntOut[1],T4.activation.arcWeightIntIn[1],T4.activation.arcWeightIntOut[1],T4.activation.minTokensInt[1],T4.activation.maxTokensInt[1],T4.activation.active,$PRE.T4.active,T4.active,$PRE.P4.t,P4.t,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.enableIn.TAein[1],P4.enableIn.active[1],P4.enableIn.TEin_[1],$PRE.P4.enableIn.TEin[1],P4.enableIn.TEin[1],$PRE.P4.enableIn.arcWeightSum,P4.enableIn.arcWeightSum,T4.activation.arcType[1],T4.activation.disPlaceIn[1],P2.enableOut.disTransition[2],T4.activation.normalArc[1],T4.activation.testValueInt[1],T4.activation.disPlaceOut[1],T3.activation.disPlaceOut[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],P2.enableOut.disTransition[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T1.activation.disPlaceOut[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T2.activation.disPlaceOut[1],P4.enableIn.arcWeight[1],P2.enableOut.arcWeight[2],P3.enableIn.arcWeight[1],P2.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P2.activeConOut.vec[2],P2.activeConOut.vec[1],P1.enableIn.arcWeight[1],P1.activeConOut.vec[1],P1.inTransition[1].emptied,P1.outTransition[1].fed,P2.inTransition[1].emptied,P2.outTransition[1].fed,P3.inTransition[1].emptied,P4.inTransition[1].emptied,P2.outTransition[2].fed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (616): * Single equations (assignments): 574 * Array equations: 1 * Algorithm blocks: 41 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002741/0.4501, allocations: 2.298 MB / 0.6246 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005588/0.4507, allocations: 317.6 kB / 0.6249 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009075/0.4598, allocations: 6.099 MB / 0.6309 GB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.4598, allocations: 20 kB / 0.6309 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.4598, allocations: 4 kB / 0.6309 GB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.4598, allocations: 7.969 kB / 0.6309 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.4753, allocations: 10.15 MB / 0.6408 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.4753, allocations: 0 / 0.6408 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.4758, allocations: 131.7 kB / 0.6409 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.4758, allocations: 8 kB / 0.6409 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004177/0.4763, allocations: 175.9 kB / 0.6411 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.4763, allocations: 11.98 kB / 0.6411 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4763, allocations: 0 / 0.6411 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009822/0.4861, allocations: 6.73 MB / 0.6477 GB, free: 3.402 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.4864, allocations: 262.3 kB / 0.648 GB, free: 3.125 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008894/0.4873, allocations: 315.9 kB / 0.6483 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/0.4891, allocations: 319.8 kB / 0.6486 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001769/0.4909, allocations: 1.261 MB / 0.6498 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004803/0.4914, allocations: 251.4 kB / 0.65 GB, free: 1.004 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0006918/0.4921, allocations: 0.6003 MB / 0.6506 GB, free: 404 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.09881/0.5909, allocations: 1.051 MB / 0.6516 GB, free: 172.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 299 ($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,P1.activeOut[1],P2.activeOut[1],P2.activeOut[2],$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.tokeninout,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,P1.outTransition[1].tokenInOut,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.enabledByInPlaces[1],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,P2.outTransition[1].tokenInOut,P2.outTransition[2].tokenInOut,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,T1.active,T3.fireTime,T3.ani,T3.activation.tIntIn[1],T3.activation.tIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],T3.activation.minTokensInt[1],T3.activation.maxTokensInt[1],T3.activation.active,T3.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.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.fireTime,T4.ani,T4.activation.tIntIn[1],T4.activation.tIntOut[1],T4.activation.arcWeightIntIn[1],T4.activation.arcWeightIntOut[1],T4.activation.minTokensInt[1],T4.activation.maxTokensInt[1],T4.activation.active,T4.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.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: 210 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P3.firingSumOut.firingSum,P3.firingSumIn.firingSum,P4.firingSumOut.firingSum,P4.firingSumIn.firingSum,P4.t,P3.t,P2.t,P2.tokeninout,T4.activation.active,T4.active,P4.delayPassedIn.numtrue,P4.delayPassedIn.anytrue,T3.activation.active,T3.active,P3.delayPassedIn.numtrue,P3.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,P1.t,P1.tokeninout,T1.activation.active,T1.active,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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.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.nremTAout,P4.enableOut.nTAout,P4.enableOut.k,P4.enableOut.posTE,P4.enableOut.randNum,P4.enableOut.state128[4],P4.enableOut.state128[3],P4.enableOut.state128[2],P4.enableOut.state128[1],P4.enableOut.sumEnablingProbTAout,P4.enableOut.endWhile,P4.enableOut.Index,P4.enableOut.benefitMax,P4.enableOut.valid,P4.enableOut.benefitLimit,$whenCondition2,P4.enableOut.arcWeightSum,P4.delayPassedOut.numtrue,P4.delayPassedOut.anytrue,P4.activeConOut.anychange,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.enableOut.benefitMax,P3.enableOut.valid,P3.enableOut.benefitLimit,$whenCondition1,P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange) * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 33 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/0.5924, allocations: 0.8898 MB / 0.6525 GB, free: 172.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007569/0.6, allocations: 7.674 MB / 0.66 GB, free: 171.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.6001, allocations: 6.844 kB / 0.66 GB, free: 171.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008824/0.6089, allocations: 14.13 MB / 0.6738 GB, free: 167.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.6099, allocations: 219.1 kB / 0.674 GB, free: 167.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009688/0.6196, allocations: 6.579 MB / 0.6804 GB, free: 165 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/0.621, allocations: 2.149 MB / 0.6825 GB, free: 164.1 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.621, allocations: 0 / 0.6825 GB, free: 164.1 MB / 458.7 MB Notification: Performance of Templates: time 0.05603/0.6771, allocations: 52.04 MB / 0.7334 GB, free: 139.6 MB / 458.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.Ttest.makefile (rm -f PNlib_PNlib.Examples.DisTest.Ttest.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.Ttest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.Ttest.pipe >> ../files/PNlib_PNlib.Examples.DisTest.Ttest.sim & ./PNlib_PNlib.Examples.DisTest.Ttest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.Ttest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.Ttest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.Ttest.mat","../files/PNlib_PNlib.Examples.DisTest.Ttest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches