Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TFDStest.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.ExtTest.TFDStest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T1.putDuration|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TFDStest") translateModel(PNlib.Examples.ExtTest.TFDStest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T1.putDuration|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TFDStest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009481/0.0009479, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.327/1.327, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008056/0.0008056, allocations: 82.56 kB / 266.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06655/0.06655, allocations: 16.71 MB / 331.4 MB, free: 8.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.227e-05, allocations: 4 kB / 390.9 MB, free: 65.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07122/0.07126, allocations: 51.69 MB / 442.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.273/0.3443, allocations: 83.31 MB / 0.5136 GB, free: 6.715 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.3445, allocations: 70.2 kB / 0.5137 GB, free: 6.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06591/0.4104, allocations: 26.86 MB / 0.5399 GB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4105, allocations: 0 / 0.5399 GB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.914e-05/0.4105, allocations: 20 kB / 0.5399 GB, free: 15.89 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.002684/0.4132, allocations: 2.125 MB / 0.542 GB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4133, allocations: 12.03 kB / 0.542 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007424/0.414, allocations: 218.4 kB / 0.5422 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.4153, allocations: 0.7353 MB / 0.5429 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.4155, allocations: 156.8 kB / 0.5431 GB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.4157, allocations: 145.2 kB / 0.5432 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.419, allocations: 2.381 MB / 0.5455 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.419, allocations: 7.938 kB / 0.5455 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.4192, allocations: 77.95 kB / 0.5456 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.4193, allocations: 73.27 kB / 0.5457 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.4215, allocations: 1.55 MB / 0.5472 GB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00591/0.4274, allocations: 5.673 MB / 0.5527 GB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.4299, allocations: 2.628 MB / 0.5553 GB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/0.4322, allocations: 2.473 MB / 0.5577 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.4324, allocations: 85.67 kB / 0.5578 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002164/0.4345, allocations: 1.648 MB / 0.5594 GB, free: 15.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=154): time 2.695e-06/0.4346, allocations: 0 / 0.5594 GB, free: 15.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.00416/0.4387, allocations: 3.015 MB / 0.5624 GB, free: 12.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005849/0.4393, allocations: 1.104 MB / 0.5634 GB, free: 10.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.44, allocations: 0.6053 MB / 0.564 GB, free: 10.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.4402, allocations: 113.7 kB / 0.5641 GB, free: 10.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.4405, allocations: 424.5 kB / 0.5645 GB, free: 9.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.4408, allocations: 387.7 kB / 0.5649 GB, free: 9.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.4409, allocations: 40 kB / 0.5649 GB, free: 9.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.4411, allocations: 435.4 kB / 0.5654 GB, free: 8.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.4422, allocations: 0.7227 MB / 0.5661 GB, free: 8.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.4437, allocations: 1.428 MB / 0.5675 GB, free: 6.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.4452, allocations: 1.529 MB / 0.569 GB, free: 4.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.4452, allocations: 7.938 kB / 0.569 GB, free: 4.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.004031/0.4493, allocations: 3.306 MB / 0.5722 GB, free: 1.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.4497, allocations: 0.7139 MB / 0.5729 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.4497, allocations: 20 kB / 0.5729 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.209e-05/0.4497, allocations: 36.81 kB / 0.5729 GB, free: 252 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.4504, allocations: 239.4 kB / 0.5732 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.687e-05/0.4505, allocations: 51.8 kB / 0.5732 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.4513, allocations: 206.5 kB / 0.5734 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.4514, allocations: 112 kB / 0.5735 GB, free: 15.65 MB / 394.7 MB Warning: Assuming fixed start value for the following 49 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 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 T1.fireOut:DISCRETE(fixed = false ) "Does the transition Output fire?" type: Boolean T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.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 P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real 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 P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real 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 T1.firingTimeOut:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.firingTimeIn: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: 97 * Number of states: 0 () * Number of discrete variables: 261 ($PRE.T1.putDuration,T1.putDuration,$PRE.T1.state128[1],T1.state128[1],$PRE.T1.state128[2],T1.state128[2],$PRE.T1.state128[3],T1.state128[3],$PRE.T1.state128[4],T1.state128[4],$PRE.T1.r128,T1.r128,$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.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,$whenCondition15,$PRE.P1.reStart,$whenCondition12,$PRE.P2.reStart,$whenCondition5,$PRE.T1.fireOut,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition11,$whenCondition10,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,P2.firingSumOut.firingSum,$whenCondition14,$whenCondition13,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,P1.firingSumIn.firingSum,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$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.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$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.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.firingCon,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[1],P1.reStart,P2.enableIn.disTransition[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,$PRE.P2.t,P2.t,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,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.T1.firingTimeIn,T1.firingTimeIn,$PRE.T1.firingTimeOut,T1.firingTimeOut,$PRE.T1.durationPassedIn,T1.durationPassedIn,$PRE.T1.durationPassedOut,T1.durationPassedOut,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active,T1.activeIn,T1.activeOut,T1.fireOut,$PRE.T1.fire,T1.fire,T1.activationOut.disPlaceOut[1],T1.activationIn.arcType[1],T1.activationIn.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activationIn.normalArc[1],T1.activationIn.testValueInt[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.activeConOut.vec[1],P1.outTransition[1].fed,P2.inTransition[1].emptied) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 23 * 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.001303/0.4527, allocations: 1.213 MB / 0.5747 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.453, allocations: 146.9 kB / 0.5748 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/0.4571, allocations: 2.921 MB / 0.5777 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.4572, allocations: 8 kB / 0.5777 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4572, allocations: 4 kB / 0.5777 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4572, allocations: 3.984 kB / 0.5777 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006384/0.4636, allocations: 4.751 MB / 0.5824 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4636, allocations: 0 / 0.5824 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.4638, allocations: 43.91 kB / 0.5824 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.4638, allocations: 8 kB / 0.5824 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/0.464, allocations: 83.95 kB / 0.5825 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.464, allocations: 7.953 kB / 0.5825 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.464, allocations: 4 kB / 0.5825 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004715/0.4687, allocations: 3.641 MB / 0.586 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4689, allocations: 179.7 kB / 0.5862 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/0.4693, allocations: 155.9 kB / 0.5864 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007457/0.47, allocations: 135.9 kB / 0.5865 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/0.4707, allocations: 416.1 kB / 0.5869 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/0.4709, allocations: 111.9 kB / 0.587 GB, free: 1.324 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004489/0.4713, allocations: 381.5 kB / 0.5874 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4713, allocations: 0 / 0.5874 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002026/0.4734, allocations: 0.6323 MB / 0.588 GB, free: 324 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 143 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],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,P1.activeOut[1],T1.activeIn,T1.activeOut,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,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,T1.putDuration,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.firingTimeIn,T1.firingTimeOut,T1.fireTime,T1.durationPassedIn,T1.durationPassedOut,T1.ani,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,T1.fireOut,T1.fire) * Number of discrete states: 108 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,T1.putDuration,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition5,T1.fireOut,T1.fire,P2.t,T1.activationOut.active,T1.durationPassedOut,P1.t,P1.tokeninout,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activationIn.active,T1.durationPassedIn,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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],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,$whenCondition3,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 18 * Record equations: 0 * When equations: 7 * 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.001065/0.4744, allocations: 0.6248 MB / 0.5886 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00438/0.4788, allocations: 3.995 MB / 0.5925 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4788, allocations: 0 / 0.5925 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004579/0.4834, allocations: 5.83 MB / 0.5982 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.4841, allocations: 157.5 kB / 0.5983 GB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.488, allocations: 2.406 MB / 0.6007 GB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.4887, allocations: 1.166 MB / 0.6018 GB, free: 1.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006017/0.4893, allocations: 260.4 kB / 0.6021 GB, free: 1.324 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.4894, allocations: 75.42 kB / 0.6021 GB, free: 1.254 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4894, allocations: 0 / 0.6021 GB, free: 1.254 MB / 410.7 MB Notification: Performance of Templates: time 0.03072/0.5202, allocations: 22.25 MB / 0.6239 GB, free: 10.79 MB / 442.7 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TFDStest.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TFDStest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TFDStest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TFDStest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TFDStest.sim & ./PNlib_PNlib.Examples.ExtTest.TFDStest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TFDStest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TFDStest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TFDStest.mat","../files/PNlib_PNlib.Examples.ExtTest.TFDStest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches