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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009486/0.0009487, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.2 MB / 218.5 MB, free: 9.148 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.0007752/0.0007753, allocations: 84.47 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06556/0.06556, allocations: 16.71 MB / 331.4 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.257e-05, allocations: 4 kB / 390.9 MB, free: 65.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06968/0.06972, allocations: 51.7 MB / 442.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2894/0.3591, allocations: 81.21 MB / 0.5116 GB, free: 8.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.3593, allocations: 66.41 kB / 0.5116 GB, free: 8.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1006/0.46, allocations: 44.77 MB / 0.5553 GB, free: 2.918 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.46, allocations: 3.938 kB / 0.5553 GB, free: 2.914 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.567e-05/0.4601, allocations: 47.94 kB / 0.5554 GB, free: 2.867 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.005138/0.4652, allocations: 3.946 MB / 0.5592 GB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4653, allocations: 12.03 kB / 0.5592 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.4668, allocations: 464.3 kB / 0.5597 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.4695, allocations: 1.575 MB / 0.5612 GB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.4698, allocations: 482.8 kB / 0.5617 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005987/0.4704, allocations: 396.2 kB / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009353/0.4798, allocations: 6.669 MB / 0.5686 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/0.4799, allocations: 11.88 kB / 0.5686 GB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004395/0.4803, allocations: 191.9 kB / 0.5688 GB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003373/0.4807, allocations: 240.2 kB / 0.569 GB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006595/0.4873, allocations: 4.632 MB / 0.5735 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/0.5038, allocations: 14.78 MB / 0.588 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006905/0.5107, allocations: 7.464 MB / 0.5953 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006287/0.517, allocations: 7.143 MB / 0.6022 GB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.5172, allocations: 106.4 kB / 0.6023 GB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005193/0.5224, allocations: 4.202 MB / 0.6064 GB, free: 14.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=334): time 3.627e-06/0.5224, allocations: 0 / 0.6064 GB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=334): time 0.01014/0.5325, allocations: 7.722 MB / 0.614 GB, free: 6.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001059/0.5336, allocations: 2.21 MB / 0.6161 GB, free: 3.836 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.5353, allocations: 1.359 MB / 0.6175 GB, free: 2.465 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003268/0.5356, allocations: 201.6 kB / 0.6177 GB, free: 2.262 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/0.5363, allocations: 1.038 MB / 0.6187 GB, free: 1.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006486/0.537, allocations: 0.8149 MB / 0.6195 GB, free: 392 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.5372, allocations: 100 kB / 0.6196 GB, free: 292 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.5374, allocations: 0.5094 MB / 0.6201 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/0.5399, allocations: 1.841 MB / 0.6218 GB, free: 13.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/0.5435, allocations: 3.566 MB / 0.6253 GB, free: 9.559 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003503/0.547, allocations: 3.309 MB / 0.6286 GB, free: 5.996 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.523e-05/0.5471, allocations: 16 kB / 0.6286 GB, free: 5.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.009579/0.5567, allocations: 7.639 MB / 0.636 GB, free: 14.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008101/0.5575, allocations: 1.318 MB / 0.6373 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.426e-05/0.5576, allocations: 56 kB / 0.6374 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.5577, allocations: 88 kB / 0.6375 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.5593, allocations: 0.5845 MB / 0.638 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.283e-05/0.5594, allocations: 116.1 kB / 0.6381 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.5613, allocations: 0.5043 MB / 0.6386 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003601/0.5616, allocations: 272.9 kB / 0.6389 GB, free: 10.89 MB / 458.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.002898/0.5646, allocations: 2.452 MB / 0.6413 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005949/0.5652, allocations: 321.5 kB / 0.6416 GB, free: 7.914 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2123/0.7775, allocations: 8.019 MB / 0.6494 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/0.7776, allocations: 22.06 kB / 0.6495 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.7776, allocations: 1.5 kB / 0.6495 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/0.7777, allocations: 9.672 kB / 0.6495 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/0.7995, allocations: 12.35 MB / 0.6615 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.7995, allocations: 1.094 kB / 0.6615 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.8001, allocations: 126.9 kB / 0.6616 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.511e-05/0.8001, allocations: 10.5 kB / 0.6616 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005738/0.8007, allocations: 197.8 kB / 0.6618 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-05/0.8007, allocations: 6.5 kB / 0.6618 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.8007, allocations: 4.469 kB / 0.6618 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.8136, allocations: 8.872 MB / 0.6705 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.8142, allocations: 290 kB / 0.6708 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/0.8154, allocations: 332.9 kB / 0.6711 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/0.8178, allocations: 314.1 kB / 0.6714 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001932/0.8197, allocations: 1.198 MB / 0.6726 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005966/0.8203, allocations: 245.7 kB / 0.6728 GB, free: 125.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001192/0.8215, allocations: 0.7796 MB / 0.6736 GB, free: 125.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.8215, allocations: 3.5 kB / 0.6736 GB, free: 125.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003966/0.8255, allocations: 1.213 MB / 0.6748 GB, free: 125.7 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.001945/0.8275, allocations: 0.9053 MB / 0.6756 GB, free: 125.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009778/0.8373, allocations: 9.349 MB / 0.6848 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.8373, allocations: 7.594 kB / 0.6848 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01027/0.8476, allocations: 14.99 MB / 0.6994 GB, free: 109.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.8494, allocations: 336.1 kB / 0.6997 GB, free: 109.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.86, allocations: 6.564 MB / 0.7061 GB, free: 106.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.8616, allocations: 1.971 MB / 0.7081 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00177/0.8634, allocations: 0.72 MB / 0.7088 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.8638, allocations: 176.9 kB / 0.7089 GB, free: 104.7 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.8639, allocations: 0 / 0.7089 GB, free: 104.7 MB / 458.7 MB Notification: Performance of Templates: time 0.06418/0.928, allocations: 49.92 MB / 0.7577 GB, free: 64.34 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