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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002312/0.002312, allocations: 178.1 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9558/0.9558, allocations: 205.2 MB / 213.1 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 93.16 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06397/0.06397, allocations: 16.71 MB / 325.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5e-06/5.02e-06, allocations: 0 / 383.5 MB, free: 71.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0623/0.06232, allocations: 51.68 MB / 435.1 MB, free: 19.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.2521, allocations: 79.93 MB / 0.503 GB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001611/0.2523, allocations: 65.48 kB / 0.5031 GB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06052/0.3128, allocations: 27.62 MB / 0.53 GB, free: 10.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.056e-05/0.3129, allocations: 24 kB / 0.5301 GB, free: 10.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003148/0.316, allocations: 2.313 MB / 0.5323 GB, free: 7.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3161, allocations: 15.97 kB / 0.5323 GB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008606/0.317, allocations: 265.5 kB / 0.5326 GB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.3189, allocations: 1.015 MB / 0.5336 GB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.3191, allocations: 225.2 kB / 0.5338 GB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.3195, allocations: 171 kB / 0.534 GB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003703/0.3232, allocations: 2.723 MB / 0.5366 GB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005013/0.3282, allocations: 3.739 MB / 0.5403 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.3282, allocations: 11.88 kB / 0.5403 GB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.3285, allocations: 47.88 kB / 0.5403 GB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.3287, allocations: 141.2 kB / 0.5405 GB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009876/0.3386, allocations: 7.958 MB / 0.5482 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/0.3429, allocations: 4.524 MB / 0.5526 GB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/0.3467, allocations: 4.364 MB / 0.5569 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.3468, allocations: 93.75 kB / 0.557 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003226/0.3501, allocations: 2.434 MB / 0.5594 GB, free: 15.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=172): time 2.425e-06/0.3501, allocations: 0 / 0.5594 GB, free: 15.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=172): time 0.00549/0.3556, allocations: 3.519 MB / 0.5628 GB, free: 11.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006757/0.3563, allocations: 1.155 MB / 0.5639 GB, free: 10.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.357, allocations: 0.7118 MB / 0.5646 GB, free: 9.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.3572, allocations: 97.67 kB / 0.5647 GB, free: 9.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.3576, allocations: 0.5778 MB / 0.5653 GB, free: 9.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/0.358, allocations: 413.8 kB / 0.5657 GB, free: 8.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3581, allocations: 16 kB / 0.5657 GB, free: 8.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3583, allocations: 448.5 kB / 0.5661 GB, free: 8.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.3598, allocations: 1.02 MB / 0.5671 GB, free: 7.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.3617, allocations: 1.923 MB / 0.569 GB, free: 4.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.3633, allocations: 1.08 MB / 0.5701 GB, free: 3.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.3633, allocations: 8 kB / 0.5701 GB, free: 3.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.004072/0.3674, allocations: 2.82 MB / 0.5728 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3674, allocations: 11.98 kB / 0.5728 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/0.3675, allocations: 28.5 kB / 0.5729 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001104/0.3676, allocations: 47.91 kB / 0.5729 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000891/0.3685, allocations: 323.2 kB / 0.5732 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.159e-05/0.3685, allocations: 59.78 kB / 0.5733 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.3696, allocations: 234.4 kB / 0.5735 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.3699, allocations: 136 kB / 0.5736 GB, free: 92 kB / 378.7 MB Warning: Assuming fixed start value for the following 50 variables: P2.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T2.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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 () * 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.001302/0.3712, allocations: 1.274 MB / 0.5749 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.3715, allocations: 174.7 kB / 0.575 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.3772, allocations: 3.773 MB / 0.5787 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3772, allocations: 15.89 kB / 0.5787 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.3772, allocations: 0 / 0.5787 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.3772, allocations: 3.984 kB / 0.5787 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009301/0.3865, allocations: 6.233 MB / 0.5848 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3866, allocations: 0 / 0.5848 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.3868, allocations: 75.84 kB / 0.5849 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.3869, allocations: 4 kB / 0.5849 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/0.3871, allocations: 107.9 kB / 0.585 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3871, allocations: 7.906 kB / 0.585 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3871, allocations: 4 kB / 0.585 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005898/0.393, allocations: 3.986 MB / 0.5889 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3932, allocations: 183.5 kB / 0.5891 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005441/0.3937, allocations: 166.5 kB / 0.5892 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.3949, allocations: 207.8 kB / 0.5894 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/0.3961, allocations: 0.7964 MB / 0.5902 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002984/0.3964, allocations: 151.9 kB / 0.5904 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003854/0.3968, allocations: 391.1 kB / 0.5907 GB, free: 14.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001873/0.3987, allocations: 0.7054 MB / 0.5914 GB, free: 13.71 MB / 410.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]) * 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.001263/0.3999, allocations: 0.6168 MB / 0.592 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005053/0.405, allocations: 4.369 MB / 0.5963 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.405, allocations: 0 / 0.5963 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006434/0.4115, allocations: 8.334 MB / 0.6044 GB, free: 188 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.412, allocations: 124 kB / 0.6045 GB, free: 68 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.418, allocations: 3.604 MB / 0.6081 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.4191, allocations: 1.502 MB / 0.6095 GB, free: 10.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4191, allocations: 0 / 0.6095 GB, free: 10.88 MB / 426.7 MB Notification: Performance of Templates: time 0.04256/0.4617, allocations: 31.99 MB / 0.6408 GB, free: 10.49 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