Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TFDtest.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.DisTest.TFDtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDtest") translateModel(PNlib.Examples.DisTest.TFDtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDtest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008713/0.0008713, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000908/0.000908, allocations: 168.7 kB / 15.95 MB, free: 204 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.198/1.198, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1673/0.1673, allocations: 16.74 MB / 307.8 MB, free: 15.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.000262, allocations: 8 kB / 372.8 MB, free: 3.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.227, allocations: 54.48 MB / 427.3 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TFDtest): time 0.001741/0.2288, allocations: 2.104 MB / 429.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.2319, allocations: 2.462 MB / 431.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.2321, allocations: 6.469 kB / 431.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.2324, allocations: 131.8 kB / 432 MB, free: 37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.2327, allocations: 144.9 kB / 432.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.234, allocations: 0.8857 MB / 433 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.2351, allocations: 1.954 MB / 435 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.2354, allocations: 233.6 kB / 435.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.2358, allocations: 0.7473 MB / 435.9 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.2362, allocations: 0.5121 MB / 436.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.2363, allocations: 57.38 kB / 436.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.237, allocations: 0.6609 MB / 437.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.2371, allocations: 200.4 kB / 437.4 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.2374, allocations: 290.7 kB / 437.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008397/0.2382, allocations: 1.412 MB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2382, allocations: 0 / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2382, allocations: 0 / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.2382, allocations: 2.469 kB / 439.1 MB, free: 34.54 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00141/0.2396, allocations: 1.852 MB / 440.9 MB, free: 33.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.2397, allocations: 7.719 kB / 440.9 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.2401, allocations: 168.8 kB / 441.1 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.2407, allocations: 0.6221 MB / 441.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.2408, allocations: 157.9 kB / 441.9 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.241, allocations: 137.9 kB / 442 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.2435, allocations: 2.37 MB / 444.4 MB, free: 31.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.2436, allocations: 10.84 kB / 444.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.2437, allocations: 75.66 kB / 444.4 MB, free: 31.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.2438, allocations: 101.2 kB / 444.5 MB, free: 31.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.2457, allocations: 1.607 MB / 446.2 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.2498, allocations: 5.54 MB / 451.7 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.2519, allocations: 2.726 MB / 454.4 MB, free: 25.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.2537, allocations: 2.565 MB / 457 MB, free: 23.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.453e-05/0.2538, allocations: 84.83 kB / 457.1 MB, free: 23.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.2554, allocations: 1.639 MB / 458.7 MB, free: 22.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=147): time 2.285e-06/0.2554, allocations: 0 / 458.7 MB, free: 22.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.005581/0.261, allocations: 4.709 MB / 463.4 MB, free: 20.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003354/0.2614, allocations: 1.042 MB / 464.5 MB, free: 19.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.2619, allocations: 0.6077 MB / 465.1 MB, free: 19.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.2621, allocations: 108 kB / 465.2 MB, free: 19.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.2623, allocations: 397 kB / 465.6 MB, free: 19.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.2625, allocations: 369.6 kB / 465.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.2626, allocations: 43.22 kB / 466 MB, free: 18.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2627, allocations: 422.8 kB / 466.4 MB, free: 18.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009803/0.2637, allocations: 0.7146 MB / 467.1 MB, free: 18.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.265, allocations: 1.401 MB / 468.5 MB, free: 17.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.2661, allocations: 1.414 MB / 469.9 MB, free: 16.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.2662, allocations: 5.625 kB / 469.9 MB, free: 16.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003695/0.2699, allocations: 3.198 MB / 473.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003056/0.2702, allocations: 0.6358 MB / 473.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/0.2702, allocations: 21.25 kB / 473.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.372e-05/0.2703, allocations: 34.78 kB / 473.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.2709, allocations: 223.7 kB / 474 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.129e-05/0.2709, allocations: 44.84 kB / 474.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.2717, allocations: 234 kB / 474.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.2718, allocations: 105.8 kB / 474.4 MB, free: 13.57 MB / 350.1 MB Warning: Assuming fixed start value for the following 48 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 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: 243 ($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,$whenCondition14,$PRE.P1.reStart,$whenCondition11,$PRE.P2.reStart,P1.outTransition[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition10,$whenCondition9,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition13,$whenCondition12,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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],$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$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,$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 (251): * Single equations (assignments): 230 * Array equations: 1 * 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.001264/0.2731, allocations: 1.327 MB / 475.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.2733, allocations: 135.4 kB / 475.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.2778, allocations: 3.575 MB / 479.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.2779, allocations: 8.938 kB / 479.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2779, allocations: 1.188 kB / 479.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2779, allocations: 4.328 kB / 479.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006355/0.2843, allocations: 5.325 MB / 484.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2843, allocations: 5.094 kB / 484.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.2845, allocations: 52.83 kB / 484.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.2845, allocations: 3.562 kB / 484.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.2846, allocations: 74.66 kB / 484.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2846, allocations: 6.719 kB / 484.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2846, allocations: 5.25 kB / 484.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.2892, allocations: 4.26 MB / 489.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.2893, allocations: 179.7 kB / 489.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.2896, allocations: 144 kB / 489.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005917/0.2902, allocations: 119.9 kB / 489.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005065/0.2907, allocations: 417.2 kB / 490 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.2908, allocations: 90.53 kB / 490.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.2911, allocations: 358.8 kB / 490.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2911, allocations: 0 / 490.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001395/0.2925, allocations: 0.5776 MB / 491 MB, free: 3.074 MB / 350.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: 134 ($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,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,P1.t,P1.outTransition[1].tokenInOut,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.fire,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) * Number of discrete states: 101 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,T1.fire,P2.t,P1.t,P1.activeOut[1],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 (71): * Single equations (assignments): 47 * Array equations: 1 * Algorithm blocks: 16 * 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.0007589/0.2933, allocations: 0.557 MB / 491.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003367/0.2966, allocations: 3.775 MB / 495.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2967, allocations: 0 / 495.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004224/0.3009, allocations: 5.832 MB / 0.4894 GB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/0.3017, allocations: 192.5 kB / 0.4896 GB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.3056, allocations: 3.043 MB / 0.4926 GB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.3062, allocations: 1.122 MB / 0.4937 GB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000518/0.3067, allocations: 255.8 kB / 0.4939 GB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3069, allocations: 75.41 kB / 0.494 GB, free: 3.754 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3069, allocations: 0 / 0.494 GB, free: 3.754 MB / 366.1 MB Notification: Performance of Templates: time 0.02648/0.3334, allocations: 21.19 MB / 0.5147 GB, free: 14.46 MB / 398.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TFDtest.makefile (rm -f PNlib_PNlib.Examples.DisTest.TFDtest.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TFDtest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TFDtest.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TFDtest.sim & ./PNlib_PNlib.Examples.DisTest.TFDtest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TFDtest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TFDtest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TFDtest.mat","../files/PNlib_PNlib.Examples.DisTest.TFDtest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches