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.001541/0.001541, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2665/0.2665, allocations: 16.76 MB / 307.1 MB, free: 14.94 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.89 kB / 371.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2759, allocations: 53.45 MB / 425.2 MB, free: 39.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictBeneGreedy): time 0.004007/0.2799, allocations: 3.79 MB / 429 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005274/0.2852, allocations: 3.422 MB / 432.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007987/0.286, allocations: 24.16 kB / 432.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006304/0.2867, allocations: 327.9 kB / 432.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007816/0.2875, allocations: 346.7 kB / 433.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.2908, allocations: 1.749 MB / 434.8 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00441/0.2952, allocations: 4.387 MB / 439.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000816/0.296, allocations: 0.6356 MB / 439.9 MB, free: 32.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.2982, allocations: 1.649 MB / 441.5 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.2997, allocations: 1.2 MB / 442.7 MB, free: 30.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000578/0.3003, allocations: 331.2 kB / 443 MB, free: 30.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.3018, allocations: 0.975 MB / 444 MB, free: 30.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004755/0.3023, allocations: 0.5379 MB / 444.6 MB, free: 30.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.3037, allocations: 1.411 MB / 446 MB, free: 29.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004137/0.3079, allocations: 3.573 MB / 449.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3079, allocations: 3.375 kB / 449.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3079, allocations: 0 / 449.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.115e-05/0.308, allocations: 0 / 449.5 MB, free: 28.05 MB / 350.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.005478/0.3135, allocations: 3.526 MB / 453.1 MB, free: 25.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.3135, allocations: 14.33 kB / 453.1 MB, free: 25.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000464/0.314, allocations: 399.5 kB / 453.5 MB, free: 25.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.3151, allocations: 322.3 kB / 453.8 MB, free: 25.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.3166, allocations: 1.092 MB / 454.9 MB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.3168, allocations: 355.1 kB / 455.2 MB, free: 24.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003853/0.3172, allocations: 292.8 kB / 455.5 MB, free: 24.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00937/0.3266, allocations: 5.125 MB / 460.6 MB, free: 22.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/0.3267, allocations: 9.266 kB / 460.6 MB, free: 22.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/0.327, allocations: 145 kB / 460.8 MB, free: 21.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004016/0.3275, allocations: 238.8 kB / 461 MB, free: 21.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006914/0.3344, allocations: 3.607 MB / 464.6 MB, free: 20.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01663/0.351, allocations: 11.31 MB / 475.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006408/0.3575, allocations: 5.892 MB / 481.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005705/0.3632, allocations: 5.63 MB / 487.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.3634, allocations: 95.81 kB / 487.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004729/0.3681, allocations: 3.267 MB / 490.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=257): time 4.809e-06/0.3682, allocations: 0 / 490.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=257): time 0.01375/0.3819, allocations: 9.39 MB / 0.4885 GB, free: 9.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001254/0.3832, allocations: 1.733 MB / 0.4902 GB, free: 7.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.385, allocations: 1.154 MB / 0.4913 GB, free: 5.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000325/0.3853, allocations: 169.6 kB / 0.4915 GB, free: 5.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006673/0.386, allocations: 0.7766 MB / 0.4922 GB, free: 4.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006346/0.3866, allocations: 0.6332 MB / 0.4928 GB, free: 4.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.3876, allocations: 0.7845 MB / 0.4936 GB, free: 3.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3878, allocations: 361.8 kB / 0.494 GB, free: 3.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/0.3902, allocations: 1.522 MB / 0.4954 GB, free: 1.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003325/0.3935, allocations: 2.818 MB / 0.4982 GB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009768/0.4033, allocations: 8.711 MB / 0.5067 GB, free: 4.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.031e-05/0.4034, allocations: 16 kB / 0.5067 GB, free: 4.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.008463/0.4118, allocations: 6.129 MB / 0.5127 GB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005926/0.4124, allocations: 0.9911 MB / 0.5137 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-05/0.4125, allocations: 43.94 kB / 0.5137 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-05/0.4126, allocations: 60 kB / 0.5138 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.4137, allocations: 438.9 kB / 0.5142 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.714e-05/0.4138, allocations: 87.7 kB / 0.5143 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.4156, allocations: 461.3 kB / 0.5147 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.4159, allocations: 192 kB / 0.5149 GB, free: 11.62 MB / 398.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.003198/0.4191, allocations: 2.298 MB / 0.5171 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/0.4196, allocations: 250 kB / 0.5174 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/0.4301, allocations: 7.387 MB / 0.5246 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.153e-05/0.4301, allocations: 19.98 kB / 0.5246 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4301, allocations: 0 / 0.5246 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.4302, allocations: 7.984 kB / 0.5246 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.4447, allocations: 10.54 MB / 0.5349 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4448, allocations: 0 / 0.5349 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.4452, allocations: 103.8 kB / 0.535 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.4452, allocations: 8 kB / 0.535 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002987/0.4455, allocations: 143.9 kB / 0.5352 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.4455, allocations: 7.938 kB / 0.5352 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4455, allocations: 0 / 0.5352 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.4567, allocations: 8.016 MB / 0.543 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.457, allocations: 242.7 kB / 0.5432 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006867/0.4577, allocations: 247.9 kB / 0.5435 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.4593, allocations: 263.7 kB / 0.5437 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001486/0.4608, allocations: 1.051 MB / 0.5447 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003267/0.4611, allocations: 163.9 kB / 0.5449 GB, free: 12.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007507/0.4619, allocations: 0.6213 MB / 0.5455 GB, free: 11.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4619, allocations: 4 kB / 0.5455 GB, free: 11.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00259/0.4645, allocations: 0.979 MB / 0.5465 GB, free: 10.57 MB / 430.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.01252/0.477, allocations: 9.208 MB / 0.5554 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01238/0.4894, allocations: 8.16 MB / 0.5634 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4894, allocations: 0.8125 kB / 0.5634 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01321/0.5027, allocations: 11.49 MB / 0.5746 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.5054, allocations: 353.8 kB / 0.575 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2248/0.7302, allocations: 26.8 MB / 0.6011 GB, free: 133.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.7313, allocations: 1.603 MB / 0.6027 GB, free: 133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001233/0.7325, allocations: 0.548 MB / 0.6032 GB, free: 133 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/0.7333, allocations: 0.7118 MB / 0.6039 GB, free: 132.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.302e-06/0.7333, allocations: 0 / 0.6039 GB, free: 132.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0907/0.824, allocations: 55.83 MB / 0.6585 GB, free: 98.99 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.167/9.991, allocations: 6.047 kB / 0.6585 GB, free: 98.99 MB / 462.1 MB (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