Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009555, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1853/0.1853, allocations: 16.73 MB / 308.8 MB, free: 15.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004236, allocations: 11.94 kB / 374.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3299, allocations: 54.47 MB / 428.6 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.001918/0.3319, allocations: 1.606 MB / 430.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.3358, allocations: 2.249 MB / 432.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004743/0.3363, allocations: 2.75 kB / 432.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.3367, allocations: 89.3 kB / 432.5 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.3372, allocations: 83.11 kB / 432.6 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.3391, allocations: 0.7565 MB / 433.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.3403, allocations: 1.106 MB / 434.4 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.3405, allocations: 133.2 kB / 434.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/0.3412, allocations: 416.9 kB / 435 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.3417, allocations: 267.2 kB / 435.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.3419, allocations: 30.12 kB / 435.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006589/0.3426, allocations: 451.1 kB / 435.7 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.3427, allocations: 118.3 kB / 435.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.343, allocations: 316 kB / 436.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.3437, allocations: 0.7225 MB / 436.9 MB, free: 36.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3438, allocations: 3.938 kB / 436.9 MB, free: 36.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3438, allocations: 0 / 436.9 MB, free: 36.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.3438, allocations: 0 / 436.9 MB, free: 36.37 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001132/0.3449, allocations: 1.077 MB / 437.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.345, allocations: 12.97 kB / 438 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.3452, allocations: 84.66 kB / 438 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.3456, allocations: 396.2 kB / 438.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.879e-05/0.3457, allocations: 75.47 kB / 438.5 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.3458, allocations: 70.2 kB / 438.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.3471, allocations: 1.095 MB / 439.7 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3472, allocations: 3.938 kB / 439.7 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.3473, allocations: 35.17 kB / 439.7 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.047e-05/0.3473, allocations: 47.83 kB / 439.7 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009799/0.3483, allocations: 0.7169 MB / 440.5 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.3508, allocations: 2.984 MB / 443.4 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.3519, allocations: 1.26 MB / 444.7 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008637/0.3528, allocations: 1.16 MB / 445.9 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.3528, allocations: 88.64 kB / 445.9 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009345/0.3538, allocations: 0.7574 MB / 446.7 MB, free: 29.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.314e-06/0.3538, allocations: 0 / 446.7 MB, free: 29.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.002684/0.3565, allocations: 2.107 MB / 448.8 MB, free: 29.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.3567, allocations: 0.5399 MB / 449.4 MB, free: 28.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.357, allocations: 386.4 kB / 449.7 MB, free: 28.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.118e-05/0.3571, allocations: 65.12 kB / 449.8 MB, free: 28.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3573, allocations: 229.2 kB / 450 MB, free: 28.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.3574, allocations: 181.4 kB / 450.2 MB, free: 27.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3576, allocations: 125.1 kB / 450.3 MB, free: 27.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.3577, allocations: 367.8 kB / 450.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.3582, allocations: 292.2 kB / 451 MB, free: 27.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.3588, allocations: 0.6323 MB / 451.6 MB, free: 26.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.3612, allocations: 2.01 MB / 453.6 MB, free: 25.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/0.3612, allocations: 5.312 kB / 453.6 MB, free: 25.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002646/0.3639, allocations: 1.429 MB / 455 MB, free: 24.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.364, allocations: 316.2 kB / 455.3 MB, free: 24.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.3641, allocations: 10.56 kB / 455.4 MB, free: 24.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/0.3641, allocations: 12.81 kB / 455.4 MB, free: 24.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.3646, allocations: 113.6 kB / 455.5 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-05/0.3647, allocations: 22.81 kB / 455.5 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.3653, allocations: 104.4 kB / 455.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.3655, allocations: 52.09 kB / 455.7 MB, free: 24.05 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableIn.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 108 * Array equations: 0 * 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.0009987/0.3665, allocations: 0.708 MB / 456.4 MB, free: 23.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.3667, allocations: 66.44 kB / 456.4 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.3701, allocations: 1.588 MB / 458 MB, free: 22.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3701, allocations: 9.969 kB / 458 MB, free: 22.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3702, allocations: 3.938 kB / 458 MB, free: 22.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.3702, allocations: 0 / 458 MB, free: 22.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004509/0.3747, allocations: 2.324 MB / 460.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3747, allocations: 0 / 460.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.3749, allocations: 25.42 kB / 460.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.375, allocations: 6.969 kB / 460.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.3751, allocations: 37.17 kB / 460.4 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.3751, allocations: 3.156 kB / 460.4 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3751, allocations: 0 / 460.4 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004439/0.3796, allocations: 2.001 MB / 462.4 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.3797, allocations: 130.7 kB / 462.6 MB, free: 20.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/0.3801, allocations: 69.89 kB / 462.6 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006808/0.3808, allocations: 53.23 kB / 462.7 MB, free: 20.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.3811, allocations: 77.22 kB / 462.8 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.3813, allocations: 43.27 kB / 462.8 MB, free: 20.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004161/0.3817, allocations: 230.8 kB / 463 MB, free: 20.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3817, allocations: 0 / 463 MB, free: 20.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001815/0.3835, allocations: 302.9 kB / 463.3 MB, free: 20.24 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: 64 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 21 * Array equations: 0 * 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.001333/0.3849, allocations: 376.6 kB / 463.7 MB, free: 20.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003417/0.3883, allocations: 1.683 MB / 465.4 MB, free: 19.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3883, allocations: 0 / 465.4 MB, free: 19.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/0.3917, allocations: 2.704 MB / 468.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.3928, allocations: 102.5 kB / 468.2 MB, free: 16.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.3956, allocations: 1.523 MB / 469.7 MB, free: 16.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.396, allocations: 0.8859 MB / 470.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.3962, allocations: 46.53 kB / 470.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3962, allocations: 0 / 470.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Templates: time 0.02288/0.4191, allocations: 10.33 MB / 481 MB, free: 13.12 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TTtoPD.makefile (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","../files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches