Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TFDinputConflict.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.TFDinputConflict,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDinputConflict") translateModel(PNlib.Examples.DisTest.TFDinputConflict,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDinputConflict") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01076/0.01076, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.719/1.719, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.001/0.001, allocations: 86.89 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06591/0.06591, allocations: 16.88 MB / 334.7 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003862, allocations: 8.469 kB / 396.9 MB, free: 46.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 51.69 MB / 448.6 MB, free: 396 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2851/0.4013, allocations: 81.52 MB / 0.5177 GB, free: 79.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4016, allocations: 68.77 kB / 0.5178 GB, free: 79.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07532/0.4769, allocations: 31.77 MB / 0.5488 GB, free: 60.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.477, allocations: 0 / 0.5488 GB, free: 60.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.666e-05/0.4771, allocations: 35.94 kB / 0.5488 GB, free: 60.68 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: 600 * Number of variables: 600 Notification: Performance of Generate backend data structure: time 0.005374/0.4824, allocations: 2.863 MB / 0.5516 GB, free: 57.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4825, allocations: 16.02 kB / 0.5516 GB, free: 57.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.4842, allocations: 313.3 kB / 0.5519 GB, free: 57.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.487, allocations: 1.147 MB / 0.5531 GB, free: 56.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.4874, allocations: 336.3 kB / 0.5534 GB, free: 55.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009432/0.4884, allocations: 275.9 kB / 0.5536 GB, free: 55.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009076/0.4975, allocations: 4.811 MB / 0.5583 GB, free: 50.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/0.4975, allocations: 3.938 kB / 0.5583 GB, free: 50.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007024/0.4983, allocations: 128 kB / 0.5585 GB, free: 50.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002895/0.4986, allocations: 183.2 kB / 0.5586 GB, free: 50.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005858/0.5044, allocations: 3.425 MB / 0.562 GB, free: 46.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.5177, allocations: 10.31 MB / 0.5721 GB, free: 36.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004736/0.5224, allocations: 5.215 MB / 0.5772 GB, free: 30.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.5226, allocations: 98.09 kB / 0.5772 GB, free: 30.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004024/0.5266, allocations: 3.046 MB / 0.5802 GB, free: 27.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=231): time 3.707e-06/0.5266, allocations: 0 / 0.5802 GB, free: 27.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.01032/0.537, allocations: 8.853 MB / 0.5889 GB, free: 18.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00058/0.5376, allocations: 1.522 MB / 0.5904 GB, free: 16.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.539, allocations: 0.987 MB / 0.5913 GB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00027/0.5393, allocations: 145.7 kB / 0.5915 GB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006067/0.5399, allocations: 0.772 MB / 0.5922 GB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000566/0.5405, allocations: 0.5715 MB / 0.5928 GB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.5407, allocations: 72 kB / 0.5928 GB, free: 13.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.541, allocations: 490.6 kB / 0.5933 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.5429, allocations: 1.318 MB / 0.5946 GB, free: 12.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.5453, allocations: 2.498 MB / 0.597 GB, free: 9.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.5476, allocations: 2.252 MB / 0.5992 GB, free: 6.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.601e-05/0.5477, allocations: 8 kB / 0.5992 GB, free: 6.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=469) (initialization): time 0.00667/0.5544, allocations: 5.245 MB / 0.6044 GB, free: 1.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003065/0.5547, allocations: 0.8399 MB / 0.6052 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-05/0.5548, allocations: 39.94 kB / 0.6052 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.331e-05/0.5548, allocations: 60 kB / 0.6053 GB, free: 212 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.556, allocations: 418.9 kB / 0.6057 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.258e-05/0.556, allocations: 79.73 kB / 0.6058 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.5577, allocations: 369.8 kB / 0.6061 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/0.558, allocations: 176 kB / 0.6063 GB, free: 15.18 MB / 378.7 MB Warning: Assuming fixed start value for the following 57 variables: P2.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P2.enableIn.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 T4.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real 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 P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T4.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 T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTimeOut:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTimeIn: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: 163 * Number of states: 0 () * Number of discrete variables: 368 ($PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[2],P2.enableIn.cumEnablingProb[2],$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[2],P2.enableIn.remTAin[2],$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.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,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.cumEnablingProb[1],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,$PRE.P2.enableOut.remTAout[1],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,$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.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],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,$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[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[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition23,$PRE.P1.reStart,$whenCondition20,$PRE.P2.reStart,$PRE.T4.fireTime,T4.fireTime,$PRE.T4.ani,T4.ani,$whenCondition7,$PRE.T4.eventIndex,T4.eventIndex,$PRE.T3.fireTime,T3.fireTime,$PRE.T3.ani,T3.ani,$whenCondition6,$PRE.T3.eventIndex,T3.eventIndex,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition5,$PRE.T2.eventIndex,T2.eventIndex,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition19,$whenCondition18,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$whenCondition22,$whenCondition21,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,T2.enabledByInPlaces,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P2.outTransition[1].testValueint,P2.outTransition[1].normalArc,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].arcType,T4.enabledByInPlaces,T4.outPlaces[1].disTransition,P2.inTransition[2].disPlace,T4.firingCon,T3.firingCon,T2.firingCon,T1.firingCon,P2.enableOut.enablingPrio[1],P2.reStart,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],P2.enableIn.disTransition[2],$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P2.t,P2.t,P2.activeOut[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.vec[2],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.fire[2],P2.firingSumIn.arcWeight[1],P2.firingSumIn.arcWeight[2],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableIn.TAein[1],P2.enableIn.TAein[2],P2.enableIn.active[1],P2.enableIn.active[2],P2.enableIn.TEin_[1],P2.enableIn.TEin_[2],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[2],P2.enableIn.TEin[2],$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.T1.firingTimeIn,T1.firingTimeIn,$PRE.T1.firingTimeOut,T1.firingTimeOut,$PRE.T1.durationPassedIn,T1.durationPassedIn,$PRE.T1.durationPassedOut,T1.durationPassedOut,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active,T1.activeIn,T1.activeOut,$PRE.T1.fire,T1.fire,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,$PRE.T3.firingTime,T3.firingTime,$PRE.T3.eventPassed,T3.eventPassed,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T3.active,$PRE.T4.firingTime,T4.firingTime,$PRE.T4.eventPassed,T4.eventPassed,T4.activation.tIntOut[1],T4.activation.arcWeightIntOut[1],T4.activation.maxTokensInt[1],T4.activation.active,T4.active,T4.activation.disPlaceOut[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],P2.enableOut.disTransition[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T1.activationOut.disPlaceOut[1],T1.activationIn.arcType[1],T1.activationIn.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activationIn.normalArc[1],T1.activationIn.testValueInt[1],T2.activation.disPlaceOut[1],P2.enableIn.arcWeight[2],P2.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P2.activeConOut.vec[1],P1.activeConOut.vec[1],P1.inTransition[1].emptied,P1.outTransition[1].fed,P2.inTransition[1].emptied,P2.outTransition[1].fed,P2.inTransition[2].emptied,T3.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 398 * Array equations: 3 * Algorithm blocks: 26 * 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.00323/0.5613, allocations: 2.013 MB / 0.6082 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007902/0.5621, allocations: 230.1 kB / 0.6085 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.5721, allocations: 6.047 MB / 0.6144 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-05/0.5722, allocations: 20 kB / 0.6144 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.5722, allocations: 0 / 0.6144 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.5722, allocations: 15.92 kB / 0.6144 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.5875, allocations: 9.112 MB / 0.6233 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.5876, allocations: 0 / 0.6233 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.588, allocations: 103.8 kB / 0.6234 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.588, allocations: 4 kB / 0.6234 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003236/0.5883, allocations: 127.9 kB / 0.6235 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.5883, allocations: 4 kB / 0.6235 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5884, allocations: 4 kB / 0.6235 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.5985, allocations: 6.276 MB / 0.6297 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.5989, allocations: 226.9 kB / 0.6299 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008068/0.5998, allocations: 195.9 kB / 0.6301 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.6015, allocations: 227.8 kB / 0.6303 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001461/0.6029, allocations: 0.8363 MB / 0.6311 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004513/0.6034, allocations: 167.9 kB / 0.6313 GB, free: 4.922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009689/0.6044, allocations: 0.5849 MB / 0.6318 GB, free: 4.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6044, allocations: 0 / 0.6318 GB, free: 4.332 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003704/0.6081, allocations: 0.8976 MB / 0.6327 GB, free: 3.434 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 200 (T2.active,P1.activeOut[1],T1.activeIn,T4.active,T1.activeOut,P2.activeOut[1],T3.active,$whenCondition22,$whenCondition21,$whenCondition23,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.outTransition[1].tokenInOut,P2.t,P2.tokeninout,P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.vec[2],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.fire[2],P2.firingSumIn.arcWeight[1],P2.firingSumIn.arcWeight[2],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,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,P2.enableIn.TAein[1],P2.enableIn.TAein[2],P2.enableIn.active[1],P2.enableIn.active[2],P2.enableIn.TEin_[1],P2.enableIn.TEin_[2],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.TEin[2],P2.enableIn.remTAin[1],P2.enableIn.remTAin[2],P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[2],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,P2.outTransition[1].tokenInOut,T1.firingTimeIn,T1.firingTimeOut,T1.fireTime,T1.durationPassedIn,T1.durationPassedOut,T1.ani,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active,T1.fire,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T3.firingTime,T3.fireTime,T3.eventPassed,T3.ani,T3.eventIndex,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T4.firingTime,T4.fireTime,T4.eventPassed,T4.ani,T4.eventIndex,T4.activation.tIntOut[1],T4.activation.arcWeightIntOut[1],T4.activation.maxTokensInt[1],T4.activation.active) * Number of discrete states: 123 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,T4.eventIndex,$whenCondition7,T3.eventIndex,$whenCondition6,T2.eventIndex,$whenCondition5,T1.fire,P2.t,P2.tokeninout,T3.activation.active,T3.eventPassed,T1.activationOut.active,T1.durationPassedOut,T4.activation.active,T4.eventPassed,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,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,$whenCondition3,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],P1.t,P1.tokeninout,T1.activationIn.active,T1.durationPassedIn,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin_[2],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[2],P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[2],P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[2],P2.enableIn.TEin[1],T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 91 * Array equations: 3 * Algorithm blocks: 22 * Record equations: 0 * When equations: 16 * 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.00218/0.6103, allocations: 0.7089 MB / 0.6334 GB, free: 2.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009574/0.6199, allocations: 6.323 MB / 0.6396 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6199, allocations: 0 / 0.6396 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01109/0.631, allocations: 9.92 MB / 0.6493 GB, free: 1.887 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.6328, allocations: 206.2 kB / 0.6495 GB, free: 1.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.6445, allocations: 6.028 MB / 0.6553 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.6463, allocations: 1.588 MB / 0.6569 GB, free: 10 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001637/0.6479, allocations: 0.5341 MB / 0.6574 GB, free: 9.465 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.6484, allocations: 131.3 kB / 0.6575 GB, free: 9.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6484, allocations: 0 / 0.6575 GB, free: 9.34 MB / 426.7 MB Notification: Performance of Templates: time 0.2507/0.8991, allocations: 34.89 MB / 0.6916 GB, free: 130.3 MB / 442.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TFDinputConflict.makefile (rm -f PNlib_PNlib.Examples.DisTest.TFDinputConflict.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TFDinputConflict.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TFDinputConflict.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TFDinputConflict.sim & ./PNlib_PNlib.Examples.DisTest.TFDinputConflict -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TFDinputConflict.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TFDinputConflict_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TFDinputConflict.mat","../files/PNlib_PNlib.Examples.DisTest.TFDinputConflict.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches