Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEtest.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.TEtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEtest") translateModel(PNlib.Examples.DisTest.TEtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEtest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 175.4 kB / 16.11 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 222.3 MB, free: 13.67 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.000836/0.000836, allocations: 90.31 kB / 270.6 MB, free: 13.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06892/0.06892, allocations: 16.91 MB / 335.8 MB, free: 5.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004621, allocations: 16.44 kB / 398.2 MB, free: 46.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 51.69 MB / 449.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.4706, allocations: 80.85 MB / 0.5183 GB, free: 79.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.471, allocations: 68.5 kB / 0.5183 GB, free: 79.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07591/0.5469, allocations: 27.77 MB / 0.5454 GB, free: 64.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.547, allocations: 0 / 0.5454 GB, free: 64.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001116/0.5471, allocations: 28 kB / 0.5455 GB, free: 64.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.008002/0.5551, allocations: 2.419 MB / 0.5478 GB, free: 62.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.5552, allocations: 8.031 kB / 0.5478 GB, free: 62.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.5576, allocations: 268.5 kB / 0.5481 GB, free: 61.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/0.5614, allocations: 1.015 MB / 0.5491 GB, free: 60.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005018/0.5619, allocations: 277.8 kB / 0.5494 GB, free: 60.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.5632, allocations: 235.9 kB / 0.5496 GB, free: 60.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.5763, allocations: 3.998 MB / 0.5535 GB, free: 56.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.5765, allocations: 7.984 kB / 0.5535 GB, free: 56.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/0.5775, allocations: 115.9 kB / 0.5536 GB, free: 56.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004719/0.578, allocations: 146.5 kB / 0.5537 GB, free: 55.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008158/0.5862, allocations: 2.821 MB / 0.5565 GB, free: 53.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.604, allocations: 8.259 MB / 0.5646 GB, free: 44.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00641/0.6105, allocations: 4.659 MB / 0.5691 GB, free: 39.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004217/0.6147, allocations: 4.455 MB / 0.5735 GB, free: 35.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.6149, allocations: 90.09 kB / 0.5736 GB, free: 35.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00402/0.619, allocations: 2.591 MB / 0.5761 GB, free: 32.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=188): time 4.228e-06/0.619, allocations: 0 / 0.5761 GB, free: 32.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=188): time 0.01148/0.6305, allocations: 7.799 MB / 0.5837 GB, free: 24.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006662/0.6312, allocations: 1.323 MB / 0.585 GB, free: 23.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.6327, allocations: 0.8975 MB / 0.5859 GB, free: 22.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/0.633, allocations: 125.7 kB / 0.586 GB, free: 22.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/0.6337, allocations: 0.6318 MB / 0.5866 GB, free: 21.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006155/0.6343, allocations: 466.7 kB / 0.587 GB, free: 21.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.6345, allocations: 60 kB / 0.5871 GB, free: 21.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/0.6348, allocations: 465 kB / 0.5875 GB, free: 20.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.6367, allocations: 1.13 MB / 0.5887 GB, free: 19.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002876/0.6396, allocations: 2.12 MB / 0.5907 GB, free: 16.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007165/0.6468, allocations: 6.614 MB / 0.5972 GB, free: 9.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.055e-05/0.6469, allocations: 8 kB / 0.5972 GB, free: 9.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.006696/0.6536, allocations: 4.595 MB / 0.6017 GB, free: 4.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003583/0.654, allocations: 0.7327 MB / 0.6024 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.416e-05/0.6541, allocations: 32.5 kB / 0.6024 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.307e-05/0.6541, allocations: 48 kB / 0.6025 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.6552, allocations: 339.2 kB / 0.6028 GB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.692e-05/0.6553, allocations: 67.78 kB / 0.6029 GB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.6569, allocations: 305.9 kB / 0.6031 GB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/0.6573, allocations: 148 kB / 0.6033 GB, free: 2.91 MB / 362.7 MB Warning: Assuming fixed start value for the following 50 variables: P2.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T1.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 306 ($PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.cumEnablingProb[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.remTAout[1],P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition16,$PRE.P1.reStart,$whenCondition9,$PRE.P2.reStart,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition8,$whenCondition7,P2.tokeninout,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$PRE.T2.fireTime,$PRE.T2.ani,T2.fireTime,T2.ani,$whenCondition4,$PRE.T2.eventIndex,T2.eventIndex,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$whenCondition3,$PRE.T1.eventIndex,T1.eventIndex,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition15,$whenCondition14,P1.tokeninout,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P2.outTransition[1].testValueint,P2.outTransition[1].normalArc,T2.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].arcType,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P2.enableIn.enablingPrio[1],P2.enableOut.enablingPrio[1],P2.reStart,T2.firingCon,T1.firingCon,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$PRE.P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.T1.firingTime,$PRE.T2.firingTime,$PRE.P2.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition6,$PRE.P1.t,P1.t,P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.enableOut.arcWeightSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableIn.arcWeightSum,T1.firingTime,$PRE.T1.eventPassed,T1.eventPassed,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.active,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,$PRE.P2.t,P2.t,P2.activeOut[1],P2.enabledByInPlaces[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.TEout[1],P2.enableOut.arcWeightSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.TEin[1],P2.enableIn.arcWeightSum,T1.activation.disPlaceOut[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P2.enableOut.disTransition[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T2.activation.disPlaceOut[1],P2.activeConOut.vec[1],P1.enableIn.arcWeight[1],P2.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.activeConOut.vec[1],P1.inTransition[1].emptied,P1.outTransition[1].fed,P2.outTransition[1].fed,P2.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 322 * Array equations: 2 * Algorithm blocks: 22 * 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.003192/0.6605, allocations: 1.762 MB / 0.605 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009056/0.6614, allocations: 190.5 kB / 0.6052 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/0.6751, allocations: 6.593 MB / 0.6116 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.85e-05/0.6752, allocations: 15.98 kB / 0.6116 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/0.6753, allocations: 11.94 kB / 0.6117 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.6753, allocations: 3.984 kB / 0.6117 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/0.699, allocations: 9.21 MB / 0.6207 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.6991, allocations: 0 / 0.6207 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.6996, allocations: 75.83 kB / 0.6207 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.931e-05/0.6996, allocations: 4 kB / 0.6207 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004795/0.7001, allocations: 115.9 kB / 0.6208 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.7002, allocations: 4 kB / 0.6208 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.7002, allocations: 3.938 kB / 0.6208 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/0.7162, allocations: 6.767 MB / 0.6275 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.7168, allocations: 195.3 kB / 0.6276 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009559/0.7178, allocations: 183.9 kB / 0.6278 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/0.7199, allocations: 199.8 kB / 0.628 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002152/0.7221, allocations: 0.7657 MB / 0.6288 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007122/0.7228, allocations: 155.9 kB / 0.6289 GB, free: 8.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001503/0.7244, allocations: 0.4912 MB / 0.6294 GB, free: 7.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7244, allocations: 3.938 kB / 0.6294 GB, free: 7.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00514/0.7295, allocations: 0.8039 MB / 0.6302 GB, free: 6.805 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 164 (P2.activeOut[1],T2.active,P1.activeOut[1],T1.active,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,P1.tokeninout,P1.enabledByInPlaces[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,P1.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.eventPassed,T1.ani,T1.eventIndex,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,P2.outTransition[1].tokenInOut) * Number of discrete states: 110 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P2.t,P2.tokeninout,P2.activeConOut.anychange,T2.eventIndex,$whenCondition4,T1.eventIndex,$whenCondition3,P1.t,P1.tokeninout,T1.activation.active,T1.eventPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,T2.activation.active,T2.eventPassed,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout_[1],P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableOut.benefitMax,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,$whenCondition5,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition6,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 68 * Array equations: 2 * Algorithm blocks: 18 * Record equations: 0 * When equations: 8 * 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.00286/0.7324, allocations: 0.6575 MB / 0.6308 GB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01021/0.7427, allocations: 5.472 MB / 0.6362 GB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.7427, allocations: 0 / 0.6362 GB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01173/0.7544, allocations: 8.913 MB / 0.6449 GB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.7569, allocations: 255.6 kB / 0.6451 GB, free: 7.031 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.7673, allocations: 4.614 MB / 0.6496 GB, free: 2.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.769, allocations: 1.402 MB / 0.651 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001494/0.7705, allocations: 442.9 kB / 0.6514 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.7709, allocations: 99.42 kB / 0.6515 GB, free: 420 kB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7709, allocations: 0 / 0.6515 GB, free: 420 kB / 410.7 MB Notification: Performance of Templates: time 0.06009/0.831, allocations: 31.48 MB / 0.6822 GB, free: 0.5156 MB / 442.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TEtest.makefile (rm -f PNlib_PNlib.Examples.DisTest.TEtest.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEtest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEtest.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEtest.sim & ./PNlib_PNlib.Examples.DisTest.TEtest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TEtest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEtest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEtest.mat","../files/PNlib_PNlib.Examples.DisTest.TEtest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches