Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.InputConflictBeneGreedy,fileNamePrefix="PNlib_PNlib_Examples_DisTest_InputConflictBeneGreedy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.InputConflictBeneGreedy,fileNamePrefix="PNlib_PNlib_Examples_DisTest_InputConflictBeneGreedy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009315/0.009315, allocations: 103.1 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 193.8 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08207/0.08207, allocations: 16.73 MB / 307.3 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.89 kB / 425.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 53.47 MB / 479.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictBeneGreedy): time 0.007623/0.141, allocations: 3.796 MB / 483.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009266/0.1503, allocations: 3.412 MB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.1514, allocations: 23.88 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009616/0.1524, allocations: 333.2 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.1537, allocations: 353.1 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.1577, allocations: 1.742 MB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005761/0.1635, allocations: 4.4 MB / 493.4 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009761/0.1645, allocations: 0.623 MB / 494 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.167, allocations: 1.671 MB / 495.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.169, allocations: 1.221 MB / 496.9 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008772/0.1698, allocations: 332 kB / 497.2 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.1717, allocations: 0.9834 MB / 498.2 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009004/0.1726, allocations: 0.5177 MB / 498.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.175, allocations: 1.42 MB / 0.4884 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.1796, allocations: 3.713 MB / 0.492 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.1796, allocations: 0 / 0.492 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1796, allocations: 0 / 0.492 GB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.823e-05/0.1797, allocations: 0 / 0.492 GB, free: 12.86 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.005193/0.1849, allocations: 3.533 MB / 0.4955 GB, free: 9.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.185, allocations: 15.89 kB / 0.4955 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004733/0.1855, allocations: 390.1 kB / 0.4959 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009947/0.1865, allocations: 321.2 kB / 0.4962 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.1886, allocations: 1.096 MB / 0.4972 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/0.189, allocations: 348.4 kB / 0.4976 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000509/0.1896, allocations: 295.9 kB / 0.4978 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.1996, allocations: 5.127 MB / 0.5029 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/0.1997, allocations: 11.88 kB / 0.5029 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003374/0.2, allocations: 151.9 kB / 0.503 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003735/0.2004, allocations: 235.1 kB / 0.5032 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2116/0.412, allocations: 3.604 MB / 0.5068 GB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.4269, allocations: 11.25 MB / 0.5177 GB, free: 25.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006139/0.4331, allocations: 5.899 MB / 0.5235 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005443/0.4385, allocations: 5.636 MB / 0.529 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.4387, allocations: 95.14 kB / 0.5291 GB, free: 18.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004486/0.4432, allocations: 3.273 MB / 0.5323 GB, free: 16.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=257): time 5.671e-06/0.4432, allocations: 0 / 0.5323 GB, free: 16.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=257): time 0.01175/0.455, allocations: 9.386 MB / 0.5415 GB, free: 9.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006097/0.4556, allocations: 1.724 MB / 0.5431 GB, free: 7.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.4571, allocations: 1.158 MB / 0.5443 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.4574, allocations: 172.5 kB / 0.5444 GB, free: 6.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000622/0.458, allocations: 0.7655 MB / 0.5452 GB, free: 5.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005874/0.4586, allocations: 0.6425 MB / 0.5458 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.4596, allocations: 0.7803 MB / 0.5466 GB, free: 4.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.4597, allocations: 353.9 kB / 0.5469 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.4619, allocations: 1.522 MB / 0.5484 GB, free: 2.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00302/0.4649, allocations: 2.821 MB / 0.5511 GB, free: 14.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.4752, allocations: 8.702 MB / 0.5596 GB, free: 5.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-05/0.4753, allocations: 15.5 kB / 0.5597 GB, free: 5.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.00958/0.4849, allocations: 6.135 MB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000715/0.4856, allocations: 0.9989 MB / 0.5666 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.4858, allocations: 40.88 kB / 0.5667 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.4859, allocations: 56 kB / 0.5667 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.4874, allocations: 438.9 kB / 0.5671 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001169/0.4875, allocations: 87.7 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.4898, allocations: 464.3 kB / 0.5677 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004786/0.4903, allocations: 192 kB / 0.5678 GB, free: 12.35 MB / 414.1 MB Warning: Assuming fixed start value for the following 75 variables: P3.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P3.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T3.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P3.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T3.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 176 * Number of states: 0 () * Number of discrete variables: 426 ($PRE.P3.enableOut.valid,P3.enableOut.valid,$PRE.P3.enableOut.benefitLimit,P3.enableOut.benefitLimit,$PRE.P3.enableOut.benefitMax,P3.enableOut.benefitMax,$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,P3.enableOut.randNum,$PRE.P3.enableOut.randNum,P3.enableOut.state128[4],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[1],P3.enableOut.cumEnablingProb[1],$PRE.P3.enableOut.cumEnablingProb[1],$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,P3.enableOut.remTAout[1],$PRE.P3.enableOut.remTAout[1],$PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition21,$PRE.P2.reStart,$whenCondition12,$PRE.P3.reStart,$whenCondition9,$PRE.P3.tokeninout,P3.outTransition[1].tokenInOut,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.P3.firingSumOut.firingSum,$PRE.P3.firingSumIn.firingSum,P3.tokeninout,$whenCondition7,$whenCondition8,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition10,$whenCondition11,$PRE.T3.ani,$PRE.T3.fireTime,T3.ani,T3.fireTime,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition19,$whenCondition20,P3.firingSumIn.firingSum,P2.firingSumIn.firingSum,$PRE.P3.enableIn.benefitLimit,P3.enableIn.benefitLimit,$PRE.P3.enableIn.valid,P3.enableIn.valid,$PRE.P3.enableIn.benefitMax,P3.enableIn.benefitMax,$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,P3.enableIn.randNum,$PRE.P3.enableIn.randNum,P3.enableIn.state128[4],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[1],$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,P3.enableIn.arcWeightSum,$PRE.P3.enableIn.arcWeightSum,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,$whenCondition2,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.arcWeightSum,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,$whenCondition1,P3.outTransition[1].normalArc,P3.outTransition[1].testValueint,P3.outTransition[1].arcType,P3.outTransition[1].disPlace,T3.inPlaces[1].disTransition,P3.reStart,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,T2.inPlaces[1].disTransition,P2.reStart,T3.firingCon,T3.outPlaces[1].disTransition,P1.inTransition[2].disPlace,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[2],P1.enableIn.disTransition[1],$PRE.P3.enableOut.arcWeightSum,$PRE.P3.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,$PRE.P2.enableOut.TEout[1],$PRE.T3.firingTime,$PRE.T2.firingTime,$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],T2.activation.arcWeightIntIn[1],P1.enableIn.arcWeight[1],T3.activation.arcWeightIntIn[1],P1.enableIn.arcWeight[2],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],P3.enableOut.disTransition[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P2.enableOut.disTransition[1],T3.activation.disPlaceOut[1],T2.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],P3.enableOut.arcWeightSum,P3.enableOut.TEout[1],P3.enableOut.TEout_[1],P3.enableOut.TAout[1],P3.enableOut.arcWeight[1],P3.firingSumOut.firingSum,P3.firingSumOut.arcWeight[1],P3.firingSumOut.fire[1],P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.delayPassedOut.vec[1],P3.activeConOut.anychange,P3.activeConOut.vec[1],P3.activeOut[1],$PRE.P3.activeOut[1],P3.t,$PRE.P3.t,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableOut.arcWeight[1],P2.firingSumOut.firingSum,P2.firingSumOut.arcWeight[1],P2.firingSumOut.fire[1],P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.delayPassedOut.vec[1],P2.activeConOut.anychange,P2.activeConOut.vec[1],P2.activeOut[1],$PRE.P2.activeOut[1],P2.t,$PRE.P2.t,T3.activation.active,T3.activation.maxTokensInt[1],T3.activation.minTokensInt[1],T3.activation.arcWeightIntOut[1],T3.activation.tIntOut[1],T3.activation.tIntIn[1],T3.delayPassed,$PRE.T3.delayPassed,T3.firingTime,T3.outPlaces[1].enabledByInPlaces,T3.active,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.minTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.activation.tIntIn[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.outPlaces[1].enabledByInPlaces,T2.active,T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.enableIn.TAein[2],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[2],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,P3.outTransition[1].fed,P2.outTransition[1].fed,T1.enabledByOutPlaces,P1.outTransition[1].fed,P1.inTransition[2].emptied,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (465): * Single equations (assignments): 432 * Array equations: 3 * Algorithm blocks: 30 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003895/0.4942, allocations: 2.284 MB / 0.5701 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/0.4953, allocations: 250 kB / 0.5703 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.5076, allocations: 7.376 MB / 0.5775 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/0.5077, allocations: 23.98 kB / 0.5775 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.5077, allocations: 4 kB / 0.5775 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.5077, allocations: 3.984 kB / 0.5776 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.5249, allocations: 10.54 MB / 0.5878 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.525, allocations: 3.938 kB / 0.5878 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.5254, allocations: 107.8 kB / 0.588 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.5254, allocations: 4 kB / 0.588 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000373/0.5258, allocations: 135.9 kB / 0.5881 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/0.5258, allocations: 4 kB / 0.5881 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.5258, allocations: 7.938 kB / 0.5881 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.538, allocations: 8.022 MB / 0.5959 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/0.5384, allocations: 246.7 kB / 0.5962 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007213/0.5392, allocations: 243.9 kB / 0.5964 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/0.5408, allocations: 263.8 kB / 0.5966 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00169/0.5425, allocations: 1.057 MB / 0.5977 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004193/0.543, allocations: 164.1 kB / 0.5978 GB, free: 13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008911/0.5439, allocations: 0.6252 MB / 0.5984 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5439, allocations: 0 / 0.5984 GB, free: 12.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003285/0.5472, allocations: 0.974 MB / 0.5994 GB, free: 11.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 230 ($whenCondition1,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],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,$whenCondition2,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],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,T1.active,T2.active,T3.active,$whenCondition20,$whenCondition19,$whenCondition21,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.fire[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.arcWeight[2],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.TAein[2],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T2.outPlaces[1].enabledByInPlaces,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,T3.outPlaces[1].enabledByInPlaces,T3.firingTime,T3.fireTime,T3.delayPassed,T3.ani,T3.activation.tIntIn[1],T3.activation.tIntOut[1],T3.activation.arcWeightIntOut[1],T3.activation.minTokensInt[1],T3.activation.maxTokensInt[1],T3.activation.active,P2.t,P2.outTransition[1].tokenInOut,P2.tokeninout,P2.activeOut[1],P2.activeConOut.vec[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.arcWeight[1],P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],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,P3.t,P3.outTransition[1].tokenInOut,P3.tokeninout,P3.activeOut[1],P3.activeConOut.vec[1],P3.activeConOut.anychange,P3.delayPassedOut.vec[1],P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.firingSumIn.firingSum,P3.firingSumOut.fire[1],P3.firingSumOut.arcWeight[1],P3.firingSumOut.firingSum,P3.enableOut.arcWeight[1],P3.enableOut.TAout[1],P3.enableOut.TEout_[1],P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.TEout[1],P3.enableOut.remTAout[1],P3.enableOut.cumEnablingProb[1],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) * Number of discrete states: 162 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P3.firingSumOut.firingSum,P3.firingSumIn.firingSum,P3.tokeninout,P2.tokeninout,P1.tokeninout,P3.t,P3.activeOut[1],P2.t,P2.activeOut[1],P1.t,P1.activeOut[1],P3.activeConOut.anychange,i,P3.activeConOut.vec[i],P2.activeConOut.anychange,P2.activeConOut.vec[i],T3.activation.active,T3.delayPassed,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.enableOut.TEout_[1],P3.enableOut.valid,P3.enableOut.benefitLimit,P3.enableOut.benefitMax,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.endWhile,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.cumEnablingProb[1],P3.enableOut.sumEnablingProbTAout,P3.enableOut.nTAout,P3.enableOut.nremTAout,P3.enableOut.remTAout[1],P3.enableOut.Index,$whenCondition6,P3.enableOut.arcWeightSum,P3.enableOut.TEout[1],T2.activation.active,T2.delayPassed,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,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[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,$whenCondition5,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[2],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[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition4,P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition3,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P3.enableIn.benefitLimit,P3.enableIn.valid,P3.enableIn.benefitMax,P3.enableIn.Index,P3.enableIn.endWhile,P3.enableIn.sumEnablingProbTAin,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.nTAin,P3.enableIn.nremTAin,$whenCondition2,P3.enableIn.arcWeightSum,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P2.enableIn.benefitLimit,P2.enableIn.valid,P2.enableIn.benefitMax,P2.enableIn.Index,P2.enableIn.endWhile,P2.enableIn.sumEnablingProbTAin,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.nTAin,P2.enableIn.nremTAin,$whenCondition1,P2.enableIn.arcWeightSum,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 24 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01367/0.5609, allocations: 9.204 MB / 0.6084 GB, free: 2.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009358/0.5702, allocations: 7.278 MB / 0.6155 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.5703, allocations: 0 / 0.6155 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01266/0.583, allocations: 11.48 MB / 0.6267 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.5854, allocations: 369.9 kB / 0.6271 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04293/0.6284, allocations: 25.57 MB / 0.652 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.6302, allocations: 1.6 MB / 0.6536 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001518/0.6318, allocations: 0.5451 MB / 0.6541 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.6329, allocations: 0.718 MB / 0.6548 GB, free: 188 kB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6329, allocations: 0 / 0.6548 GB, free: 188 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3492/0.9821, allocations: 57.69 MB / 0.7112 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/12.09, allocations: 5.406 kB / 0.7112 GB, free: 179.5 MB / 0.5294 GB (rm -f PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.pipe >> ../files/PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_InputConflictBeneGreedy_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_InputConflictBeneGreedy.fmu > PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.InputConflictBeneGreedy.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:P1.t,P2.t,P3.t,T1.active,T1.fire,T2.active,T2.fire,T3.active,T3.fire,time Variables in the result:P1.N,P1.animateMarking,P1.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneIn[1],P1.enablingBeneIn[2],P1.enablingBeneOut[1],P1.enablingPrioIn[1],P1.enablingPrioIn[2],P1.enablingPrioOut[1],P1.enablingProbIn[1],P1.enablingProbIn[2],P1.enablingProbOut[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.inTransition[2].active,P1.inTransition[2].arcWeight,P1.inTransition[2].arcWeightint,P1.inTransition[2].decreasingFactor,P1.inTransition[2].disPlace,P1.inTransition[2].disTransition,P1.inTransition[2].emptied,P1.inTransition[2].enable,P1.inTransition[2].enabledByInPlaces,P1.inTransition[2].fire,P1.inTransition[2].instSpeed,P1.inTransition[2].maxSpeed,P1.inTransition[2].maxTokens,P1.inTransition[2].maxTokensint,P1.inTransition[2].prelimSpeed,P1.inTransition[2].speedSum,P1.inTransition[2].t,P1.inTransition[2].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,P2.N,P2.animateMarking,P2.benefitType,P2.color[1],P2.color[2],P2.color[3],P2.enablingBeneOut[1],P2.enablingPrioOut[1],P2.enablingProbOut[1],P2.enablingType,P2.levelCon,P2.localSeedIn,P2.localSeedOut,P2.maxTokens,P2.minTokens,P2.nIn,P2.nOut,P2.outTransition[1].active,P2.outTransition[1].arcType,P2.outTransition[1].arcWeight,P2.outTransition[1].arcWeightint,P2.outTransition[1].decreasingFactor,P2.outTransition[1].disPlace,P2.outTransition[1].disTransition,P2.outTransition[1].enable,P2.outTransition[1].fed,P2.outTransition[1].fire,P2.outTransition[1].instSpeed,P2.outTransition[1].maxSpeed,P2.outTransition[1].minTokens,P2.outTransition[1].minTokensint,P2.outTransition[1].normalArc,P2.outTransition[1].prelimSpeed,P2.outTransition[1].speedSum,P2.outTransition[1].t,P2.outTransition[1].testValue,P2.outTransition[1].testValueint,P2.outTransition[1].tint,P2.outTransition[1].tokenInOut,P2.pd_t,P2.reStart,P2.reStartTokens,P2.showCapacity,P2.showTokenFlow,P2.startTokens,P2.t,P3.N,P3.animateMarking,P3.benefitType,P3.color[1],P3.color[2],P3.color[3],P3.enablingBeneOut[1],P3.enablingPrioOut[1],P3.enablingProbOut[1],P3.enablingType,P3.levelCon,P3.localSeedIn,P3.localSeedOut,P3.maxTokens,P3.minTokens,P3.nIn,P3.nOut,P3.outTransition[1].active,P3.outTransition[1].arcType,P3.outTransition[1].arcWeight,P3.outTransition[1].arcWeightint,P3.outTransition[1].decreasingFactor,P3.outTransition[1].disPlace,P3.outTransition[1].disTransition,P3.outTransition[1].enable,P3.outTransition[1].fed,P3.outTransition[1].fire,P3.outTransition[1].instSpeed,P3.outTransition[1].maxSpeed,P3.outTransition[1].minTokens,P3.outTransition[1].minTokensint,P3.outTransition[1].normalArc,P3.outTransition[1].prelimSpeed,P3.outTransition[1].speedSum,P3.outTransition[1].t,P3.outTransition[1].testValue,P3.outTransition[1].testValueint,P3.outTransition[1].tint,P3.outTransition[1].tokenInOut,P3.pd_t,P3.reStart,P3.reStartTokens,P3.showCapacity,P3.showTokenFlow,P3.startTokens,P3.t,T1.active,T1.arcWeightIn[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,T2.active,T2.arcWeightIn[1],T2.arcWeightOut[1],T2.delay,T2.fire,T2.firingCon,T2.inPlaces[1].active,T2.inPlaces[1].arcType,T2.inPlaces[1].arcWeight,T2.inPlaces[1].arcWeightint,T2.inPlaces[1].decreasingFactor,T2.inPlaces[1].disPlace,T2.inPlaces[1].disTransition,T2.inPlaces[1].enable,T2.inPlaces[1].fed,T2.inPlaces[1].fire,T2.inPlaces[1].instSpeed,T2.inPlaces[1].maxSpeed,T2.inPlaces[1].minTokens,T2.inPlaces[1].minTokensint,T2.inPlaces[1].normalArc,T2.inPlaces[1].prelimSpeed,T2.inPlaces[1].speedSum,T2.inPlaces[1].t,T2.inPlaces[1].testValue,T2.inPlaces[1].testValueint,T2.inPlaces[1].tint,T2.inPlaces[1].tokenInOut,T2.nIn,T2.nOut,T2.outPlaces[1].active,T2.outPlaces[1].arcWeight,T2.outPlaces[1].arcWeightint,T2.outPlaces[1].decreasingFactor,T2.outPlaces[1].disPlace,T2.outPlaces[1].disTransition,T2.outPlaces[1].emptied,T2.outPlaces[1].enable,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].fire,T2.outPlaces[1].instSpeed,T2.outPlaces[1].maxSpeed,T2.outPlaces[1].maxTokens,T2.outPlaces[1].maxTokensint,T2.outPlaces[1].prelimSpeed,T2.outPlaces[1].speedSum,T2.outPlaces[1].t,T2.outPlaces[1].tint,T3.active,T3.arcWeightIn[1],T3.arcWeightOut[1],T3.delay,T3.fire,T3.firingCon,T3.inPlaces[1].active,T3.inPlaces[1].arcType,T3.inPlaces[1].arcWeight,T3.inPlaces[1].arcWeightint,T3.inPlaces[1].decreasingFactor,T3.inPlaces[1].disPlace,T3.inPlaces[1].disTransition,T3.inPlaces[1].enable,T3.inPlaces[1].fed,T3.inPlaces[1].fire,T3.inPlaces[1].instSpeed,T3.inPlaces[1].maxSpeed,T3.inPlaces[1].minTokens,T3.inPlaces[1].minTokensint,T3.inPlaces[1].normalArc,T3.inPlaces[1].prelimSpeed,T3.inPlaces[1].speedSum,T3.inPlaces[1].t,T3.inPlaces[1].testValue,T3.inPlaces[1].testValueint,T3.inPlaces[1].tint,T3.inPlaces[1].tokenInOut,T3.nIn,T3.nOut,T3.outPlaces[1].active,T3.outPlaces[1].arcWeight,T3.outPlaces[1].arcWeightint,T3.outPlaces[1].decreasingFactor,T3.outPlaces[1].disPlace,T3.outPlaces[1].disTransition,T3.outPlaces[1].emptied,T3.outPlaces[1].enable,T3.outPlaces[1].enabledByInPlaces,T3.outPlaces[1].fire,T3.outPlaces[1].instSpeed,T3.outPlaces[1].maxSpeed,T3.outPlaces[1].maxTokens,T3.outPlaces[1].maxTokensint,T3.outPlaces[1].prelimSpeed,T3.outPlaces[1].speedSum,T3.outPlaces[1].t,T3.outPlaces[1].tint,settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time