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.002659/0.002659, allocations: 172.1 kB / 16.12 MB, free: 5.668 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.706/1.706, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0008297/0.0008297, allocations: 92.98 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07066/0.07066, allocations: 16.9 MB / 335.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 19.98 kB / 398.2 MB, free: 61.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09506, allocations: 51.7 MB / 449.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2896/0.3847, allocations: 80.8 MB / 0.5182 GB, free: 8.129 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.385, allocations: 69.27 kB / 0.5183 GB, free: 8.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07135/0.4564, allocations: 27.89 MB / 0.5455 GB, free: 360 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4564, allocations: 0 / 0.5455 GB, free: 360 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.853e-05/0.4565, allocations: 32 kB / 0.5455 GB, free: 328 kB / 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.005731/0.4622, allocations: 2.34 MB / 0.5478 GB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4623, allocations: 8.031 kB / 0.5478 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.464, allocations: 267.8 kB / 0.5481 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.4667, allocations: 1.002 MB / 0.5491 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/0.4671, allocations: 280.5 kB / 0.5493 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.4681, allocations: 229.5 kB / 0.5496 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008571/0.4767, allocations: 3.9 MB / 0.5534 GB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.565e-05/0.4768, allocations: 7.938 kB / 0.5534 GB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005967/0.4774, allocations: 114.7 kB / 0.5535 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002809/0.4777, allocations: 135.3 kB / 0.5536 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005233/0.483, allocations: 2.731 MB / 0.5563 GB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.4967, allocations: 8.161 MB / 0.5642 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005638/0.5024, allocations: 4.565 MB / 0.5687 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005105/0.5075, allocations: 4.393 MB / 0.573 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.5077, allocations: 93.91 kB / 0.5731 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00434/0.5121, allocations: 2.452 MB / 0.5755 GB, free: 3.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=172): time 3.807e-06/0.5121, allocations: 0 / 0.5755 GB, free: 3.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=172): time 0.01293/0.525, allocations: 7.49 MB / 0.5828 GB, free: 12.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008433/0.5259, allocations: 1.167 MB / 0.5839 GB, free: 10.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.5274, allocations: 0.8895 MB / 0.5848 GB, free: 9.824 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002734/0.5277, allocations: 121.7 kB / 0.5849 GB, free: 9.699 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.5284, allocations: 0.6163 MB / 0.5855 GB, free: 9.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/0.5289, allocations: 431.2 kB / 0.5859 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.5291, allocations: 55.98 kB / 0.586 GB, free: 8.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002714/0.5294, allocations: 456.5 kB / 0.5864 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.5313, allocations: 1.071 MB / 0.5875 GB, free: 7.062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/0.5339, allocations: 1.993 MB / 0.5894 GB, free: 4.656 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007615/0.5415, allocations: 6.34 MB / 0.5956 GB, free: 13.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-05/0.5416, allocations: 8 kB / 0.5956 GB, free: 13.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.006981/0.5486, allocations: 4.366 MB / 0.5999 GB, free: 9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004915/0.5491, allocations: 0.6776 MB / 0.6005 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.69e-05/0.5492, allocations: 28 kB / 0.6006 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-05/0.5492, allocations: 40 kB / 0.6006 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009968/0.5502, allocations: 331.7 kB / 0.6009 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-05/0.5504, allocations: 59.78 kB / 0.601 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.5518, allocations: 282.1 kB / 0.6012 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/0.5521, allocations: 144 kB / 0.6014 GB, free: 7.332 MB / 426.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.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean 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.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: 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,$PRE.T2.ani,T2.fireTime,T2.ani,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition8,$whenCondition7,P2.tokeninout,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition13,$whenCondition12,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,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],$PRE.P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.T1.firingTime,$PRE.P2.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,$PRE.T2.firingTime,$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],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,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],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,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.003351/0.5555, allocations: 1.688 MB / 0.603 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008086/0.5563, allocations: 182.6 kB / 0.6032 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.5678, allocations: 6.347 MB / 0.6094 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.5678, allocations: 8 kB / 0.6094 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.5678, allocations: 0 / 0.6094 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.5679, allocations: 3.984 kB / 0.6094 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.5826, allocations: 8.912 MB / 0.6181 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.5827, allocations: 3.984 kB / 0.6181 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.583, allocations: 75.84 kB / 0.6182 GB, free: 5.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.475e-06/0.583, allocations: 4 kB / 0.6182 GB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/0.5833, allocations: 111.9 kB / 0.6183 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.5833, allocations: 4 kB / 0.6183 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5833, allocations: 0 / 0.6183 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.5934, allocations: 6.51 MB / 0.6247 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.5937, allocations: 191.4 kB / 0.6248 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006008/0.5944, allocations: 179.9 kB / 0.625 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.5956, allocations: 195.8 kB / 0.6252 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001268/0.5969, allocations: 0.7618 MB / 0.626 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003474/0.5973, allocations: 143.9 kB / 0.6261 GB, free: 13.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007292/0.598, allocations: 0.4911 MB / 0.6266 GB, free: 13.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.598, allocations: 4 kB / 0.6266 GB, free: 13.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002873/0.6009, allocations: 0.7727 MB / 0.6273 GB, free: 12.25 MB / 458.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.001621/0.6025, allocations: 0.6475 MB / 0.628 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007433/0.61, allocations: 5.188 MB / 0.633 GB, free: 6.168 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.61, allocations: 4.125 kB / 0.633 GB, free: 6.164 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1868/0.7968, allocations: 8.699 MB / 0.6415 GB, free: 145.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.7982, allocations: 247.7 kB / 0.6418 GB, free: 145.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/0.8055, allocations: 4.43 MB / 0.6461 GB, free: 144.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009724/0.8066, allocations: 1.376 MB / 0.6474 GB, free: 143.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001325/0.8079, allocations: 418.6 kB / 0.6478 GB, free: 143.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.8081, allocations: 93.92 kB / 0.6479 GB, free: 143.4 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.8081, allocations: 0 / 0.6479 GB, free: 143.4 MB / 458.7 MB Notification: Performance of Templates: time 0.04655/0.8547, allocations: 30.6 MB / 0.6778 GB, free: 137.2 MB / 458.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