Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SixConflictProb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.SixConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SixConflictProb") translateModel(PNlib.Examples.DisTest.SixConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SixConflictProb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000829/0.0008292, allocations: 81.41 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06848/0.06848, allocations: 16.73 MB / 326.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.37e-05/1.372e-05, allocations: 4 kB / 384 MB, free: 70.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09155, allocations: 51.7 MB / 435.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.4306, allocations: 80.11 MB / 0.5037 GB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.4308, allocations: 69.06 kB / 0.5038 GB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07019/0.501, allocations: 30.83 MB / 0.5339 GB, free: 7.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5011, allocations: 7.875 kB / 0.5339 GB, free: 7.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.66e-05/0.5012, allocations: 36 kB / 0.5339 GB, free: 7.273 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.003776/0.5049, allocations: 2.589 MB / 0.5364 GB, free: 4.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.505, allocations: 8.031 kB / 0.5365 GB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008158/0.5058, allocations: 303.6 kB / 0.5367 GB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.5077, allocations: 1.066 MB / 0.5378 GB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.508, allocations: 296.8 kB / 0.5381 GB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.5084, allocations: 178.9 kB / 0.5382 GB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004798/0.5132, allocations: 3.503 MB / 0.5417 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008051/0.5213, allocations: 4.709 MB / 0.5463 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.184e-05/0.5214, allocations: 11.88 kB / 0.5463 GB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.5217, allocations: 43.16 kB / 0.5463 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003267/0.522, allocations: 214.6 kB / 0.5465 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.5361, allocations: 11.26 MB / 0.5575 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004777/0.541, allocations: 4.203 MB / 0.5616 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004482/0.5455, allocations: 3.912 MB / 0.5654 GB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.5458, allocations: 98.41 kB / 0.5655 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00401/0.5498, allocations: 2.461 MB / 0.5679 GB, free: 6.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=193): time 3.427e-06/0.5499, allocations: 0 / 0.5679 GB, free: 6.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.006487/0.5564, allocations: 4.146 MB / 0.572 GB, free: 2.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007336/0.5572, allocations: 0.9775 MB / 0.5729 GB, free: 1.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.559, allocations: 1.035 MB / 0.5739 GB, free: 396 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.5592, allocations: 81.67 kB / 0.574 GB, free: 308 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007778/0.56, allocations: 0.9589 MB / 0.575 GB, free: 15.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005066/0.5605, allocations: 473.5 kB / 0.5754 GB, free: 14.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.5607, allocations: 19.98 kB / 0.5754 GB, free: 14.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002884/0.561, allocations: 478.4 kB / 0.5759 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.5631, allocations: 1.557 MB / 0.5774 GB, free: 12.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/0.5661, allocations: 2.738 MB / 0.5801 GB, free: 9.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/0.5683, allocations: 1.383 MB / 0.5814 GB, free: 8.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-05/0.5684, allocations: 12 kB / 0.5814 GB, free: 8.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=460) (initialization): time 0.008027/0.5764, allocations: 4.651 MB / 0.586 GB, free: 3.516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005308/0.577, allocations: 0.5638 MB / 0.5865 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.966e-05/0.5771, allocations: 40 kB / 0.5866 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.5772, allocations: 60.78 kB / 0.5866 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.5787, allocations: 458.9 kB / 0.5871 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.403e-05/0.5788, allocations: 83.72 kB / 0.5871 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.581, allocations: 349.5 kB / 0.5875 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/0.5813, allocations: 176 kB / 0.5876 GB, free: 1.715 MB / 394.7 MB Warning: Assuming fixed start value for the following 40 variables: P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer T6.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T6.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T5.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T5.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T4.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T3.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real T6.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T5.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T4.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T3.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T2.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 348 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[6],P1.enableOut.cumEnablingProb[6],$PRE.P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[5],$PRE.P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[4],$PRE.P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[3],$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[6],P1.enableOut.remTAout[6],$PRE.P1.enableOut.remTAout[5],P1.enableOut.remTAout[5],$PRE.P1.enableOut.remTAout[4],P1.enableOut.remTAout[4],$PRE.P1.enableOut.remTAout[3],P1.enableOut.remTAout[3],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition17,$PRE.P1.reStart,$PRE.T6.fireTime,T6.fireTime,$PRE.T6.ani,T6.ani,$PRE.T5.fireTime,T5.fireTime,$PRE.T5.ani,T5.ani,$PRE.T4.fireTime,T4.fireTime,$PRE.T4.ani,T4.ani,$PRE.T3.fireTime,T3.fireTime,$PRE.T3.ani,T3.ani,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition16,$whenCondition15,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,P1.outTransition[2].tokenInOut,P1.outTransition[3].tokenInOut,P1.outTransition[4].tokenInOut,P1.outTransition[5].tokenInOut,P1.outTransition[6].tokenInOut,P1.firingSumIn.firingSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.outTransition[6].testValueint,P1.outTransition[6].normalArc,T6.inPlaces[1].disTransition,P1.outTransition[6].disPlace,P1.outTransition[6].arcType,P1.outTransition[5].testValueint,P1.outTransition[5].normalArc,T5.inPlaces[1].disTransition,P1.outTransition[5].disPlace,P1.outTransition[5].arcType,P1.outTransition[4].testValueint,P1.outTransition[4].normalArc,T4.inPlaces[1].disTransition,P1.outTransition[4].disPlace,P1.outTransition[4].arcType,P1.outTransition[3].testValueint,P1.outTransition[3].normalArc,T3.inPlaces[1].disTransition,P1.outTransition[3].disPlace,P1.outTransition[3].arcType,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,T2.inPlaces[1].disTransition,P1.outTransition[2].disPlace,P1.outTransition[2].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T6.firingCon,T5.firingCon,T4.firingCon,T3.firingCon,T2.firingCon,T1.firingCon,P1.enableOut.enablingPrio[6],P1.enableOut.enablingPrio[5],P1.enableOut.enablingPrio[4],P1.enableOut.enablingPrio[3],P1.enableOut.enablingPrio[2],P1.enableOut.enablingPrio[1],P1.reStart,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeOut[2],P1.activeOut[3],P1.activeOut[4],P1.activeOut[5],P1.activeOut[6],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[6],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[3],P1.firingSumOut.fire[4],P1.firingSumOut.fire[5],P1.firingSumOut.fire[6],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[6],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TAout[3],P1.enableOut.TAout[4],P1.enableOut.TAout[5],P1.enableOut.TAout[6],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[3],P1.enableOut.TEout_[4],P1.enableOut.TEout_[5],P1.enableOut.TEout_[6],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[3],P1.enableOut.TEout[3],$PRE.P1.enableOut.TEout[4],P1.enableOut.TEout[4],$PRE.P1.enableOut.TEout[5],P1.enableOut.TEout[5],$PRE.P1.enableOut.TEout[6],P1.enableOut.TEout[6],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.active,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.delayPassed,T2.delayPassed,T2.activation.tIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T2.active,$PRE.T3.firingTime,T3.firingTime,$PRE.T3.delayPassed,T3.delayPassed,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T3.active,$PRE.T4.firingTime,T4.firingTime,$PRE.T4.delayPassed,T4.delayPassed,T4.activation.tIntIn[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.active,T4.active,$PRE.T5.firingTime,T5.firingTime,$PRE.T5.delayPassed,T5.delayPassed,T5.activation.tIntIn[1],T5.activation.arcWeightIntIn[1],T5.activation.minTokensInt[1],T5.activation.active,T5.active,$PRE.T6.firingTime,T6.firingTime,$PRE.T6.delayPassed,T6.delayPassed,T6.activation.tIntIn[1],T6.activation.arcWeightIntIn[1],T6.activation.minTokensInt[1],T6.activation.active,T6.active,T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P1.enableOut.disTransition[2],T2.activation.normalArc[1],T2.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],P1.enableOut.disTransition[3],T3.activation.normalArc[1],T3.activation.testValueInt[1],T4.activation.arcType[1],T4.activation.disPlaceIn[1],P1.enableOut.disTransition[4],T4.activation.normalArc[1],T4.activation.testValueInt[1],T5.activation.arcType[1],T5.activation.disPlaceIn[1],P1.enableOut.disTransition[5],T5.activation.normalArc[1],T5.activation.testValueInt[1],T6.activation.arcType[1],T6.activation.disPlaceIn[1],P1.enableOut.disTransition[6],T6.activation.normalArc[1],T6.activation.testValueInt[1],P1.enableOut.arcWeight[6],P1.enableOut.arcWeight[5],P1.enableOut.arcWeight[4],P1.enableOut.arcWeight[3],P1.enableOut.arcWeight[2],P1.enableOut.arcWeight[1],P1.activeConOut.vec[6],P1.activeConOut.vec[5],P1.activeConOut.vec[4],P1.activeConOut.vec[3],P1.activeConOut.vec[2],P1.activeConOut.vec[1],P1.outTransition[6].fed,P1.outTransition[5].fed,P1.outTransition[4].fed,P1.outTransition[3].fed,P1.outTransition[2].fed,P1.outTransition[1].fed,T6.enabledByOutPlaces,T5.enabledByOutPlaces,T4.enabledByOutPlaces,T3.enabledByOutPlaces,T2.enabledByOutPlaces,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 421 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00181/0.5831, allocations: 1.195 MB / 0.5888 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/0.5836, allocations: 178.3 kB / 0.589 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006343/0.59, allocations: 4.251 MB / 0.5931 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.59, allocations: 15.94 kB / 0.5932 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.59, allocations: 4 kB / 0.5932 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.5901, allocations: 7.984 kB / 0.5932 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.6002, allocations: 6.545 MB / 0.5996 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.6003, allocations: 4 kB / 0.5996 GB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.6008, allocations: 107.8 kB / 0.5997 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/0.6008, allocations: 8 kB / 0.5997 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.6011, allocations: 75.84 kB / 0.5997 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.6011, allocations: 4 kB / 0.5997 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6011, allocations: 0 / 0.5997 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006551/0.6076, allocations: 4.565 MB / 0.6042 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.608, allocations: 203.1 kB / 0.6044 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004926/0.6085, allocations: 123.9 kB / 0.6045 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.6098, allocations: 203.8 kB / 0.6047 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00255/0.6123, allocations: 1.769 MB / 0.6064 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/0.6126, allocations: 115.9 kB / 0.6065 GB, free: 14.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007357/0.6133, allocations: 0.5431 MB / 0.6071 GB, free: 13.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6133, allocations: 0 / 0.6071 GB, free: 13.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002797/0.6162, allocations: 0.6825 MB / 0.6077 GB, free: 12.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 172 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,P1.activeOut[2],T2.active,P1.activeOut[3],T3.active,P1.activeOut[4],T4.active,P1.activeOut[5],T5.active,P1.activeOut[6],T6.active,P1.activeOut[1],T1.active,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[6],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[3],P1.firingSumOut.fire[4],P1.firingSumOut.fire[5],P1.firingSumOut.fire[6],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[6],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TAout[3],P1.enableOut.TAout[4],P1.enableOut.TAout[5],P1.enableOut.TAout[6],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[3],P1.enableOut.TEout_[4],P1.enableOut.TEout_[5],P1.enableOut.TEout_[6],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.TEout[3],P1.enableOut.TEout[4],P1.enableOut.TEout[5],P1.enableOut.TEout[6],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.remTAout[3],P1.enableOut.remTAout[4],P1.enableOut.remTAout[5],P1.enableOut.remTAout[6],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[6],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.outTransition[1].tokenInOut,P1.outTransition[2].tokenInOut,P1.outTransition[3].tokenInOut,P1.outTransition[4].tokenInOut,P1.outTransition[5].tokenInOut,P1.outTransition[6].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.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T3.firingTime,T3.fireTime,T3.delayPassed,T3.ani,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T4.firingTime,T4.fireTime,T4.delayPassed,T4.ani,T4.activation.tIntIn[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.active,T5.firingTime,T5.fireTime,T5.delayPassed,T5.ani,T5.activation.tIntIn[1],T5.activation.arcWeightIntIn[1],T5.activation.minTokensInt[1],T5.activation.active,T6.firingTime,T6.fireTime,T6.delayPassed,T6.ani,T6.activation.tIntIn[1],T6.activation.arcWeightIntIn[1],T6.activation.minTokensInt[1],T6.activation.active) * Number of discrete states: 81 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,P1.tokeninout,T1.activation.active,T1.delayPassed,T6.activation.active,T6.delayPassed,T5.activation.active,T5.delayPassed,T4.activation.active,T4.delayPassed,T3.activation.active,T3.delayPassed,T2.activation.active,T2.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[6],P1.enableOut.TEout_[5],P1.enableOut.TEout_[4],P1.enableOut.TEout_[3],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[6],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[6],P1.enableOut.remTAout[5],P1.enableOut.remTAout[4],P1.enableOut.remTAout[3],P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[6],P1.enableOut.TEout[5],P1.enableOut.TEout[4],P1.enableOut.TEout[3],P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 13 * Record equations: 0 * When equations: 19 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.6172, allocations: 0.5217 MB / 0.6083 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00774/0.625, allocations: 5.89 MB / 0.614 GB, free: 6.391 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.625, allocations: 0 / 0.614 GB, free: 6.391 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007469/0.6325, allocations: 7.488 MB / 0.6213 GB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6337, allocations: 131.5 kB / 0.6214 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008144/0.6419, allocations: 5.351 MB / 0.6267 GB, free: 9.215 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.6432, allocations: 1.649 MB / 0.6283 GB, free: 7.531 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001493/0.6447, allocations: 0.5927 MB / 0.6289 GB, free: 6.934 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.6449, allocations: 119.4 kB / 0.629 GB, free: 6.816 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6449, allocations: 3.938 kB / 0.629 GB, free: 6.812 MB / 442.7 MB Notification: Performance of Templates: time 0.2848/0.9298, allocations: 29.25 MB / 0.6575 GB, free: 139.8 MB / 458.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.SixConflictProb.makefile (rm -f PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe >> ../files/PNlib_PNlib.Examples.DisTest.SixConflictProb.sim & ./PNlib_PNlib.Examples.DisTest.SixConflictProb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.SixConflictProb_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.SixConflictProb.mat","../files/PNlib_PNlib.Examples.DisTest.SixConflictProb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches