Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTcircle.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.TTcircle,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.TTcircle") translateModel(PNlib.Examples.DisTest.TTcircle,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.TTcircle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004789/0.004789, allocations: 172.2 kB / 15.12 MB, free: 5.973 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.524/1.524, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001037/0.001037, allocations: 94.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06513/0.06513, allocations: 16.88 MB / 334.7 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 8.844 kB / 396.9 MB, free: 46.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 51.69 MB / 448.6 MB, free: 248 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/0.4264, allocations: 80.76 MB / 0.517 GB, free: 79.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4267, allocations: 66.28 kB / 0.517 GB, free: 79.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06864/0.4953, allocations: 27.85 MB / 0.5442 GB, free: 65.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4954, allocations: 0 / 0.5442 GB, free: 65.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.94e-05/0.4954, allocations: 24 kB / 0.5442 GB, free: 65.23 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003769/0.4992, allocations: 2.353 MB / 0.5465 GB, free: 62.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4993, allocations: 8.031 kB / 0.5465 GB, free: 62.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008879/0.5002, allocations: 265.9 kB / 0.5468 GB, free: 62.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.5019, allocations: 0.9962 MB / 0.5478 GB, free: 61.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.5022, allocations: 277.8 kB / 0.548 GB, free: 61.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.5025, allocations: 231.9 kB / 0.5483 GB, free: 60.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005553/0.508, allocations: 3.955 MB / 0.5521 GB, free: 56.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.5081, allocations: 7.938 kB / 0.5521 GB, free: 56.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/0.5084, allocations: 119.9 kB / 0.5522 GB, free: 56.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/0.5086, allocations: 130.5 kB / 0.5524 GB, free: 56.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004026/0.5127, allocations: 2.794 MB / 0.5551 GB, free: 53.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009487/0.5222, allocations: 8.197 MB / 0.5631 GB, free: 45.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/0.5263, allocations: 4.588 MB / 0.5676 GB, free: 40.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.5265, allocations: 93.75 kB / 0.5677 GB, free: 40.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003646/0.5301, allocations: 2.52 MB / 0.5701 GB, free: 38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=172): time 3.386e-06/0.5302, allocations: 0 / 0.5701 GB, free: 38 MB / 362.7 MB Notification: Performance of matching and sorting (n=172): time 0.009237/0.5394, allocations: 7.069 MB / 0.577 GB, free: 30.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005693/0.54, allocations: 1.156 MB / 0.5782 GB, free: 29.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.5414, allocations: 0.8106 MB / 0.579 GB, free: 28.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002778/0.5417, allocations: 121.7 kB / 0.5791 GB, free: 28.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005455/0.5423, allocations: 0.6162 MB / 0.5797 GB, free: 27.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/0.5427, allocations: 427.2 kB / 0.5801 GB, free: 27.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.5428, allocations: 59.98 kB / 0.5801 GB, free: 27.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.543, allocations: 456.6 kB / 0.5806 GB, free: 26.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.5446, allocations: 1.071 MB / 0.5816 GB, free: 25.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.5466, allocations: 1.982 MB / 0.5836 GB, free: 23.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.5485, allocations: 1.797 MB / 0.5853 GB, free: 21.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/0.5485, allocations: 8 kB / 0.5853 GB, free: 21.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.005287/0.5538, allocations: 4.24 MB / 0.5895 GB, free: 17.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.5541, allocations: 0.6668 MB / 0.5901 GB, free: 16.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/0.5542, allocations: 31.95 kB / 0.5901 GB, free: 16.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.297e-05/0.5542, allocations: 52 kB / 0.5902 GB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008307/0.5551, allocations: 323.2 kB / 0.5905 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.894e-05/0.5551, allocations: 59.8 kB / 0.5906 GB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.5565, allocations: 282.1 kB / 0.5908 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.5567, allocations: 144.5 kB / 0.591 GB, free: 15.38 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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer 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 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: 127 * Number of states: 0 () * Number of discrete variables: 294 ($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,$whenCondition14,$PRE.P1.reStart,$whenCondition9,$PRE.P2.reStart,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition8,$whenCondition7,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition13,$whenCondition12,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$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,T2.firingCon,P2.enableIn.enablingPrio[1],P2.enableOut.enablingPrio[1],P2.reStart,T1.firingCon,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$whenCondition11,$whenCondition10,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$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],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,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,$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],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.T2.firingTime,T2.firingTime,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,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],P1.enableIn.arcWeight[1],P2.enableOut.arcWeight[1],P2.activeConOut.vec[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 (326): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 20 * 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.00249/0.5592, allocations: 1.675 MB / 0.5926 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004573/0.5597, allocations: 194.6 kB / 0.5928 GB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006495/0.5662, allocations: 5.003 MB / 0.5977 GB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.5662, allocations: 11.95 kB / 0.5977 GB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.5662, allocations: 0 / 0.5977 GB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.5663, allocations: 7.984 kB / 0.5977 GB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009587/0.5759, allocations: 7.639 MB / 0.6051 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.5759, allocations: 0 / 0.6051 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.5762, allocations: 75.8 kB / 0.6052 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.5762, allocations: 4 kB / 0.6052 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/0.5765, allocations: 115.9 kB / 0.6053 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.5765, allocations: 4 kB / 0.6053 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5765, allocations: 0 / 0.6053 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008622/0.5851, allocations: 5.221 MB / 0.6104 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.5857, allocations: 191.4 kB / 0.6106 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006875/0.5864, allocations: 179.9 kB / 0.6108 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.5879, allocations: 195.8 kB / 0.611 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001269/0.5891, allocations: 0.758 MB / 0.6117 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004335/0.5896, allocations: 143.9 kB / 0.6119 GB, free: 9.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008599/0.5905, allocations: 499 kB / 0.6123 GB, free: 8.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5905, allocations: 0 / 0.6123 GB, free: 8.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004048/0.5945, allocations: 0.7844 MB / 0.6131 GB, free: 8.188 MB / 378.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: 156 (P2.activeOut[1],P1.activeOut[1],$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,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.ani,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,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,T2.firingTime,T2.fireTime,T2.ani,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) * Number of discrete states: 104 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P2.t,P2.tokeninout,P2.activeConOut.anychange,P1.t,P1.tokeninout,T1.activation.active,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,T2.activation.active,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,$whenCondition3,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,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 16 * 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.002544/0.5971, allocations: 0.6448 MB / 0.6137 GB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008984/0.6061, allocations: 5.258 MB / 0.6189 GB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.6062, allocations: 0 / 0.6189 GB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01106/0.6172, allocations: 8.797 MB / 0.6274 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.6194, allocations: 166.9 kB / 0.6276 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.6304, allocations: 4.451 MB / 0.632 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.6322, allocations: 1.401 MB / 0.6333 GB, free: 2.969 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001493/0.6337, allocations: 423.2 kB / 0.6337 GB, free: 2.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.6342, allocations: 95.42 kB / 0.6338 GB, free: 2.457 MB / 394.7 MB Notification: Performance of SimCode: time 6.332e-06/0.6342, allocations: 0 / 0.6338 GB, free: 2.457 MB / 394.7 MB Notification: Performance of Templates: time 0.05702/0.6912, allocations: 30.71 MB / 0.6638 GB, free: 3.332 MB / 426.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TTcircle.makefile (rm -f PNlib_PNlib.Examples.DisTest.TTcircle.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTcircle.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTcircle.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTcircle.sim & ./PNlib_PNlib.Examples.DisTest.TTcircle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TTcircle.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTcircle_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTcircle.mat","../files/PNlib_PNlib.Examples.DisTest.TTcircle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches