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: translateModel(PNlib.Examples.DisTest.InputConflictBeneGreedy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy") translateModel(PNlib.Examples.DisTest.InputConflictBeneGreedy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 106.6 kB / 16.41 MB, free: 5.973 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.00647/0.00647, allocations: 189.3 kB / 17.34 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.668/2.668, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1545/0.1545, allocations: 16.73 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 67.91 kB / 427 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1849, allocations: 53.48 MB / 480.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictBeneGreedy): time 0.01388/0.1988, allocations: 3.786 MB / 484.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.2165, allocations: 3.416 MB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.2186, allocations: 23.88 kB / 487.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.2203, allocations: 329.2 kB / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.2229, allocations: 349.2 kB / 488.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01129/0.2342, allocations: 1.755 MB / 490.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.2444, allocations: 4.392 MB / 494.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005876/0.2504, allocations: 0.6341 MB / 495.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/0.2548, allocations: 1.663 MB / 496.8 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/0.2584, allocations: 1.213 MB / 498 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001735/0.2602, allocations: 332 kB / 498.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.2637, allocations: 0.9911 MB / 499.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.2651, allocations: 0.5177 MB / 499.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004188/0.2693, allocations: 1.413 MB / 0.4895 GB, free: 56 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008904/0.2783, allocations: 3.716 MB / 0.4932 GB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.2783, allocations: 0 / 0.4932 GB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.2784, allocations: 0 / 0.4932 GB, free: 12.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001409/0.2785, allocations: 0 / 0.4932 GB, free: 12.33 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.01215/0.2907, allocations: 3.533 MB / 0.4966 GB, free: 8.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.2908, allocations: 8.031 kB / 0.4966 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.2937, allocations: 325.2 kB / 0.4969 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/0.2979, allocations: 1.092 MB / 0.498 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008129/0.2988, allocations: 352.4 kB / 0.4983 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.3003, allocations: 284 kB / 0.4986 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.3193, allocations: 5.135 MB / 0.5036 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.3195, allocations: 3.938 kB / 0.5036 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001242/0.3207, allocations: 147.9 kB / 0.5038 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000799/0.3216, allocations: 243.1 kB / 0.504 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.39/0.7116, allocations: 3.599 MB / 0.5075 GB, free: 33.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03187/0.7435, allocations: 11.25 MB / 0.5185 GB, free: 25.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.7565, allocations: 5.898 MB / 0.5243 GB, free: 21.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01412/0.7707, allocations: 5.624 MB / 0.5298 GB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.771, allocations: 109.1 kB / 0.5299 GB, free: 18.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01447/0.7855, allocations: 3.264 MB / 0.533 GB, free: 16.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=257): time 9.307e-06/0.7856, allocations: 3.172 kB / 0.533 GB, free: 16.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=257): time 0.0369/0.8225, allocations: 9.394 MB / 0.5422 GB, free: 9.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001582/0.8241, allocations: 1.722 MB / 0.5439 GB, free: 7.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.827, allocations: 1.158 MB / 0.545 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007068/0.8277, allocations: 169.7 kB / 0.5452 GB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.8288, allocations: 0.7661 MB / 0.5459 GB, free: 5.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001389/0.8302, allocations: 0.6414 MB / 0.5466 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002647/0.8329, allocations: 0.7827 MB / 0.5473 GB, free: 4.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8331, allocations: 355.2 kB / 0.5477 GB, free: 3.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004435/0.8375, allocations: 1.524 MB / 0.5492 GB, free: 2.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006204/0.8438, allocations: 2.821 MB / 0.5519 GB, free: 14.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02003/0.8638, allocations: 8.702 MB / 0.5604 GB, free: 4.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001349/0.8641, allocations: 12 kB / 0.5604 GB, free: 4.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.02051/0.8846, allocations: 6.14 MB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00116/0.8858, allocations: 0.9989 MB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/0.886, allocations: 36 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.8862, allocations: 60 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.8889, allocations: 442.9 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/0.8891, allocations: 83.72 kB / 0.568 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/0.8933, allocations: 464.3 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.8944, allocations: 194.6 kB / 0.5686 GB, free: 12.17 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.007174/0.9016, allocations: 2.293 MB / 0.5709 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/0.9034, allocations: 250 kB / 0.5711 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02426/0.9277, allocations: 7.381 MB / 0.5783 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.952e-05/0.9278, allocations: 19.98 kB / 0.5783 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/0.9278, allocations: 8 kB / 0.5783 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-05/0.9279, allocations: 3.984 kB / 0.5783 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03557/0.9635, allocations: 10.53 MB / 0.5886 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/0.9636, allocations: 0 / 0.5886 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.9644, allocations: 107.8 kB / 0.5887 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.662e-05/0.9645, allocations: 7.984 kB / 0.5887 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/0.9655, allocations: 139.9 kB / 0.5889 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.129e-05/0.9656, allocations: 4 kB / 0.5889 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.9656, allocations: 4 kB / 0.5889 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02651/0.9921, allocations: 8.015 MB / 0.5967 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007293/0.9929, allocations: 246.6 kB / 0.5969 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/0.9945, allocations: 251.8 kB / 0.5972 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/0.9974, allocations: 259.7 kB / 0.5974 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002951/1, allocations: 1.061 MB / 0.5985 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001162/1.002, allocations: 163 kB / 0.5986 GB, free: 12.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001935/1.004, allocations: 0.6252 MB / 0.5992 GB, free: 12.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.01e-07/1.004, allocations: 0 / 0.5992 GB, free: 12.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006762/1.01, allocations: 0.9736 MB / 0.6002 GB, free: 11.23 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.003632/1.014, allocations: 0.7372 MB / 0.6009 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01733/1.031, allocations: 7.267 MB / 0.608 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.098e-05/1.031, allocations: 8.125 kB / 0.608 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02168/1.053, allocations: 11.42 MB / 0.6192 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004068/1.057, allocations: 364.9 kB / 0.6195 GB, free: 6.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/1.078, allocations: 6.198 MB / 0.6256 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/1.081, allocations: 1.557 MB / 0.6271 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.082, allocations: 155.4 kB / 0.6272 GB, free: 14.84 MB / 478.1 MB Notification: Performance of SimCode: time 2.154e-06/1.082, allocations: 0 / 0.6272 GB, free: 14.84 MB / 478.1 MB Notification: Performance of Templates: time 0.1043/1.187, allocations: 39.03 MB / 0.6653 GB, free: 7.723 MB / 0.4981 GB make -j1 -f PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.makefile make -j1 -f PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyInitialize.cpp:1275:62: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_P1_P_activeOut__pre && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyInitialize.cpp:1310:113: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyInitialize.cpp:1310:205: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyInitialize.cpp:1992:62: error: invalid argument type 'StatArrayDim1' to unary expression _P2_P_activeConOut_P_vec_.assign((_P2_P_activeOut__pre && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyInitialize.cpp:2027:113: error: no matching function for call to object of type 'WrapArray' _P2_P_activeConOut_P_anychange_ = (_P2_P_activeConOut_P_anychange_ || ((!_P2_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P2_P_activeConOut_P_vec_)(i_)) || (_P2_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P2_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyInitialize.cpp:2027:205: error: no matching function for call to object of type 'WrapArray' _P2_P_activeConOut_P_anychange_ = (_P2_P_activeConOut_P_anychange_ || ((!_P2_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P2_P_activeConOut_P_vec_)(i_)) || (_P2_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P2_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyInitialize.cpp:2864:62: error: invalid argument type 'StatArrayDim1' to unary expression _P3_P_activeConOut_P_vec_.assign((_P3_P_activeOut__pre && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyInitialize.cpp:2899:113: error: no matching function for call to object of type 'WrapArray' _P3_P_activeConOut_P_anychange_ = (_P3_P_activeConOut_P_anychange_ || ((!_P3_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P3_P_activeConOut_P_vec_)(i_)) || (_P3_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P3_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyInitialize.cpp:2899:205: error: no matching function for call to object of type 'WrapArray' _P3_P_activeConOut_P_anychange_ = (_P3_P_activeConOut_P_anychange_ || ((!_P3_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P3_P_activeConOut_P_vec_)(i_)) || (_P3_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P3_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.cpp:174:81: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P1_P_activeOut_) && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.cpp:284:81: error: invalid argument type 'StatArrayDim1' to unary expression _P2_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P2_P_activeOut_) && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.cpp:358:81: error: invalid argument type 'StatArrayDim1' to unary expression _P3_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P3_P_activeOut_) && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ 12 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.DisTest.InputConflictBeneGreedyCalcHelperMain.o] Error 1