Running command: translateModel(PNlib.Examples.ExtTest.TAwithPDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD") Notification: Performance of loadModel(PNlib): time 2.146/2.146, allocations: 222.9 MB / 235 MB, free: 9.25 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.99e-05, allocations: 4 kB / 289.6 MB, free: 4.062 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08767, allocations: 51.67 MB / 341.3 MB, free: 300 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/0.4427, allocations: 80.9 MB / 422.2 MB, free: 9.547 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.443, allocations: 68.64 kB / 422.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1375/0.5805, allocations: 32.84 MB / 455.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5805, allocations: 0 / 455.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.787e-05/0.5806, allocations: 36 kB / 455.1 MB, free: 8.547 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005944/0.5866, allocations: 2.833 MB / 457.9 MB, free: 5.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5866, allocations: 8.031 kB / 457.9 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.5886, allocations: 325.4 kB / 458.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.5916, allocations: 1.032 MB / 459.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000505/0.5921, allocations: 349.8 kB / 459.6 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007746/0.5929, allocations: 255.9 kB / 459.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.6035, allocations: 4.133 MB / 464 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/0.6036, allocations: 7.938 kB / 464 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004564/0.6041, allocations: 127.9 kB / 464.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003037/0.6044, allocations: 146.7 kB / 464.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007038/0.6114, allocations: 2.766 MB / 467.1 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01931/0.6308, allocations: 10.27 MB / 477.3 MB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007005/0.6378, allocations: 4.369 MB / 481.7 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008487/0.6464, allocations: 4.119 MB / 485.8 MB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.6467, allocations: 94.23 kB / 485.9 MB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009537/0.6562, allocations: 2.568 MB / 488.5 MB, free: 6.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 9.908e-06/0.6563, allocations: 0 / 488.5 MB, free: 6.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=230): time 0.01106/0.6674, allocations: 4.689 MB / 493.2 MB, free: 1.289 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001474/0.6689, allocations: 1.538 MB / 494.7 MB, free: 15.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.6708, allocations: 0.948 MB / 495.6 MB, free: 14.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005182/0.6714, allocations: 145.7 kB / 495.8 MB, free: 14.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008646/0.6723, allocations: 0.7181 MB / 496.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009766/0.6733, allocations: 0.5406 MB / 497 MB, free: 13.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.6735, allocations: 68 kB / 497.1 MB, free: 13.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004351/0.674, allocations: 498.4 kB / 497.6 MB, free: 12.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/0.6767, allocations: 1.189 MB / 498.8 MB, free: 11.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/0.6808, allocations: 2.343 MB / 0.4894 GB, free: 8.465 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.6848, allocations: 2.221 MB / 0.4916 GB, free: 6.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.446e-05/0.6849, allocations: 8 kB / 0.4916 GB, free: 6.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=462) (initialization): time 0.01156/0.6965, allocations: 4.99 MB / 0.4964 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00091/0.6974, allocations: 0.923 MB / 0.4973 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.417e-05/0.6975, allocations: 36.09 kB / 0.4974 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/0.6976, allocations: 64 kB / 0.4974 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.6994, allocations: 411.3 kB / 0.4978 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001072/0.6996, allocations: 83.67 kB / 0.4979 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.702, allocations: 357.5 kB / 0.4982 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006006/0.7027, allocations: 183.9 kB / 0.4984 GB, free: 14.66 MB / 442.7 MB Warning: Assuming fixed start value for the following 72 variables: 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 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 T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.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 P3.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P3.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer 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 P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real 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 P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real 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 T2.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.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: 166 * Number of states: 0 () * Number of discrete variables: 386 ($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.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[2],P1.enableOut.cumEnablingProb[2],$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[2],P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition19,$PRE.P1.reStart,$whenCondition16,$PRE.P2.reStart,$whenCondition13,$PRE.P3.reStart,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition12,$whenCondition11,P3.tokeninout,$PRE.P3.firingSumIn.firingSum,$PRE.P3.firingSumOut.firingSum,P3.firingSumOut.firingSum,$whenCondition15,$whenCondition14,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,P2.firingSumOut.firingSum,$whenCondition18,$whenCondition17,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,T2.inPlaces[1].tokenInOut,P1.firingSumIn.firingSum,$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,$whenCondition3,P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$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.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$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.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T2.outPlaces[1].disTransition,P3.inTransition[1].disPlace,T2.inPlaces[1].disTransition,P1.outTransition[2].disPlace,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T2.firingCon,T1.firingCon,P3.enableIn.enablingPrio[1],P3.reStart,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[2],P1.enableOut.enablingPrio[1],P1.reStart,P3.enableIn.disTransition[1],P2.enableIn.disTransition[1],$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeOut[2],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[2],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P2.t,P2.t,P2.enabledByInPlaces[1],P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,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,$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,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,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,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.delayPassed,T2.delayPassed,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcType[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.normalArc[1],T2.activation.active,T2.active,P1.enableOut.arcWeight[2],T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.disPlaceOut[1],T2.activation.disPlaceIn[1],P1.enableOut.disTransition[2],T2.activation.disPlaceOut[1],P3.enableIn.arcWeight[1],T2.activation.arcWeightIntIn[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],T2.activation.testValueInt[1],P1.activeConOut.vec[2],P1.activeConOut.vec[1],TA1.outTransition.arcType,P3.inTransition[1].emptied,P1.outTransition[2].fed,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,P1.outTransition[2].arcType,P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 29 * 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.00282/0.7055, allocations: 1.679 MB / 0.5001 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006262/0.7062, allocations: 214.2 kB / 0.5003 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.7164, allocations: 4.504 MB / 0.5047 GB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.7165, allocations: 12 kB / 0.5047 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.316e-06/0.7165, allocations: 4 kB / 0.5047 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.7165, allocations: 7.938 kB / 0.5047 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.7332, allocations: 7.295 MB / 0.5118 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.7333, allocations: 4 kB / 0.5118 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.7338, allocations: 91.78 kB / 0.5119 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.7339, allocations: 4 kB / 0.5119 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006414/0.7345, allocations: 123.9 kB / 0.512 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.7345, allocations: 4 kB / 0.512 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.65e-06/0.7345, allocations: 0 / 0.512 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2947/1.029, allocations: 5.527 MB / 0.5174 GB, free: 123.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/1.03, allocations: 221.3 kB / 0.5176 GB, free: 123.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.031, allocations: 226.6 kB / 0.5178 GB, free: 123.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.032, allocations: 200.4 kB / 0.518 GB, free: 123.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001835/1.034, allocations: 0.7646 MB / 0.5188 GB, free: 123.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006385/1.035, allocations: 158.4 kB / 0.5189 GB, free: 123.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001102/1.036, allocations: 0.5621 MB / 0.5195 GB, free: 123.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.036, allocations: 0 / 0.5195 GB, free: 123.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003972/1.04, allocations: 0.8573 MB / 0.5203 GB, free: 123.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 210 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],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,$whenCondition3,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,P1.activeOut[1],T1.active,P1.activeOut[2],T2.active,$whenCondition18,$whenCondition17,$whenCondition19,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition12,$whenCondition11,$whenCondition13,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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.outTransition[1].tokenInOut,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,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,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,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.firingTime,T1.fireTime,T1.delayPassed,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,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcType[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.normalArc[1],T2.activation.active,T2.inPlaces[1].tokenInOut) * Number of discrete states: 149 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P3.firingSumOut.firingSum,P3.firingSumIn.firingSum,P3.t,P2.t,P1.t,P1.tokeninout,T2.activation.active,T2.delayPassed,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,T1.activation.active,T1.delayPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition4,P1.enableOut.arcWeightSum,P1.enableOut.TEout[2],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,$whenCondition5,P2.enableIn.arcWeightSum,P2.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,$whenCondition6,P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],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,$whenCondition3,P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 23 * Record equations: 0 * When equations: 9 * 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.002182/1.042, allocations: 0.734 MB / 0.521 GB, free: 123.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009896/1.052, allocations: 6.017 MB / 0.5269 GB, free: 121.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.06e-06/1.052, allocations: 1.438 kB / 0.5269 GB, free: 121.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009447/1.062, allocations: 9.103 MB / 0.5358 GB, free: 116.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/1.063, allocations: 237.4 kB / 0.536 GB, free: 116.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009097/1.072, allocations: 4.162 MB / 0.5401 GB, free: 114.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/1.074, allocations: 1.522 MB / 0.5416 GB, free: 114 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001493/1.075, allocations: 484.3 kB / 0.542 GB, free: 114 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/1.076, allocations: 119.6 kB / 0.5422 GB, free: 114 MB / 442.7 MB Notification: Performance of SimCode: time 1.649e-06/1.076, allocations: 0 / 0.5422 GB, free: 114 MB / 442.7 MB Notification: Performance of Templates: time 0.06375/1.139, allocations: 32.21 MB / 0.5736 GB, free: 100.8 MB / 442.7 MB