Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.EightConflictProb.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.EightConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|T7.active|T7.fire|T8.active|T8.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.EightConflictProb") translateModel(PNlib.Examples.DisTest.EightConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|T7.active|T7.fire|T8.active|T8.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.EightConflictProb") [: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.002021/0.002021, allocations: 179.5 kB / 7.455 MB, free: 2.508 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.9993/0.9993, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0009075/0.0009075, allocations: 89.7 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06378/0.06378, allocations: 16.72 MB / 325.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.1e-06, allocations: 0 / 383.4 MB, free: 71.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06283/0.06285, allocations: 51.69 MB / 435.1 MB, free: 19.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.252, allocations: 80.1 MB / 0.5032 GB, free: 9.875 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.2522, allocations: 69.83 kB / 0.5032 GB, free: 9.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.07894/0.3311, allocations: 37.39 MB / 0.5397 GB, free: 2.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.658e-05/0.3312, allocations: 48 kB / 0.5398 GB, free: 2.211 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: 886 * Number of variables: 886 Notification: Performance of Generate backend data structure: time 0.004744/0.336, allocations: 3.209 MB / 0.5429 GB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.336, allocations: 8.031 kB / 0.5429 GB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.3372, allocations: 372.3 kB / 0.5433 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.3396, allocations: 1.33 MB / 0.5446 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/0.34, allocations: 395.1 kB / 0.545 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005439/0.3405, allocations: 223.9 kB / 0.5452 GB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005833/0.3464, allocations: 4.756 MB / 0.5498 GB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007795/0.3542, allocations: 6.281 MB / 0.5559 GB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.555e-05/0.3543, allocations: 11.88 kB / 0.556 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/0.3546, allocations: 43.97 kB / 0.556 GB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/0.3549, allocations: 305 kB / 0.5563 GB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.3693, allocations: 14.64 MB / 0.5706 GB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004841/0.3742, allocations: 5.462 MB / 0.5759 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004175/0.3784, allocations: 5.095 MB / 0.5809 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.3785, allocations: 98.42 kB / 0.581 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003522/0.382, allocations: 3.156 MB / 0.5841 GB, free: 6.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=241): time 3.296e-06/0.382, allocations: 0 / 0.5841 GB, free: 6.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=241): time 0.005697/0.3878, allocations: 4.664 MB / 0.5886 GB, free: 1.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006589/0.3884, allocations: 1.152 MB / 0.5898 GB, free: 100 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.3899, allocations: 1.339 MB / 0.5911 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.3901, allocations: 102.4 kB / 0.5912 GB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007936/0.3909, allocations: 1.187 MB / 0.5923 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/0.3915, allocations: 0.5825 MB / 0.5929 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.3917, allocations: 12 kB / 0.5929 GB, free: 12.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/0.3919, allocations: 0.5124 MB / 0.5934 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/0.3946, allocations: 2.109 MB / 0.5955 GB, free: 10.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003513/0.3981, allocations: 3.618 MB / 0.599 GB, free: 5.945 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.4005, allocations: 1.824 MB / 0.6008 GB, free: 4.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/0.4006, allocations: 12 kB / 0.6008 GB, free: 4.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=584) (initialization): time 0.006906/0.4075, allocations: 5.025 MB / 0.6057 GB, free: 15.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4075, allocations: 7.125 kB / 0.6057 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.622e-05/0.4076, allocations: 55.88 kB / 0.6057 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.939e-05/0.4077, allocations: 80.78 kB / 0.6058 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.4092, allocations: 0.5807 MB / 0.6064 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.202e-05/0.4092, allocations: 103.6 kB / 0.6065 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.4113, allocations: 468.9 kB / 0.6069 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/0.4117, allocations: 224.1 kB / 0.6072 GB, free: 13.52 MB / 426.7 MB Warning: Assuming fixed start value for the following 46 variables: P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer T8.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T8.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T7.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T7.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T6.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T6.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T5.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T5.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T4.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T3.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real T8.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T7.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T6.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T5.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T4.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T3.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T2.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 436 ($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[8],P1.enableOut.cumEnablingProb[8],$PRE.P1.enableOut.cumEnablingProb[7],P1.enableOut.cumEnablingProb[7],$PRE.P1.enableOut.cumEnablingProb[6],P1.enableOut.cumEnablingProb[6],$PRE.P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[5],$PRE.P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[4],$PRE.P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[3],$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[8],P1.enableOut.remTAout[8],$PRE.P1.enableOut.remTAout[7],P1.enableOut.remTAout[7],$PRE.P1.enableOut.remTAout[6],P1.enableOut.remTAout[6],$PRE.P1.enableOut.remTAout[5],P1.enableOut.remTAout[5],$PRE.P1.enableOut.remTAout[4],P1.enableOut.remTAout[4],$PRE.P1.enableOut.remTAout[3],P1.enableOut.remTAout[3],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition21,$PRE.P1.reStart,$PRE.T8.fireTime,T8.fireTime,$PRE.T8.ani,T8.ani,$PRE.T7.fireTime,T7.fireTime,$PRE.T7.ani,T7.ani,$PRE.T6.fireTime,T6.fireTime,$PRE.T6.ani,T6.ani,$PRE.T5.fireTime,T5.fireTime,$PRE.T5.ani,T5.ani,$PRE.T4.fireTime,T4.fireTime,$PRE.T4.ani,T4.ani,$PRE.T3.fireTime,T3.fireTime,$PRE.T3.ani,T3.ani,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition20,$whenCondition19,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,P1.outTransition[2].tokenInOut,P1.outTransition[3].tokenInOut,P1.outTransition[4].tokenInOut,P1.outTransition[5].tokenInOut,P1.outTransition[6].tokenInOut,P1.outTransition[7].tokenInOut,P1.outTransition[8].tokenInOut,P1.firingSumIn.firingSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.outTransition[8].testValueint,P1.outTransition[8].normalArc,T8.inPlaces[1].disTransition,P1.outTransition[8].disPlace,P1.outTransition[8].arcType,P1.outTransition[7].testValueint,P1.outTransition[7].normalArc,T7.inPlaces[1].disTransition,P1.outTransition[7].disPlace,P1.outTransition[7].arcType,P1.outTransition[6].testValueint,P1.outTransition[6].normalArc,T6.inPlaces[1].disTransition,P1.outTransition[6].disPlace,P1.outTransition[6].arcType,P1.outTransition[5].testValueint,P1.outTransition[5].normalArc,T5.inPlaces[1].disTransition,P1.outTransition[5].disPlace,P1.outTransition[5].arcType,P1.outTransition[4].testValueint,P1.outTransition[4].normalArc,T4.inPlaces[1].disTransition,P1.outTransition[4].disPlace,P1.outTransition[4].arcType,P1.outTransition[3].testValueint,P1.outTransition[3].normalArc,T3.inPlaces[1].disTransition,P1.outTransition[3].disPlace,P1.outTransition[3].arcType,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,T2.inPlaces[1].disTransition,P1.outTransition[2].disPlace,P1.outTransition[2].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T8.firingCon,T7.firingCon,T6.firingCon,T5.firingCon,T4.firingCon,T3.firingCon,T2.firingCon,T1.firingCon,P1.enableOut.enablingPrio[8],P1.enableOut.enablingPrio[7],P1.enableOut.enablingPrio[6],P1.enableOut.enablingPrio[5],P1.enableOut.enablingPrio[4],P1.enableOut.enablingPrio[3],P1.enableOut.enablingPrio[2],P1.enableOut.enablingPrio[1],P1.reStart,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeOut[2],P1.activeOut[3],P1.activeOut[4],P1.activeOut[5],P1.activeOut[6],P1.activeOut[7],P1.activeOut[8],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[6],P1.delayPassedOut.vec[7],P1.delayPassedOut.vec[8],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[3],P1.firingSumOut.fire[4],P1.firingSumOut.fire[5],P1.firingSumOut.fire[6],P1.firingSumOut.fire[7],P1.firingSumOut.fire[8],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[6],P1.firingSumOut.arcWeight[7],P1.firingSumOut.arcWeight[8],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TAout[3],P1.enableOut.TAout[4],P1.enableOut.TAout[5],P1.enableOut.TAout[6],P1.enableOut.TAout[7],P1.enableOut.TAout[8],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[3],P1.enableOut.TEout_[4],P1.enableOut.TEout_[5],P1.enableOut.TEout_[6],P1.enableOut.TEout_[7],P1.enableOut.TEout_[8],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[3],P1.enableOut.TEout[3],$PRE.P1.enableOut.TEout[4],P1.enableOut.TEout[4],$PRE.P1.enableOut.TEout[5],P1.enableOut.TEout[5],$PRE.P1.enableOut.TEout[6],P1.enableOut.TEout[6],$PRE.P1.enableOut.TEout[7],P1.enableOut.TEout[7],$PRE.P1.enableOut.TEout[8],P1.enableOut.TEout[8],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.active,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.delayPassed,T2.delayPassed,T2.activation.tIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T2.active,$PRE.T3.firingTime,T3.firingTime,$PRE.T3.delayPassed,T3.delayPassed,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T3.active,$PRE.T4.firingTime,T4.firingTime,$PRE.T4.delayPassed,T4.delayPassed,T4.activation.tIntIn[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.active,T4.active,$PRE.T5.firingTime,T5.firingTime,$PRE.T5.delayPassed,T5.delayPassed,T5.activation.tIntIn[1],T5.activation.arcWeightIntIn[1],T5.activation.minTokensInt[1],T5.activation.active,T5.active,$PRE.T6.firingTime,T6.firingTime,$PRE.T6.delayPassed,T6.delayPassed,T6.activation.tIntIn[1],T6.activation.arcWeightIntIn[1],T6.activation.minTokensInt[1],T6.activation.active,T6.active,$PRE.T7.firingTime,T7.firingTime,$PRE.T7.delayPassed,T7.delayPassed,T7.activation.tIntIn[1],T7.activation.arcWeightIntIn[1],T7.activation.minTokensInt[1],T7.activation.active,T7.active,$PRE.T8.firingTime,T8.firingTime,$PRE.T8.delayPassed,T8.delayPassed,T8.activation.tIntIn[1],T8.activation.arcWeightIntIn[1],T8.activation.minTokensInt[1],T8.activation.active,T8.active,T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P1.enableOut.disTransition[2],T2.activation.normalArc[1],T2.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],P1.enableOut.disTransition[3],T3.activation.normalArc[1],T3.activation.testValueInt[1],T4.activation.arcType[1],T4.activation.disPlaceIn[1],P1.enableOut.disTransition[4],T4.activation.normalArc[1],T4.activation.testValueInt[1],T5.activation.arcType[1],T5.activation.disPlaceIn[1],P1.enableOut.disTransition[5],T5.activation.normalArc[1],T5.activation.testValueInt[1],T6.activation.arcType[1],T6.activation.disPlaceIn[1],P1.enableOut.disTransition[6],T6.activation.normalArc[1],T6.activation.testValueInt[1],T7.activation.arcType[1],T7.activation.disPlaceIn[1],P1.enableOut.disTransition[7],T7.activation.normalArc[1],T7.activation.testValueInt[1],T8.activation.arcType[1],T8.activation.disPlaceIn[1],P1.enableOut.disTransition[8],T8.activation.normalArc[1],T8.activation.testValueInt[1],P1.enableOut.arcWeight[8],P1.enableOut.arcWeight[7],P1.enableOut.arcWeight[6],P1.enableOut.arcWeight[5],P1.enableOut.arcWeight[4],P1.enableOut.arcWeight[3],P1.enableOut.arcWeight[2],P1.enableOut.arcWeight[1],P1.activeConOut.vec[8],P1.activeConOut.vec[7],P1.activeConOut.vec[6],P1.activeConOut.vec[5],P1.activeConOut.vec[4],P1.activeConOut.vec[3],P1.activeConOut.vec[2],P1.activeConOut.vec[1],P1.outTransition[8].fed,P1.outTransition[7].fed,P1.outTransition[6].fed,P1.outTransition[5].fed,P1.outTransition[4].fed,P1.outTransition[3].fed,P1.outTransition[2].fed,P1.outTransition[1].fed,T8.enabledByOutPlaces,T7.enabledByOutPlaces,T6.enabledByOutPlaces,T5.enabledByOutPlaces,T4.enabledByOutPlaces,T3.enabledByOutPlaces,T2.enabledByOutPlaces,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (556): * Single equations (assignments): 539 * Array equations: 0 * Algorithm blocks: 17 * 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.001474/0.4132, allocations: 1.392 MB / 0.6085 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/0.4135, allocations: 225.8 kB / 0.6087 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005769/0.4193, allocations: 4.814 MB / 0.6134 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.4194, allocations: 23.94 kB / 0.6135 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4194, allocations: 0 / 0.6135 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.4194, allocations: 7.969 kB / 0.6135 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.4297, allocations: 7.729 MB / 0.621 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4298, allocations: 4 kB / 0.621 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.4302, allocations: 139.7 kB / 0.6211 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.4303, allocations: 11.98 kB / 0.6212 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.4305, allocations: 79.94 kB / 0.6212 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.4305, allocations: 8 kB / 0.6212 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4305, allocations: 0 / 0.6212 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006053/0.4366, allocations: 5.151 MB / 0.6263 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.4368, allocations: 234.7 kB / 0.6265 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005633/0.4374, allocations: 159.8 kB / 0.6266 GB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.4389, allocations: 283.8 kB / 0.6269 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003201/0.4421, allocations: 2.491 MB / 0.6293 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/0.4424, allocations: 135.9 kB / 0.6295 GB, free: 6.496 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0008635/0.4433, allocations: 0.6945 MB / 0.6302 GB, free: 5.797 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002629/0.4459, allocations: 0.8103 MB / 0.6309 GB, free: 4.988 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 214 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,P1.activeOut[2],T2.active,P1.activeOut[3],T3.active,P1.activeOut[4],T4.active,P1.activeOut[5],T5.active,P1.activeOut[6],T6.active,P1.activeOut[7],T7.active,P1.activeOut[8],T8.active,P1.activeOut[1],T1.active,$whenCondition20,$whenCondition19,$whenCondition21,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[6],P1.delayPassedOut.vec[7],P1.delayPassedOut.vec[8],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[3],P1.firingSumOut.fire[4],P1.firingSumOut.fire[5],P1.firingSumOut.fire[6],P1.firingSumOut.fire[7],P1.firingSumOut.fire[8],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[6],P1.firingSumOut.arcWeight[7],P1.firingSumOut.arcWeight[8],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TAout[3],P1.enableOut.TAout[4],P1.enableOut.TAout[5],P1.enableOut.TAout[6],P1.enableOut.TAout[7],P1.enableOut.TAout[8],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[3],P1.enableOut.TEout_[4],P1.enableOut.TEout_[5],P1.enableOut.TEout_[6],P1.enableOut.TEout_[7],P1.enableOut.TEout_[8],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.TEout[3],P1.enableOut.TEout[4],P1.enableOut.TEout[5],P1.enableOut.TEout[6],P1.enableOut.TEout[7],P1.enableOut.TEout[8],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.remTAout[3],P1.enableOut.remTAout[4],P1.enableOut.remTAout[5],P1.enableOut.remTAout[6],P1.enableOut.remTAout[7],P1.enableOut.remTAout[8],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[6],P1.enableOut.cumEnablingProb[7],P1.enableOut.cumEnablingProb[8],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.outTransition[1].tokenInOut,P1.outTransition[2].tokenInOut,P1.outTransition[3].tokenInOut,P1.outTransition[4].tokenInOut,P1.outTransition[5].tokenInOut,P1.outTransition[6].tokenInOut,P1.outTransition[7].tokenInOut,P1.outTransition[8].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T3.firingTime,T3.fireTime,T3.delayPassed,T3.ani,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T4.firingTime,T4.fireTime,T4.delayPassed,T4.ani,T4.activation.tIntIn[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.active,T5.firingTime,T5.fireTime,T5.delayPassed,T5.ani,T5.activation.tIntIn[1],T5.activation.arcWeightIntIn[1],T5.activation.minTokensInt[1],T5.activation.active,T6.firingTime,T6.fireTime,T6.delayPassed,T6.ani,T6.activation.tIntIn[1],T6.activation.arcWeightIntIn[1],T6.activation.minTokensInt[1],T6.activation.active,T7.firingTime,T7.fireTime,T7.delayPassed,T7.ani,T7.activation.tIntIn[1],T7.activation.arcWeightIntIn[1],T7.activation.minTokensInt[1],T7.activation.active,T8.firingTime,T8.fireTime,T8.delayPassed,T8.ani,T8.activation.tIntIn[1],T8.activation.arcWeightIntIn[1],T8.activation.minTokensInt[1],T8.activation.active) * Number of discrete states: 93 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,P1.tokeninout,T1.activation.active,T1.delayPassed,T8.activation.active,T8.delayPassed,T7.activation.active,T7.delayPassed,T6.activation.active,T6.delayPassed,T5.activation.active,T5.delayPassed,T4.activation.active,T4.delayPassed,T3.activation.active,T3.delayPassed,T2.activation.active,T2.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[8],P1.enableOut.TEout_[7],P1.enableOut.TEout_[6],P1.enableOut.TEout_[5],P1.enableOut.TEout_[4],P1.enableOut.TEout_[3],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[8],P1.enableOut.cumEnablingProb[7],P1.enableOut.cumEnablingProb[6],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[8],P1.enableOut.remTAout[7],P1.enableOut.remTAout[6],P1.enableOut.remTAout[5],P1.enableOut.remTAout[4],P1.enableOut.remTAout[3],P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[8],P1.enableOut.TEout[7],P1.enableOut.TEout[6],P1.enableOut.TEout[5],P1.enableOut.TEout[4],P1.enableOut.TEout[3],P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 25 * 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.001051/0.447, allocations: 0.5518 MB / 0.6315 GB, free: 4.426 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007814/0.4548, allocations: 6.87 MB / 0.6382 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4548, allocations: 8.125 kB / 0.6382 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007007/0.4618, allocations: 9.21 MB / 0.6472 GB, free: 4.152 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.4625, allocations: 152.7 kB / 0.6473 GB, free: 4.004 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1052/0.5677, allocations: 7.553 MB / 0.6547 GB, free: 179.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.569, allocations: 2.112 MB / 0.6568 GB, free: 178.8 MB / 458.7 MB Notification: Performance of SimCode: time 5.21e-07/0.569, allocations: 0 / 0.6568 GB, free: 178.8 MB / 458.7 MB Notification: Performance of Templates: time 0.04622/0.6152, allocations: 40.58 MB / 0.6964 GB, free: 171.5 MB / 458.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.EightConflictProb.makefile (rm -f PNlib_PNlib.Examples.DisTest.EightConflictProb.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.EightConflictProb.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.EightConflictProb.pipe >> ../files/PNlib_PNlib.Examples.DisTest.EightConflictProb.sim & ./PNlib_PNlib.Examples.DisTest.EightConflictProb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.EightConflictProb.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.EightConflictProb_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.EightConflictProb.mat","../files/PNlib_PNlib.Examples.DisTest.EightConflictProb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches