Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SixConflictProb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.SixConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SixConflictProb") translateModel(PNlib.Examples.DisTest.SixConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SixConflictProb") [: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.002091/0.002091, allocations: 179.2 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.9854/0.9854, 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.000866/0.0008661, allocations: 89.23 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06364/0.06364, allocations: 16.72 MB / 325.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.771e-06, allocations: 4 kB / 383.5 MB, free: 71.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06356/0.06358, allocations: 51.67 MB / 435.1 MB, free: 19.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.2601, allocations: 80.04 MB / 0.5031 GB, free: 10.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001533/0.2603, allocations: 65.03 kB / 0.5032 GB, free: 10.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06563/0.3259, allocations: 30.96 MB / 0.5334 GB, free: 7.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.264e-05/0.326, allocations: 36 kB / 0.5334 GB, free: 7.688 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: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.003179/0.3292, allocations: 2.614 MB / 0.536 GB, free: 5.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3292, allocations: 12.03 kB / 0.536 GB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.3299, allocations: 293.1 kB / 0.5363 GB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.3316, allocations: 1.082 MB / 0.5373 GB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.3319, allocations: 292.9 kB / 0.5376 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.3322, allocations: 179.9 kB / 0.5378 GB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00439/0.3366, allocations: 3.636 MB / 0.5413 GB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005609/0.3423, allocations: 4.834 MB / 0.5461 GB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/0.3423, allocations: 7.938 kB / 0.5461 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/0.3426, allocations: 35.17 kB / 0.5461 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/0.3428, allocations: 228 kB / 0.5463 GB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/0.3536, allocations: 11.35 MB / 0.5574 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.3575, allocations: 4.261 MB / 0.5616 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.3608, allocations: 3.982 MB / 0.5654 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.361, allocations: 98.09 kB / 0.5655 GB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002803/0.3638, allocations: 2.496 MB / 0.568 GB, free: 6.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=193): time 3.076e-06/0.3638, allocations: 0 / 0.568 GB, free: 6.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.004614/0.3684, allocations: 3.646 MB / 0.5715 GB, free: 2.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000545/0.369, allocations: 0.9813 MB / 0.5725 GB, free: 1.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3701, allocations: 1.05 MB / 0.5735 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.3702, allocations: 85.67 kB / 0.5736 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005751/0.3708, allocations: 0.9131 MB / 0.5745 GB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/0.3712, allocations: 472.1 kB / 0.5749 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.3714, allocations: 16.84 kB / 0.575 GB, free: 15.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.3716, allocations: 478.4 kB / 0.5754 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.3736, allocations: 1.619 MB / 0.577 GB, free: 13.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/0.3764, allocations: 2.809 MB / 0.5797 GB, free: 9.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.3782, allocations: 1.426 MB / 0.5811 GB, free: 8.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.3782, allocations: 8 kB / 0.5811 GB, free: 8.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=460) (initialization): time 0.005144/0.3833, allocations: 3.921 MB / 0.585 GB, free: 4.449 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3834, allocations: 11.06 kB / 0.585 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/0.3834, allocations: 39.91 kB / 0.585 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.05e-05/0.3835, allocations: 64 kB / 0.5851 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.3846, allocations: 467.4 kB / 0.5855 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-05/0.3847, allocations: 79.72 kB / 0.5856 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.3864, allocations: 361.6 kB / 0.5859 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/0.3866, allocations: 172 kB / 0.5861 GB, free: 3.281 MB / 394.7 MB Warning: Assuming fixed start value for the following 40 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 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 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: 174 * Number of states: 0 () * Number of discrete variables: 348 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[6],P1.enableOut.cumEnablingProb[6],$PRE.P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[5],$PRE.P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[4],$PRE.P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[3],$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[6],P1.enableOut.remTAout[6],$PRE.P1.enableOut.remTAout[5],P1.enableOut.remTAout[5],$PRE.P1.enableOut.remTAout[4],P1.enableOut.remTAout[4],$PRE.P1.enableOut.remTAout[3],P1.enableOut.remTAout[3],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition17,$PRE.P1.reStart,$PRE.T6.fireTime,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,$whenCondition16,$whenCondition15,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.firingSumIn.firingSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.outTransition[6].testValueint,P1.outTransition[6].normalArc,T6.inPlaces[1].disTransition,P1.outTransition[6].disPlace,P1.outTransition[6].arcType,P1.outTransition[5].testValueint,P1.outTransition[5].normalArc,T5.inPlaces[1].disTransition,P1.outTransition[5].disPlace,P1.outTransition[5].arcType,P1.outTransition[4].testValueint,P1.outTransition[4].normalArc,T4.inPlaces[1].disTransition,P1.outTransition[4].disPlace,P1.outTransition[4].arcType,P1.outTransition[3].testValueint,P1.outTransition[3].normalArc,T3.inPlaces[1].disTransition,P1.outTransition[3].disPlace,P1.outTransition[3].arcType,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,T2.inPlaces[1].disTransition,P1.outTransition[2].disPlace,P1.outTransition[2].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T6.firingCon,T5.firingCon,T4.firingCon,T3.firingCon,T2.firingCon,T1.firingCon,P1.enableOut.enablingPrio[6],P1.enableOut.enablingPrio[5],P1.enableOut.enablingPrio[4],P1.enableOut.enablingPrio[3],P1.enableOut.enablingPrio[2],P1.enableOut.enablingPrio[1],P1.reStart,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeOut[2],P1.activeOut[3],P1.activeOut[4],P1.activeOut[5],P1.activeOut[6],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[6],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[3],P1.firingSumOut.fire[4],P1.firingSumOut.fire[5],P1.firingSumOut.fire[6],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[6],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TAout[3],P1.enableOut.TAout[4],P1.enableOut.TAout[5],P1.enableOut.TAout[6],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[3],P1.enableOut.TEout_[4],P1.enableOut.TEout_[5],P1.enableOut.TEout_[6],$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.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,T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P1.enableOut.disTransition[2],T2.activation.normalArc[1],T2.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],P1.enableOut.disTransition[3],T3.activation.normalArc[1],T3.activation.testValueInt[1],T4.activation.arcType[1],T4.activation.disPlaceIn[1],P1.enableOut.disTransition[4],T4.activation.normalArc[1],T4.activation.testValueInt[1],T5.activation.arcType[1],T5.activation.disPlaceIn[1],P1.enableOut.disTransition[5],T5.activation.normalArc[1],T5.activation.testValueInt[1],T6.activation.arcType[1],T6.activation.disPlaceIn[1],P1.enableOut.disTransition[6],T6.activation.normalArc[1],T6.activation.testValueInt[1],P1.enableOut.arcWeight[6],P1.enableOut.arcWeight[5],P1.enableOut.arcWeight[4],P1.enableOut.arcWeight[3],P1.enableOut.arcWeight[2],P1.enableOut.arcWeight[1],P1.activeConOut.vec[6],P1.activeConOut.vec[5],P1.activeConOut.vec[4],P1.activeConOut.vec[3],P1.activeConOut.vec[2],P1.activeConOut.vec[1],P1.outTransition[6].fed,P1.outTransition[5].fed,P1.outTransition[4].fed,P1.outTransition[3].fed,P1.outTransition[2].fed,P1.outTransition[1].fed,T6.enabledByOutPlaces,T5.enabledByOutPlaces,T4.enabledByOutPlaces,T3.enabledByOutPlaces,T2.enabledByOutPlaces,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 421 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001217/0.3878, allocations: 1.178 MB / 0.5873 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.3881, allocations: 178.3 kB / 0.5874 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/0.3928, allocations: 3.736 MB / 0.5911 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.3928, allocations: 19.98 kB / 0.5911 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3928, allocations: 0 / 0.5911 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3928, allocations: 3.984 kB / 0.5911 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008045/0.4009, allocations: 6.082 MB / 0.597 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4009, allocations: 0 / 0.597 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.4013, allocations: 107.8 kB / 0.5971 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.4013, allocations: 4 kB / 0.5972 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.4015, allocations: 67.95 kB / 0.5972 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.4015, allocations: 7.906 kB / 0.5972 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4015, allocations: 0 / 0.5972 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004809/0.4063, allocations: 4.062 MB / 0.6012 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.4065, allocations: 199.2 kB / 0.6014 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/0.4069, allocations: 131.9 kB / 0.6015 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.4081, allocations: 227.8 kB / 0.6017 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00238/0.4105, allocations: 1.874 MB / 0.6036 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/0.4107, allocations: 107.9 kB / 0.6037 GB, free: 1.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000606/0.4113, allocations: 0.5626 MB / 0.6042 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002012/0.4133, allocations: 0.674 MB / 0.6049 GB, free: 15.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 172 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,P1.activeOut[2],T2.active,P1.activeOut[3],T3.active,P1.activeOut[4],T4.active,P1.activeOut[5],T5.active,P1.activeOut[6],T6.active,P1.activeOut[1],T1.active,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[6],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[3],P1.firingSumOut.fire[4],P1.firingSumOut.fire[5],P1.firingSumOut.fire[6],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[6],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TAout[3],P1.enableOut.TAout[4],P1.enableOut.TAout[5],P1.enableOut.TAout[6],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[3],P1.enableOut.TEout_[4],P1.enableOut.TEout_[5],P1.enableOut.TEout_[6],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.TEout[3],P1.enableOut.TEout[4],P1.enableOut.TEout[5],P1.enableOut.TEout[6],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.remTAout[3],P1.enableOut.remTAout[4],P1.enableOut.remTAout[5],P1.enableOut.remTAout[6],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[6],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.outTransition[1].tokenInOut,P1.outTransition[2].tokenInOut,P1.outTransition[3].tokenInOut,P1.outTransition[4].tokenInOut,P1.outTransition[5].tokenInOut,P1.outTransition[6].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T3.firingTime,T3.fireTime,T3.delayPassed,T3.ani,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T4.firingTime,T4.fireTime,T4.delayPassed,T4.ani,T4.activation.tIntIn[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.active,T5.firingTime,T5.fireTime,T5.delayPassed,T5.ani,T5.activation.tIntIn[1],T5.activation.arcWeightIntIn[1],T5.activation.minTokensInt[1],T5.activation.active,T6.firingTime,T6.fireTime,T6.delayPassed,T6.ani,T6.activation.tIntIn[1],T6.activation.arcWeightIntIn[1],T6.activation.minTokensInt[1],T6.activation.active) * Number of discrete states: 81 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,P1.tokeninout,T1.activation.active,T1.delayPassed,T6.activation.active,T6.delayPassed,T5.activation.active,T5.delayPassed,T4.activation.active,T4.delayPassed,T3.activation.active,T3.delayPassed,T2.activation.active,T2.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[6],P1.enableOut.TEout_[5],P1.enableOut.TEout_[4],P1.enableOut.TEout_[3],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[6],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[6],P1.enableOut.remTAout[5],P1.enableOut.remTAout[4],P1.enableOut.remTAout[3],P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[6],P1.enableOut.TEout[5],P1.enableOut.TEout[4],P1.enableOut.TEout[3],P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 13 * Record equations: 0 * When equations: 19 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008565/0.4142, allocations: 0.4941 MB / 0.6053 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005778/0.42, allocations: 5.371 MB / 0.6106 GB, free: 9.961 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.42, allocations: 0 / 0.6106 GB, free: 9.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00548/0.4255, allocations: 7.226 MB / 0.6176 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.426, allocations: 131.2 kB / 0.6178 GB, free: 2.523 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.4333, allocations: 5.494 MB / 0.6231 GB, free: 12.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/0.4348, allocations: 1.789 MB / 0.6249 GB, free: 11.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.933e-06/0.4348, allocations: 0 / 0.6249 GB, free: 11.16 MB / 442.7 MB Notification: Performance of Templates: time 0.168/0.6029, allocations: 32.57 MB / 0.6567 GB, free: 132.9 MB / 458.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.SixConflictProb.makefile (rm -f PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe >> ../files/PNlib_PNlib.Examples.DisTest.SixConflictProb.sim & ./PNlib_PNlib.Examples.DisTest.SixConflictProb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.SixConflictProb_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.SixConflictProb.mat","../files/PNlib_PNlib.Examples.DisTest.SixConflictProb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches