Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.InputConflictPrio.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.InputConflictPrio,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.InputConflictPrio") translateModel(PNlib.Examples.DisTest.InputConflictPrio,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.InputConflictPrio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 88.77 kB / 16.02 MB, free: 80 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.001403/0.001403, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1975/0.1975, allocations: 16.73 MB / 308.8 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004778, allocations: 12 kB / 374.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3373, allocations: 54.47 MB / 428.6 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictPrio): time 0.003083/0.3404, allocations: 3.577 MB / 432.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.3466, allocations: 4.167 MB / 436.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.3476, allocations: 16.5 kB / 436.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005296/0.3482, allocations: 258.1 kB / 436.6 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007133/0.3489, allocations: 264.5 kB / 436.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.3515, allocations: 1.535 MB / 438.4 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.3541, allocations: 3.453 MB / 441.8 MB, free: 32.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.3548, allocations: 0.6068 MB / 442.4 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.3566, allocations: 1.256 MB / 443.7 MB, free: 32.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.3578, allocations: 1.042 MB / 444.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.358, allocations: 123.6 kB / 444.8 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.3591, allocations: 0.761 MB / 445.6 MB, free: 31.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.3595, allocations: 454.3 kB / 446 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.3606, allocations: 1.2 MB / 447.2 MB, free: 30.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.363, allocations: 2.551 MB / 449.8 MB, free: 29.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.363, allocations: 0 / 449.8 MB, free: 29.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.363, allocations: 3.094 kB / 449.8 MB, free: 29.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-05/0.3631, allocations: 0 / 449.8 MB, free: 29.95 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.003262/0.3663, allocations: 2.987 MB / 452.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3664, allocations: 9.562 kB / 452.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.3674, allocations: 326.2 kB / 453.1 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.3688, allocations: 1.097 MB / 454.2 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.369, allocations: 347.6 kB / 454.5 MB, free: 26.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003892/0.3694, allocations: 296.9 kB / 454.8 MB, free: 26.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006669/0.3761, allocations: 5.131 MB / 460 MB, free: 24.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.767e-05/0.3762, allocations: 7.969 kB / 460 MB, free: 24.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/0.3765, allocations: 146.1 kB / 460.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00043/0.3769, allocations: 235.4 kB / 460.3 MB, free: 24.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007073/0.384, allocations: 3.623 MB / 464 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.3988, allocations: 11.26 MB / 475.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0061/0.4049, allocations: 5.905 MB / 481.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005218/0.4102, allocations: 5.626 MB / 486.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.4103, allocations: 95.86 kB / 486.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004437/0.4148, allocations: 3.271 MB / 490.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=257): time 6.091e-06/0.4148, allocations: 0 / 490.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=257): time 0.01259/0.4274, allocations: 9.405 MB / 499.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001068/0.4285, allocations: 1.725 MB / 0.4895 GB, free: 10.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.4303, allocations: 1.158 MB / 0.4906 GB, free: 9.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003442/0.4306, allocations: 165.6 kB / 0.4908 GB, free: 9.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.4315, allocations: 0.7689 MB / 0.4915 GB, free: 8.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007643/0.4322, allocations: 0.6332 MB / 0.4922 GB, free: 7.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00069/0.4329, allocations: 488.7 kB / 0.4926 GB, free: 7.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4331, allocations: 361.9 kB / 0.493 GB, free: 7.121 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/0.4357, allocations: 1.522 MB / 0.4945 GB, free: 5.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003574/0.4393, allocations: 2.829 MB / 0.4972 GB, free: 2.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/0.4508, allocations: 8.715 MB / 0.5057 GB, free: 8.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-05/0.4509, allocations: 12 kB / 0.5057 GB, free: 8.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.01017/0.4611, allocations: 6.137 MB / 0.5117 GB, free: 2.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000712/0.4618, allocations: 0.9989 MB / 0.5127 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.85e-05/0.4619, allocations: 36 kB / 0.5127 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.628e-05/0.462, allocations: 60 kB / 0.5128 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.4634, allocations: 440.2 kB / 0.5132 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.349e-05/0.4635, allocations: 83.66 kB / 0.5133 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.4656, allocations: 480.1 kB / 0.5138 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/0.4661, allocations: 200 kB / 0.514 GB, free: 15.56 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.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.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.enabledByInPlaces[2],P1.enabledByInPlaces[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.003998/0.4701, allocations: 2.298 MB / 0.5162 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009346/0.471, allocations: 250 kB / 0.5164 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.4832, allocations: 7.386 MB / 0.5236 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.53e-05/0.4833, allocations: 16 kB / 0.5237 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.4833, allocations: 4 kB / 0.5237 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.4833, allocations: 7.969 kB / 0.5237 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.4995, allocations: 10.56 MB / 0.534 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.4995, allocations: 0 / 0.534 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.4999, allocations: 103.8 kB / 0.5341 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.5, allocations: 4 kB / 0.5341 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003416/0.5003, allocations: 139.9 kB / 0.5342 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/0.5003, allocations: 7.938 kB / 0.5342 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5004, allocations: 7.922 kB / 0.5342 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.5122, allocations: 8.016 MB / 0.5421 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.5126, allocations: 250.6 kB / 0.5423 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000769/0.5134, allocations: 243.9 kB / 0.5425 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.5151, allocations: 263.7 kB / 0.5428 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001677/0.5168, allocations: 1.051 MB / 0.5438 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004161/0.5172, allocations: 159.9 kB / 0.544 GB, free: 116 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009908/0.5182, allocations: 0.6291 MB / 0.5446 GB, free: 15.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5182, allocations: 0 / 0.5446 GB, free: 15.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003116/0.5214, allocations: 0.979 MB / 0.5455 GB, free: 14.49 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.enabledByInPlaces[1],P1.enabledByInPlaces[2],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.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.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.001691/0.5231, allocations: 0.7394 MB / 0.5463 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01053/0.5336, allocations: 7.266 MB / 0.5534 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.5337, allocations: 4 kB / 0.5534 GB, free: 6.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01214/0.5458, allocations: 11.43 MB / 0.5645 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.5486, allocations: 337.4 kB / 0.5648 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.5612, allocations: 6.857 MB / 0.5715 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.5627, allocations: 1.569 MB / 0.5731 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.5632, allocations: 151.3 kB / 0.5732 GB, free: 1.398 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5632, allocations: 0 / 0.5732 GB, free: 1.398 MB / 446.1 MB Notification: Performance of Templates: time 0.2512/0.8144, allocations: 38.51 MB / 0.6108 GB, free: 125.7 MB / 462.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.InputConflictPrio.makefile make -j1 -f PNlib_PNlib.Examples.DisTest.InputConflictPrio.makefile clang++ -std=c++14 -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.InputConflictPrioCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.InputConflictPrioCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.InputConflictPrioCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictPrioInitialize.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.InputConflictPrioInitialize.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.InputConflictPrioCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictPrioInitialize.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.InputConflictPrioCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictPrioInitialize.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.InputConflictPrioInitialize.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.InputConflictPrioCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictPrioInitialize.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.InputConflictPrioCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictPrioInitialize.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.InputConflictPrioInitialize.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.InputConflictPrioCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictPrioInitialize.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.InputConflictPrioCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.InputConflictPrio.cpp:175: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.InputConflictPrio.cpp:285: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.InputConflictPrio.cpp:359: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.InputConflictPrioCalcHelperMain.o] Error 1