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.001415/0.001415, allocations: 173.3 kB / 16.11 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 222.3 MB, free: 13.74 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.000789/0.000789, allocations: 86.27 kB / 270.6 MB, free: 13.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06726/0.06726, allocations: 16.9 MB / 335.8 MB, free: 5.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 14.8 kB / 398.1 MB, free: 46.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.08978, allocations: 51.7 MB / 449.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2776/0.3674, allocations: 80.89 MB / 0.5183 GB, free: 79.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.3677, allocations: 70.22 kB / 0.5184 GB, free: 79.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06934/0.437, allocations: 31.26 MB / 0.5489 GB, free: 61.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4371, allocations: 0 / 0.5489 GB, free: 61.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.871e-05/0.4372, allocations: 43.94 kB / 0.5489 GB, free: 61.28 MB / 362.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.004957/0.4421, allocations: 2.638 MB / 0.5515 GB, free: 58.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4422, allocations: 12.03 kB / 0.5515 GB, free: 58.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.4433, allocations: 293.5 kB / 0.5518 GB, free: 58.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.4453, allocations: 1.086 MB / 0.5529 GB, free: 57.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.4456, allocations: 366.6 kB / 0.5532 GB, free: 56.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005289/0.4461, allocations: 267.9 kB / 0.5535 GB, free: 56.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006607/0.4528, allocations: 5.173 MB / 0.5585 GB, free: 50.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.4528, allocations: 11.88 kB / 0.5585 GB, free: 50.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/0.4532, allocations: 131.9 kB / 0.5587 GB, free: 50.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000254/0.4534, allocations: 215.8 kB / 0.5589 GB, free: 50.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005153/0.4586, allocations: 3.771 MB / 0.5625 GB, free: 46.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.4692, allocations: 11.76 MB / 0.574 GB, free: 34.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/0.4729, allocations: 4.387 MB / 0.5783 GB, free: 30.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/0.4759, allocations: 4.041 MB / 0.5823 GB, free: 26.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.476, allocations: 98.09 kB / 0.5824 GB, free: 26.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002812/0.4789, allocations: 2.569 MB / 0.5849 GB, free: 23.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=193): time 4.077e-06/0.4789, allocations: 3.938 kB / 0.5849 GB, free: 23.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=193): time 0.007803/0.4867, allocations: 6.906 MB / 0.5916 GB, free: 16.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003832/0.4871, allocations: 1.002 MB / 0.5926 GB, free: 15.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.4888, allocations: 1.309 MB / 0.5939 GB, free: 14.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002516/0.489, allocations: 117.6 kB / 0.594 GB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007436/0.4898, allocations: 0.9532 MB / 0.5949 GB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006129/0.4904, allocations: 498.5 kB / 0.5954 GB, free: 12.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.4907, allocations: 72 kB / 0.5955 GB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.4909, allocations: 490.4 kB / 0.5959 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/0.4933, allocations: 1.693 MB / 0.5976 GB, free: 10.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/0.4962, allocations: 2.904 MB / 0.6004 GB, free: 6.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008274/0.5044, allocations: 7.9 MB / 0.6081 GB, free: 14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.086e-05/0.5045, allocations: 16 kB / 0.6081 GB, free: 13.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=460) (initialization): time 0.009108/0.5136, allocations: 5.729 MB / 0.6137 GB, free: 8.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004651/0.5141, allocations: 0.5872 MB / 0.6143 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.61e-05/0.5142, allocations: 40 kB / 0.6143 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.843e-05/0.5143, allocations: 59.94 kB / 0.6144 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.5157, allocations: 462.8 kB / 0.6148 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.5158, allocations: 79.72 kB / 0.6149 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.5178, allocations: 425.5 kB / 0.6153 GB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000386/0.5182, allocations: 180 kB / 0.6155 GB, free: 6.246 MB / 378.7 MB Warning: Assuming fixed start value for the following 40 variables: 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 T6.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T6.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T5.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T5.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T4.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T3.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real 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 T1.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 T3.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T4.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T5.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T6.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: 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,$PRE.T6.ani,T6.fireTime,T6.ani,$PRE.T5.fireTime,$PRE.T5.ani,T5.fireTime,T5.ani,$PRE.T4.fireTime,$PRE.T4.ani,T4.fireTime,T4.ani,$PRE.T3.fireTime,$PRE.T3.ani,T3.fireTime,T3.ani,$PRE.T2.fireTime,$PRE.T2.ani,T2.fireTime,T2.ani,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition16,$whenCondition15,P1.tokeninout,$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,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[3],$PRE.P1.enableOut.TEout[4],$PRE.P1.enableOut.TEout[5],$PRE.P1.enableOut.TEout[6],$PRE.P1.enableOut.arcWeightSum,$PRE.T1.firingTime,$PRE.T2.firingTime,$PRE.T3.firingTime,$PRE.T4.firingTime,$PRE.T5.firingTime,$PRE.T6.firingTime,$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],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.arcWeightSum,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.active,T2.firingTime,$PRE.T2.delayPassed,T2.delayPassed,T2.activation.tIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T2.active,T3.firingTime,$PRE.T3.delayPassed,T3.delayPassed,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T3.active,T4.firingTime,$PRE.T4.delayPassed,T4.delayPassed,T4.activation.tIntIn[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.active,T4.active,T5.firingTime,$PRE.T5.delayPassed,T5.delayPassed,T5.activation.tIntIn[1],T5.activation.arcWeightIntIn[1],T5.activation.minTokensInt[1],T5.activation.active,T5.active,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 () * Number of clocked 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.003021/0.5213, allocations: 1.738 MB / 0.6172 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005932/0.5219, allocations: 198 kB / 0.6174 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007815/0.5297, allocations: 5.172 MB / 0.6224 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.5297, allocations: 20 kB / 0.6225 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5298, allocations: 0 / 0.6225 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5298, allocations: 3.984 kB / 0.6225 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.5416, allocations: 7.792 MB / 0.6301 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5416, allocations: 0 / 0.6301 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.542, allocations: 103.8 kB / 0.6302 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.542, allocations: 8 kB / 0.6302 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/0.5423, allocations: 83.89 kB / 0.6303 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.5423, allocations: 4 kB / 0.6303 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5423, allocations: 3.984 kB / 0.6303 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007626/0.5499, allocations: 5.542 MB / 0.6357 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.5502, allocations: 219 kB / 0.6359 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004747/0.5507, allocations: 151.9 kB / 0.636 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.5519, allocations: 219.8 kB / 0.6362 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002743/0.5546, allocations: 1.765 MB / 0.638 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004166/0.5551, allocations: 115.9 kB / 0.6381 GB, free: 14.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001406/0.5565, allocations: 0.6831 MB / 0.6387 GB, free: 14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5565, allocations: 8 kB / 0.6387 GB, free: 14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003441/0.56, allocations: 0.7646 MB / 0.6395 GB, free: 13.23 MB / 410.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) * Number of clocked states: 0 () * 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.001277/0.5613, allocations: 0.5242 MB / 0.64 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008071/0.5693, allocations: 6.196 MB / 0.6461 GB, free: 6.332 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.5694, allocations: 4 kB / 0.6461 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007058/0.5764, allocations: 7.59 MB / 0.6535 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.5777, allocations: 228 kB / 0.6537 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009839/0.5876, allocations: 6.631 MB / 0.6602 GB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.5892, allocations: 1.607 MB / 0.6617 GB, free: 6.047 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001638/0.5908, allocations: 0.6001 MB / 0.6623 GB, free: 5.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.5912, allocations: 119.4 kB / 0.6624 GB, free: 5.324 MB / 426.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5912, allocations: 4 kB / 0.6624 GB, free: 5.32 MB / 426.7 MB Notification: Performance of Templates: time 0.2225/0.8137, allocations: 30.15 MB / 0.6919 GB, free: 129.4 MB / 442.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) "" Variables in the reference: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 Variables in the result:P1.N,P1.animateMarking,P1.benefitType,P1.enableIn.benefitType,P1.enableIn.enablingType,P1.enableIn.globalSeed,P1.enableIn.localSeed,P1.enableIn.maxTokens,P1.enableIn.nIn,P1.enableOut.benefitType,P1.enableOut.enablingType,P1.enableOut.globalSeed,P1.enableOut.localSeed,P1.enableOut.minTokens,P1.enableOut.nOut,P1.enablingBeneOut[1],P1.enablingBeneOut[2],P1.enablingBeneOut[3],P1.enablingBeneOut[4],P1.enablingBeneOut[5],P1.enablingBeneOut[6],P1.enablingPrioOut[1],P1.enablingPrioOut[2],P1.enablingPrioOut[3],P1.enablingPrioOut[4],P1.enablingPrioOut[5],P1.enablingPrioOut[6],P1.enablingProbOut[1],P1.enablingProbOut[2],P1.enablingProbOut[3],P1.enablingProbOut[4],P1.enablingProbOut[5],P1.enablingProbOut[6],P1.enablingType,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.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,T1.activation.nIn,T1.activation.nOut,T1.active,T1.fire,T1.minTokensInt[1],T1.nIn,T1.nOut,T1.showDelay,T1.showTransitionName,T2.activation.nIn,T2.activation.nOut,T2.active,T2.fire,T2.minTokensInt[1],T2.nIn,T2.nOut,T2.showDelay,T2.showTransitionName,T3.activation.nIn,T3.activation.nOut,T3.active,T3.fire,T3.minTokensInt[1],T3.nIn,T3.nOut,T3.showDelay,T3.showTransitionName,T4.activation.nIn,T4.activation.nOut,T4.active,T4.fire,T4.minTokensInt[1],T4.nIn,T4.nOut,T4.showDelay,T4.showTransitionName,T5.activation.nIn,T5.activation.nOut,T5.active,T5.fire,T5.minTokensInt[1],T5.nIn,T5.nOut,T5.showDelay,T5.showTransitionName,T6.activation.nIn,T6.activation.nOut,T6.active,T6.fire,T6.minTokensInt[1],T6.nIn,T6.nOut,T6.showDelay,T6.showTransitionName,settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time