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.001824/0.001824, allocations: 173.8 kB / 16.12 MB, free: 5.699 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.667/1.667, allocations: 205.4 MB / 222.3 MB, free: 8.961 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.0007908/0.0007907, allocations: 90.34 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1116/0.1116, allocations: 16.9 MB / 335.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003838, allocations: 12 kB / 398.2 MB, free: 61.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 51.69 MB / 449.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.352/0.4617, allocations: 81.57 MB / 0.519 GB, free: 7.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.4619, allocations: 68.34 kB / 0.519 GB, free: 7.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08291/0.5448, allocations: 31.8 MB / 0.5501 GB, free: 12.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5449, allocations: 0 / 0.5501 GB, free: 12.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001041/0.545, allocations: 35.94 kB / 0.5501 GB, free: 12.45 MB / 378.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.007157/0.5522, allocations: 2.863 MB / 0.5529 GB, free: 9.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5522, allocations: 12.03 kB / 0.5529 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.5542, allocations: 313.3 kB / 0.5532 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.5574, allocations: 1.143 MB / 0.5543 GB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005002/0.5579, allocations: 337.1 kB / 0.5547 GB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.5592, allocations: 281.2 kB / 0.5549 GB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.57, allocations: 4.756 MB / 0.5596 GB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/0.5701, allocations: 7.938 kB / 0.5596 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007678/0.5709, allocations: 131.9 kB / 0.5597 GB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003503/0.5713, allocations: 191.2 kB / 0.5599 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007299/0.5786, allocations: 3.351 MB / 0.5632 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/0.6026, allocations: 10.29 MB / 0.5732 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009519/0.6122, allocations: 5.207 MB / 0.5783 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007537/0.6198, allocations: 4.912 MB / 0.5831 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.62, allocations: 90.11 kB / 0.5832 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005452/0.6254, allocations: 2.98 MB / 0.5861 GB, free: 8.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=231): time 6.111e-06/0.6255, allocations: 0 / 0.5861 GB, free: 8.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.02038/0.6459, allocations: 8.514 MB / 0.5944 GB, free: 15.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001475/0.6474, allocations: 1.526 MB / 0.5959 GB, free: 14.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.6502, allocations: 1.093 MB / 0.597 GB, free: 13.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005487/0.6508, allocations: 145.6 kB / 0.5971 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.6521, allocations: 0.7798 MB / 0.5979 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/0.6536, allocations: 0.5638 MB / 0.5984 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.654, allocations: 71.98 kB / 0.5985 GB, free: 11.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005624/0.6546, allocations: 494.6 kB / 0.5989 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003558/0.6582, allocations: 1.314 MB / 0.6002 GB, free: 9.668 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003973/0.6622, allocations: 2.509 MB / 0.6027 GB, free: 6.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009915/0.6721, allocations: 7.791 MB / 0.6103 GB, free: 13.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.059e-05/0.6722, allocations: 15.94 kB / 0.6103 GB, free: 13.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=469) (initialization): time 0.009038/0.6812, allocations: 5.346 MB / 0.6155 GB, free: 8.277 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006611/0.6819, allocations: 0.8477 MB / 0.6164 GB, free: 7.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/0.6821, allocations: 36 kB / 0.6164 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.386e-05/0.6822, allocations: 56 kB / 0.6164 GB, free: 7.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.6835, allocations: 423.7 kB / 0.6168 GB, free: 6.766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.955e-05/0.6836, allocations: 79.7 kB / 0.6169 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.6854, allocations: 361.5 kB / 0.6173 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004385/0.6859, allocations: 180 kB / 0.6174 GB, free: 6.156 MB / 442.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.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 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 T1.firingTimeIn:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTimeOut: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 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,$PRE.T4.ani,T4.fireTime,T4.ani,$whenCondition7,$PRE.T4.eventIndex,T4.eventIndex,$PRE.T3.fireTime,$PRE.T3.ani,T3.fireTime,T3.ani,$whenCondition6,$PRE.T3.eventIndex,T3.eventIndex,$PRE.T2.fireTime,$PRE.T2.ani,T2.fireTime,T2.ani,$whenCondition5,$PRE.T2.eventIndex,T2.eventIndex,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition19,$whenCondition18,P2.tokeninout,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition22,$whenCondition21,P1.tokeninout,$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],$PRE.P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P2.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[2],$PRE.P2.enableIn.arcWeightSum,$PRE.T1.firingTimeIn,$PRE.T1.firingTimeOut,$PRE.T2.firingTime,$PRE.T3.firingTime,$PRE.T4.firingTime,$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],P1.enableOut.TEout[1],P1.enableOut.arcWeightSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],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],P2.enableOut.TEout[1],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],P2.enableIn.TEin[1],P2.enableIn.TEin[2],P2.enableIn.arcWeightSum,T1.firingTimeIn,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,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,T3.firingTime,$PRE.T3.eventPassed,T3.eventPassed,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T3.active,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.003685/0.6896, allocations: 2.038 MB / 0.6194 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009407/0.6905, allocations: 222.1 kB / 0.6196 GB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.7032, allocations: 7.082 MB / 0.6266 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/0.7033, allocations: 23.98 kB / 0.6266 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.7033, allocations: 0 / 0.6266 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.7033, allocations: 3.984 kB / 0.6266 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/0.7207, allocations: 10.09 MB / 0.6364 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.7207, allocations: 0 / 0.6364 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.7211, allocations: 95.77 kB / 0.6365 GB, free: 2.105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.7212, allocations: 4 kB / 0.6365 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003567/0.7215, allocations: 131.8 kB / 0.6367 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.7215, allocations: 11.94 kB / 0.6367 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7216, allocations: 0 / 0.6367 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2344/0.956, allocations: 7.254 MB / 0.6438 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.9564, allocations: 214.8 kB / 0.644 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006827/0.9571, allocations: 199.7 kB / 0.6441 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.9584, allocations: 235.5 kB / 0.6444 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001396/0.9598, allocations: 0.833 MB / 0.6452 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000378/0.9602, allocations: 172.2 kB / 0.6453 GB, free: 140.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00082/0.961, allocations: 0.5814 MB / 0.6459 GB, free: 140.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.961, allocations: 1.938 kB / 0.6459 GB, free: 140.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003171/0.9642, allocations: 0.8942 MB / 0.6468 GB, free: 140.2 MB / 458.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.00151/0.9657, allocations: 0.7081 MB / 0.6475 GB, free: 140 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008873/0.9746, allocations: 6.255 MB / 0.6536 GB, free: 138.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.9747, allocations: 1.156 kB / 0.6536 GB, free: 138.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008601/0.9833, allocations: 9.834 MB / 0.6632 GB, free: 133.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.985, allocations: 287.7 kB / 0.6635 GB, free: 133 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008214/0.9932, allocations: 6.005 MB / 0.6693 GB, free: 130.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/0.9941, allocations: 1.551 MB / 0.6708 GB, free: 129.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001316/0.9955, allocations: 0.5315 MB / 0.6714 GB, free: 129.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.9957, allocations: 121 kB / 0.6715 GB, free: 129.6 MB / 458.7 MB Notification: Performance of SimCode: time 7.72e-07/0.9957, allocations: 0 / 0.6715 GB, free: 129.6 MB / 458.7 MB Notification: Performance of Templates: time 0.0498/1.046, allocations: 34.83 MB / 0.7055 GB, free: 109.9 MB / 458.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