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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000849/0.000849, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008823/0.0008824, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 223.3 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1725/0.1725, allocations: 16.74 MB / 307.8 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.000283, allocations: 8 kB / 372.8 MB, free: 3.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2165, allocations: 54.48 MB / 427.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TFDStest): time 0.001681/0.2182, allocations: 2.149 MB / 429.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.2225, allocations: 4.151 MB / 433.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.2227, allocations: 6.906 kB / 433.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.223, allocations: 135.5 kB / 433.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.2233, allocations: 156.8 kB / 433.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.2248, allocations: 1.139 MB / 435 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.2259, allocations: 2.026 MB / 437 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.2261, allocations: 241.6 kB / 437.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/0.2266, allocations: 0.7789 MB / 438.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.227, allocations: 0.5402 MB / 438.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.2271, allocations: 61.09 kB / 438.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006286/0.2278, allocations: 0.695 MB / 439.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.2279, allocations: 217.7 kB / 439.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.2282, allocations: 296.3 kB / 439.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008646/0.229, allocations: 1.47 MB / 441.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.229, allocations: 0 / 441.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2291, allocations: 0 / 441.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2291, allocations: 3.938 kB / 441.3 MB, free: 33.32 MB / 350.1 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.001737/0.2308, allocations: 1.996 MB / 443.3 MB, free: 31.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2309, allocations: 7.906 kB / 443.3 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.2313, allocations: 184.3 kB / 443.5 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006503/0.232, allocations: 0.6505 MB / 444.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.2321, allocations: 156.6 kB / 444.3 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.2323, allocations: 151.5 kB / 444.5 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.2348, allocations: 2.43 MB / 446.9 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2349, allocations: 0 / 446.9 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.235, allocations: 77.75 kB / 447 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.2351, allocations: 99.05 kB / 447.1 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.237, allocations: 1.635 MB / 448.7 MB, free: 29.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/0.2412, allocations: 5.664 MB / 454.4 MB, free: 25.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.2433, allocations: 2.767 MB / 457.1 MB, free: 23.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.245, allocations: 2.595 MB / 459.7 MB, free: 22.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.237e-05/0.2451, allocations: 94.03 kB / 459.8 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00185/0.247, allocations: 1.719 MB / 461.5 MB, free: 21.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=157): time 2.805e-06/0.247, allocations: 0 / 461.5 MB, free: 21.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=157): time 0.006207/0.2532, allocations: 4.891 MB / 466.4 MB, free: 19.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003549/0.2536, allocations: 1.158 MB / 467.6 MB, free: 17.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.2543, allocations: 0.6657 MB / 468.2 MB, free: 17.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.2544, allocations: 112.4 kB / 468.4 MB, free: 17.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.2546, allocations: 408.9 kB / 468.8 MB, free: 17.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.2549, allocations: 390.4 kB / 469.1 MB, free: 16.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.255, allocations: 44.94 kB / 469.2 MB, free: 16.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2551, allocations: 437 kB / 469.6 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.2561, allocations: 0.7633 MB / 470.4 MB, free: 16.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.2574, allocations: 1.467 MB / 471.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.2587, allocations: 1.557 MB / 473.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.2587, allocations: 9.141 kB / 473.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.003651/0.2624, allocations: 3.434 MB / 476.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.2626, allocations: 0.7231 MB / 477.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.2626, allocations: 19.75 kB / 477.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.616e-05/0.2627, allocations: 35.06 kB / 477.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.2633, allocations: 228.6 kB / 477.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.956e-05/0.2633, allocations: 47.58 kB / 477.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.2641, allocations: 248.8 kB / 478.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.2643, allocations: 106.1 kB / 478.2 MB, free: 11.2 MB / 350.1 MB Warning: Assuming fixed start value for the following 49 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 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 T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer 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.fireOut:DISCRETE(fixed = true ) "Does the transition Output fire?" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 T1.firingTimeOut:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTimeIn: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: 93 * Number of states: 0 () * Number of discrete variables: 260 ($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,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition11,$whenCondition10,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition14,$whenCondition13,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition5,$PRE.T1.fireOut,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,P2.firingSumOut.firingSum,P1.firingSumIn.firingSum,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$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.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$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.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.activeConOut.vec[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,T1.activeIn,T1.activeOut,T1.fireOut,$PRE.T1.fire,T1.fire,$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.activationIn.disPlaceIn[1],T1.activationIn.arcType[1],T1.activationIn.testValueInt[1],T1.activationIn.normalArc[1],P1.enableOut.disTransition[1],T1.activationOut.disPlaceOut[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 237 * Array equations: 1 * 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.001336/0.2656, allocations: 1.418 MB / 479.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.2658, allocations: 145.7 kB / 479.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/0.2704, allocations: 3.772 MB / 483.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.2705, allocations: 9.359 kB / 483.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.2705, allocations: 1.672 kB / 483.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.2705, allocations: 5.109 kB / 483.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/0.2767, allocations: 5.588 MB / 489.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2767, allocations: 3.938 kB / 489.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.2769, allocations: 43.91 kB / 489.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.2769, allocations: 4 kB / 489.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.277, allocations: 83.95 kB / 489.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.277, allocations: 4 kB / 489.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.277, allocations: 0 / 489.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004369/0.2814, allocations: 4.463 MB / 493.8 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.2815, allocations: 183.6 kB / 493.9 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.2819, allocations: 156 kB / 494.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/0.2826, allocations: 131.9 kB / 494.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006169/0.2832, allocations: 432.1 kB / 494.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.2834, allocations: 91.94 kB / 494.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003957/0.2838, allocations: 382.8 kB / 495.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2838, allocations: 4 kB / 495.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001675/0.2855, allocations: 0.6088 MB / 495.7 MB, free: 14.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 144 ($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,T1.activeIn,T1.activeOut,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],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.fireOut,T1.fire,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) * Number of discrete states: 111 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,T1.fire,P2.t,P1.t,P1.activeOut[1],T1.putDuration,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition5,T1.fireOut,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activationOut.active,T1.durationPassedOut,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,i,P1.activeConOut.vec[i],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.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 48 * Array equations: 1 * 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.0009139/0.2864, allocations: 0.5882 MB / 496.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004432/0.2908, allocations: 4.087 MB / 0.4887 GB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2909, allocations: 5.812 kB / 0.4887 GB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004493/0.2954, allocations: 6.016 MB / 0.4945 GB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.2962, allocations: 211.3 kB / 0.4947 GB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/0.3007, allocations: 3.201 MB / 0.4979 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/0.3013, allocations: 1.15 MB / 0.499 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006185/0.302, allocations: 260.2 kB / 0.4992 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.3021, allocations: 75.42 kB / 0.4993 GB, free: 14.18 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3021, allocations: 4 kB / 0.4993 GB, free: 14.18 MB / 382.1 MB Notification: Performance of Templates: time 0.02959/0.3317, allocations: 22.29 MB / 0.5211 GB, free: 7.777 MB / 398.1 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