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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002415/0.002415, allocations: 183.7 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9808/0.9808, allocations: 205.2 MB / 213.1 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.0008582/0.0008582, allocations: 91.67 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.0626/0.0626, allocations: 16.72 MB / 325.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.42e-06/5.441e-06, allocations: 0 / 383.5 MB, free: 71.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0604/0.06042, allocations: 51.67 MB / 435.1 MB, free: 19.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.2529, allocations: 80.69 MB / 0.5037 GB, free: 9.836 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.2531, allocations: 71.3 kB / 0.5038 GB, free: 9.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06886/0.3219, allocations: 31.52 MB / 0.5346 GB, free: 6.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.37e-05/0.322, allocations: 35.94 kB / 0.5346 GB, free: 6.289 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 600 * Number of variables: 600 Notification: Performance of Generate backend data structure: time 0.00474/0.3268, allocations: 2.83 MB / 0.5374 GB, free: 3.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3268, allocations: 8.031 kB / 0.5374 GB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.3283, allocations: 320.6 kB / 0.5377 GB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.3308, allocations: 1.162 MB / 0.5388 GB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.3311, allocations: 274.9 kB / 0.5391 GB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006356/0.3317, allocations: 198.2 kB / 0.5393 GB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004793/0.3366, allocations: 3.301 MB / 0.5425 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006463/0.343, allocations: 4.511 MB / 0.5469 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.3431, allocations: 11.88 kB / 0.5469 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/0.3434, allocations: 58.56 kB / 0.547 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.3436, allocations: 192.5 kB / 0.5472 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.3557, allocations: 9.997 MB / 0.5569 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004638/0.3603, allocations: 5.103 MB / 0.5619 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/0.3646, allocations: 4.869 MB / 0.5667 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3647, allocations: 97.92 kB / 0.5668 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003696/0.3684, allocations: 2.938 MB / 0.5696 GB, free: 4.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=231): time 5.36e-06/0.3685, allocations: 0 / 0.5696 GB, free: 4.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.006405/0.3749, allocations: 4.158 MB / 0.5737 GB, free: 0.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008017/0.3757, allocations: 1.525 MB / 0.5752 GB, free: 14.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.3768, allocations: 0.8533 MB / 0.576 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002284/0.377, allocations: 105.7 kB / 0.5761 GB, free: 13.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.3776, allocations: 0.7309 MB / 0.5768 GB, free: 13.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005347/0.3781, allocations: 0.5431 MB / 0.5773 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3783, allocations: 20 kB / 0.5774 GB, free: 12.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.3785, allocations: 482.6 kB / 0.5778 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.3803, allocations: 1.24 MB / 0.579 GB, free: 10.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.3827, allocations: 2.395 MB / 0.5814 GB, free: 7.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.3847, allocations: 1.354 MB / 0.5827 GB, free: 6.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-05/0.3847, allocations: 12 kB / 0.5827 GB, free: 6.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=469) (initialization): time 0.005035/0.3897, allocations: 3.485 MB / 0.5861 GB, free: 3.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3898, allocations: 7.938 kB / 0.5861 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/0.3898, allocations: 36.88 kB / 0.5862 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-05/0.3899, allocations: 60 kB / 0.5862 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.391, allocations: 427 kB / 0.5866 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.234e-05/0.3911, allocations: 79.72 kB / 0.5867 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.3924, allocations: 293.7 kB / 0.587 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.3927, allocations: 176 kB / 0.5871 GB, free: 2.035 MB / 394.7 MB Warning: Assuming fixed start value for the following 57 variables: P2.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer T4.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T3.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T4.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T3.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T2.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.firingTimeOut:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.firingTimeIn:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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 () * 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.001814/0.3945, allocations: 1.53 MB / 0.5886 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004382/0.395, allocations: 206.3 kB / 0.5888 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0067/0.4017, allocations: 4.447 MB / 0.5932 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.4017, allocations: 19.98 kB / 0.5932 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4017, allocations: 4 kB / 0.5932 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.4017, allocations: 3.984 kB / 0.5932 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.4127, allocations: 7.293 MB / 0.6003 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4127, allocations: 3.984 kB / 0.6003 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.4131, allocations: 95.83 kB / 0.6004 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.4131, allocations: 8 kB / 0.6004 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002792/0.4134, allocations: 115.8 kB / 0.6005 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4134, allocations: 8 kB / 0.6005 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4134, allocations: 0 / 0.6005 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006758/0.4202, allocations: 4.682 MB / 0.6051 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.4204, allocations: 207.1 kB / 0.6053 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/0.421, allocations: 191.9 kB / 0.6055 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.4223, allocations: 239.6 kB / 0.6057 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/0.4236, allocations: 0.8715 MB / 0.6066 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003482/0.424, allocations: 171.7 kB / 0.6067 GB, free: 13.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004705/0.4245, allocations: 467.1 kB / 0.6072 GB, free: 13.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002297/0.4268, allocations: 0.7881 MB / 0.608 GB, free: 12.52 MB / 426.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]) * 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.001282/0.4281, allocations: 0.6733 MB / 0.6086 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006105/0.4342, allocations: 5.185 MB / 0.6137 GB, free: 6.512 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4342, allocations: 4 kB / 0.6137 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007132/0.4413, allocations: 9.284 MB / 0.6228 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008111/0.4422, allocations: 166.7 kB / 0.6229 GB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0083/0.4505, allocations: 4.974 MB / 0.6278 GB, free: 7.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/0.4521, allocations: 1.732 MB / 0.6295 GB, free: 6.16 MB / 442.7 MB Notification: Performance of SimCode: time 6.42e-07/0.4521, allocations: 0 / 0.6295 GB, free: 6.16 MB / 442.7 MB Notification: Performance of Templates: time 0.1423/0.5944, allocations: 36.81 MB / 0.6654 GB, free: 183.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