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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007138/0.0007139, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007435/0.0007435, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1664/0.1664, allocations: 16.72 MB / 307.8 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 8 kB / 372.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2365, allocations: 54.46 MB / 427.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SixConflictProb): time 0.002389/0.2389, allocations: 3.376 MB / 430.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.2422, allocations: 2.787 MB / 433.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.2425, allocations: 13.56 kB / 433.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.2429, allocations: 248 kB / 433.7 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/0.2434, allocations: 247.6 kB / 433.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2448, allocations: 0.8811 MB / 434.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.2462, allocations: 2.348 MB / 437.2 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.2468, allocations: 0.6399 MB / 437.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007085/0.2475, allocations: 0.9807 MB / 438.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005268/0.248, allocations: 0.7538 MB / 439.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.2482, allocations: 84.84 kB / 439.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.2487, allocations: 466.7 kB / 440.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.249, allocations: 419.8 kB / 440.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.2493, allocations: 410.5 kB / 440.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.2505, allocations: 2.071 MB / 443 MB, free: 32.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2505, allocations: 0 / 443 MB, free: 32.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2505, allocations: 2.938 kB / 443 MB, free: 32.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.2505, allocations: 7.938 kB / 443 MB, free: 32.7 MB / 350.1 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.002059/0.2526, allocations: 2.545 MB / 445.5 MB, free: 30.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.2526, allocations: 9.25 kB / 445.5 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.2531, allocations: 282.8 kB / 445.8 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009781/0.2541, allocations: 0.9445 MB / 446.7 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.2543, allocations: 364.1 kB / 447.1 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.2546, allocations: 266.2 kB / 447.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.2597, allocations: 5.32 MB / 452.7 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.2598, allocations: 17.95 kB / 452.7 MB, free: 27.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.26, allocations: 126.8 kB / 452.8 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002798/0.2603, allocations: 289.2 kB / 453.1 MB, free: 27.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00439/0.2647, allocations: 3.902 MB / 457 MB, free: 26.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009773/0.2744, allocations: 12.25 MB / 469.3 MB, free: 17.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.2784, allocations: 4.804 MB / 474.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003344/0.2818, allocations: 4.47 MB / 478.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.495e-05/0.2819, allocations: 94.23 kB / 478.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003096/0.285, allocations: 2.75 MB / 481.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=205): time 2.605e-06/0.285, allocations: 1.094 kB / 481.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.007737/0.2928, allocations: 7.404 MB / 488.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003126/0.2931, allocations: 1.004 MB / 489.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.2942, allocations: 1.271 MB / 491 MB, free: 3.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.2944, allocations: 129.7 kB / 491.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.2948, allocations: 0.9186 MB / 492.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.2951, allocations: 0.5135 MB / 492.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2952, allocations: 79.92 kB / 492.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2954, allocations: 494.3 kB / 493.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.2971, allocations: 1.712 MB / 494.9 MB, free: 108 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/0.3, allocations: 2.88 MB / 497.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.3021, allocations: 2.079 MB / 499.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/0.3021, allocations: 12 kB / 499.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.006921/0.3091, allocations: 5.706 MB / 0.4937 GB, free: 4.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003186/0.3094, allocations: 0.5677 MB / 0.4943 GB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/0.3094, allocations: 36 kB / 0.4943 GB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.507e-05/0.3095, allocations: 60 kB / 0.4944 GB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.3106, allocations: 434.9 kB / 0.4948 GB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.986e-05/0.3106, allocations: 79.72 kB / 0.4948 GB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.3121, allocations: 0.5001 MB / 0.4953 GB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.3124, allocations: 172 kB / 0.4955 GB, free: 2.801 MB / 366.1 MB Warning: Assuming fixed start value for the following 40 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T6.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T6.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T5.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T5.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T4.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T3.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T6.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T5.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T4.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T3.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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,P1.outTransition[1].tokenInOut,$PRE.P1.tokeninout,T2.inPlaces[1].tokenInOut,T3.inPlaces[1].tokenInOut,T4.inPlaces[1].tokenInOut,T5.inPlaces[1].tokenInOut,T6.inPlaces[1].tokenInOut,$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,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$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.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T6.firingCon,T6.inPlaces[1].disTransition,P1.outTransition[6].normalArc,P1.outTransition[6].testValueint,P1.outTransition[6].arcType,P1.outTransition[6].disPlace,T5.firingCon,T5.inPlaces[1].disTransition,P1.outTransition[5].normalArc,P1.outTransition[5].testValueint,P1.outTransition[5].arcType,P1.outTransition[5].disPlace,T4.firingCon,T4.inPlaces[1].disTransition,P1.outTransition[4].normalArc,P1.outTransition[4].testValueint,P1.outTransition[4].arcType,P1.outTransition[4].disPlace,T3.firingCon,T3.inPlaces[1].disTransition,P1.outTransition[3].normalArc,P1.outTransition[3].testValueint,P1.outTransition[3].arcType,P1.outTransition[3].disPlace,T2.firingCon,T2.inPlaces[1].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],$PRE.P1.activeOut[2],P1.activeOut[2],$PRE.P1.activeOut[3],P1.activeOut[3],$PRE.P1.activeOut[4],P1.activeOut[4],$PRE.P1.activeOut[5],P1.activeOut[5],$PRE.P1.activeOut[6],P1.activeOut[6],P1.activeConOut.vec[1],P1.activeConOut.vec[2],P1.activeConOut.vec[3],P1.activeConOut.vec[4],P1.activeConOut.vec[5],P1.activeConOut.vec[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,T1.active,$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,T2.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,T3.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,T4.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,T5.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,T6.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,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T2.activation.disPlaceIn[1],T2.activation.arcType[1],T2.activation.testValueInt[1],T2.activation.normalArc[1],P1.enableOut.disTransition[2],T3.activation.disPlaceIn[1],T3.activation.arcType[1],T3.activation.testValueInt[1],T3.activation.normalArc[1],P1.enableOut.disTransition[3],T4.activation.disPlaceIn[1],T4.activation.arcType[1],T4.activation.testValueInt[1],T4.activation.normalArc[1],P1.enableOut.disTransition[4],T5.activation.disPlaceIn[1],T5.activation.arcType[1],T5.activation.testValueInt[1],T5.activation.normalArc[1],P1.enableOut.disTransition[5],T6.activation.disPlaceIn[1],T6.activation.arcType[1],T6.activation.testValueInt[1],T6.activation.normalArc[1],P1.enableOut.disTransition[6],P1.enableOut.arcWeight[6],P1.enableOut.arcWeight[5],P1.enableOut.arcWeight[4],P1.enableOut.arcWeight[3],P1.enableOut.arcWeight[2],P1.enableOut.arcWeight[1],T6.enabledByOutPlaces,T5.enabledByOutPlaces,T4.enabledByOutPlaces,T3.enabledByOutPlaces,T2.enabledByOutPlaces,T1.enabledByOutPlaces,P1.outTransition[6].fed,P1.outTransition[5].fed,P1.outTransition[4].fed,P1.outTransition[3].fed,P1.outTransition[2].fed,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (425): * Single equations (assignments): 409 * Array equations: 1 * 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.001834/0.3142, allocations: 1.713 MB / 0.4972 GB, free: 1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.3145, allocations: 198.1 kB / 0.4974 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006323/0.3208, allocations: 5.492 MB / 0.5027 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-05/0.3209, allocations: 20 kB / 0.5027 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3209, allocations: 0 / 0.5027 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.3209, allocations: 7.969 kB / 0.5027 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009246/0.3301, allocations: 8.122 MB / 0.5107 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3302, allocations: 0 / 0.5107 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.3305, allocations: 119.8 kB / 0.5108 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.3306, allocations: 4 kB / 0.5108 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.3307, allocations: 83.94 kB / 0.5109 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.3307, allocations: 8 kB / 0.5109 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3307, allocations: 0 / 0.5109 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/0.3374, allocations: 5.89 MB / 0.5166 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.3376, allocations: 230.9 kB / 0.5169 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.338, allocations: 155.8 kB / 0.517 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009753/0.3389, allocations: 227.7 kB / 0.5172 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002207/0.3412, allocations: 1.773 MB / 0.519 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.3413, allocations: 99.95 kB / 0.519 GB, free: 10.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007294/0.3421, allocations: 0.682 MB / 0.5197 GB, free: 9.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3421, allocations: 0 / 0.5197 GB, free: 9.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001916/0.344, allocations: 0.799 MB / 0.5205 GB, free: 8.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 178 ($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,T1.active,T2.active,T3.active,T4.active,T5.active,T6.active,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeOut[2],P1.activeOut[3],P1.activeOut[4],P1.activeOut[5],P1.activeOut[6],P1.activeConOut.vec[1],P1.activeConOut.vec[2],P1.activeConOut.vec[3],P1.activeConOut.vec[4],P1.activeConOut.vec[5],P1.activeConOut.vec[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.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,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T2.inPlaces[1].tokenInOut,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T3.inPlaces[1].tokenInOut,T3.firingTime,T3.fireTime,T3.delayPassed,T3.ani,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T4.inPlaces[1].tokenInOut,T4.firingTime,T4.fireTime,T4.delayPassed,T4.ani,T4.activation.tIntIn[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.active,T5.inPlaces[1].tokenInOut,T5.firingTime,T5.fireTime,T5.delayPassed,T5.ani,T5.activation.tIntIn[1],T5.activation.arcWeightIntIn[1],T5.activation.minTokensInt[1],T5.activation.active,T6.inPlaces[1].tokenInOut,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: 87 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],P1.activeOut[2],P1.activeOut[3],P1.activeOut[4],P1.activeOut[5],P1.activeOut[6],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,T1.activation.active,T1.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.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 109 * Array equations: 1 * 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.000778/0.3448, allocations: 0.5257 MB / 0.521 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006904/0.3517, allocations: 6.336 MB / 0.5272 GB, free: 1.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3517, allocations: 0.625 kB / 0.5272 GB, free: 1.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006755/0.3585, allocations: 8.046 MB / 0.5351 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.3595, allocations: 226.6 kB / 0.5353 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009601/0.3691, allocations: 7.957 MB / 0.543 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.3702, allocations: 1.616 MB / 0.5446 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001307/0.3716, allocations: 0.6423 MB / 0.5452 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.3718, allocations: 127.4 kB / 0.5454 GB, free: 14.88 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3718, allocations: 0 / 0.5454 GB, free: 14.88 MB / 430.1 MB Notification: Performance of Templates: time 0.0408/0.4126, allocations: 30.65 MB / 0.5753 GB, free: 184 kB / 446.1 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