Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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 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 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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008652/0.008652, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.211/0.211, allocations: 16.72 MB / 308.2 MB, free: 15.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003522, allocations: 11.98 kB / 373.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 54.47 MB / 427.9 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.001894/0.3394, allocations: 1.603 MB / 429.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.3428, allocations: 2.251 MB / 431.7 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.3431, allocations: 6.688 kB / 431.7 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3434, allocations: 89.94 kB / 431.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.3437, allocations: 86.48 kB / 431.9 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.3453, allocations: 0.7503 MB / 432.7 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007768/0.3461, allocations: 1.116 MB / 433.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.3463, allocations: 154.9 kB / 433.9 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.3467, allocations: 424.4 kB / 434.3 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.3471, allocations: 300 kB / 434.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.43e-05/0.3472, allocations: 35.78 kB / 434.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005581/0.3477, allocations: 455.5 kB / 435.1 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.3479, allocations: 126.9 kB / 435.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.3481, allocations: 351.2 kB / 435.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007779/0.3489, allocations: 1.061 MB / 436.6 MB, free: 36.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3489, allocations: 0 / 436.6 MB, free: 36.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3489, allocations: 0 / 436.6 MB, free: 36.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.349, allocations: 0 / 436.6 MB, free: 36.4 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001167/0.3501, allocations: 1.121 MB / 437.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3502, allocations: 11.59 kB / 437.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.3504, allocations: 92.34 kB / 437.9 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.3509, allocations: 436.1 kB / 438.3 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.8e-05/0.351, allocations: 88.52 kB / 438.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.3511, allocations: 79.27 kB / 438.5 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.3527, allocations: 1.314 MB / 439.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3528, allocations: 3.031 kB / 439.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.3528, allocations: 42.41 kB / 439.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.234e-05/0.3529, allocations: 50.8 kB / 439.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.3541, allocations: 0.8913 MB / 440.8 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.357, allocations: 3.303 MB / 444.1 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.3582, allocations: 1.53 MB / 445.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.3593, allocations: 1.361 MB / 447 MB, free: 29.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.3594, allocations: 80.5 kB / 447 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.3604, allocations: 0.8901 MB / 447.9 MB, free: 29.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.176e-06/0.3605, allocations: 7.984 kB / 447.9 MB, free: 29.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.003131/0.3636, allocations: 2.534 MB / 450.5 MB, free: 28.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002191/0.3638, allocations: 0.5622 MB / 451 MB, free: 27.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.3642, allocations: 415.2 kB / 451.4 MB, free: 27.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.547e-05/0.3643, allocations: 68.36 kB / 451.5 MB, free: 27.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.3644, allocations: 263.5 kB / 451.8 MB, free: 27.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.3646, allocations: 192.3 kB / 451.9 MB, free: 27.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3647, allocations: 133.7 kB / 452.1 MB, free: 26.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.3648, allocations: 374.7 kB / 452.4 MB, free: 26.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.3654, allocations: 435.5 kB / 452.9 MB, free: 26.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/0.3661, allocations: 0.8015 MB / 453.7 MB, free: 25.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.3683, allocations: 2.515 MB / 456.2 MB, free: 24.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.3683, allocations: 3.094 kB / 456.2 MB, free: 24.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001969/0.3703, allocations: 1.814 MB / 458 MB, free: 23.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.3705, allocations: 338.4 kB / 458.3 MB, free: 22.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3705, allocations: 9.375 kB / 458.3 MB, free: 22.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.3705, allocations: 16.62 kB / 458.4 MB, free: 22.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.3708, allocations: 120.9 kB / 458.5 MB, free: 22.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.3709, allocations: 22.09 kB / 458.5 MB, free: 22.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.3713, allocations: 133.9 kB / 458.6 MB, free: 22.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.3714, allocations: 58.81 kB / 458.7 MB, free: 22.68 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" 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.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$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,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$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,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006956/0.3721, allocations: 0.7576 MB / 459.4 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3722, allocations: 75.69 kB / 459.5 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.3748, allocations: 1.952 MB / 461.5 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.3748, allocations: 4.812 kB / 461.5 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3748, allocations: 1.406 kB / 461.5 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3748, allocations: 2.766 kB / 461.5 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.3781, allocations: 2.747 MB / 464.2 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3781, allocations: 0.8906 kB / 464.2 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3783, allocations: 21.11 kB / 464.2 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3783, allocations: 3.375 kB / 464.2 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.992e-05/0.3784, allocations: 42.61 kB / 464.3 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3784, allocations: 10.12 kB / 464.3 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3784, allocations: 1.125 kB / 464.3 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.3814, allocations: 2.316 MB / 466.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.3815, allocations: 128.7 kB / 466.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.3817, allocations: 74.78 kB / 466.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.3822, allocations: 77.42 kB / 466.9 MB, free: 18.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005537/0.3827, allocations: 330.7 kB / 467.2 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.806e-05/0.3828, allocations: 45.75 kB / 467.3 MB, free: 18.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.3831, allocations: 247.2 kB / 467.5 MB, free: 18.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3831, allocations: 1.094 kB / 467.5 MB, free: 18.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001377/0.3845, allocations: 336.5 kB / 467.8 MB, free: 18.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,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,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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 (35): * Single equations (assignments): 22 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009133/0.3854, allocations: 382 kB / 468.2 MB, free: 18.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.3883, allocations: 2.053 MB / 470.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3884, allocations: 0 / 470.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.3909, allocations: 3.055 MB / 473.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.3918, allocations: 114.5 kB / 473.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.3949, allocations: 1.696 MB / 475.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.3953, allocations: 0.9221 MB / 476 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004282/0.3958, allocations: 141.7 kB / 476.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.3959, allocations: 43.42 kB / 476.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3959, allocations: 0 / 476.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.02066/0.4166, allocations: 12.62 MB / 488.8 MB, free: 6.336 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches