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 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.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.001007/0.001007, allocations: 92 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.00958/0.00958, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2067/0.2067, allocations: 16.73 MB / 308.2 MB, free: 15.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 8 kB / 373.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3378, allocations: 54.47 MB / 427.9 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.001845/0.3397, allocations: 1.605 MB / 429.5 MB, free: 38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.3431, allocations: 2.25 MB / 431.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.3433, allocations: 3.312 kB / 431.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.3436, allocations: 90.73 kB / 431.8 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.3439, allocations: 83.7 kB / 431.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.3453, allocations: 0.7576 MB / 432.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009366/0.3463, allocations: 1.106 MB / 433.8 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.3465, allocations: 135.5 kB / 433.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003601/0.3469, allocations: 414.7 kB / 434.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.3472, allocations: 265.4 kB / 434.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.3473, allocations: 28.66 kB / 434.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.3478, allocations: 466.1 kB / 435.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3479, allocations: 103.4 kB / 435.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.3482, allocations: 316.6 kB / 435.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007085/0.3489, allocations: 0.9406 MB / 436.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3489, allocations: 0 / 436.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3489, allocations: 0 / 436.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3489, allocations: 0 / 436.4 MB, free: 36.38 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.001036/0.3499, allocations: 1.084 MB / 437.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.35, allocations: 9.75 kB / 437.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.3503, allocations: 88.73 kB / 437.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.3507, allocations: 397.4 kB / 438 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.3508, allocations: 74.06 kB / 438 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.263e-05/0.3509, allocations: 64.34 kB / 438.1 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.3522, allocations: 1.097 MB / 439.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3522, allocations: 3.938 kB / 439.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.3523, allocations: 32.88 kB / 439.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/0.3523, allocations: 43.94 kB / 439.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009807/0.3533, allocations: 0.723 MB / 440 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.3558, allocations: 2.984 MB / 443 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.3569, allocations: 1.262 MB / 444.3 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008401/0.3578, allocations: 1.158 MB / 445.4 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.3578, allocations: 87.86 kB / 445.5 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009256/0.3588, allocations: 0.7668 MB / 446.3 MB, free: 29.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 3.206e-06/0.3588, allocations: 0 / 446.3 MB, free: 29.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.002664/0.3615, allocations: 2.104 MB / 448.4 MB, free: 29.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/0.3617, allocations: 0.5401 MB / 448.9 MB, free: 28.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.362, allocations: 377 kB / 449.3 MB, free: 28.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.3621, allocations: 71.56 kB / 449.3 MB, free: 28.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3622, allocations: 227.2 kB / 449.6 MB, free: 28.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3623, allocations: 182 kB / 449.7 MB, free: 27.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3624, allocations: 126 kB / 449.9 MB, free: 27.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.3625, allocations: 368.6 kB / 450.2 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.3629, allocations: 296.2 kB / 450.5 MB, free: 27.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.3635, allocations: 0.6303 MB / 451.1 MB, free: 26.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.3653, allocations: 2.005 MB / 453.1 MB, free: 25.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.3654, allocations: 3 kB / 453.2 MB, free: 25.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001663/0.367, allocations: 1.431 MB / 454.6 MB, free: 24.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.3672, allocations: 315.8 kB / 454.9 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.3672, allocations: 12.28 kB / 454.9 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.3672, allocations: 14.91 kB / 454.9 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.3675, allocations: 111.2 kB / 455 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.3676, allocations: 21.94 kB / 455 MB, free: 24.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.3679, allocations: 105.7 kB / 455.2 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.368, allocations: 54.5 kB / 455.2 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.0007321/0.3687, allocations: 0.6988 MB / 455.9 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3689, allocations: 67.03 kB / 456 MB, free: 23.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.3708, allocations: 1.592 MB / 457.6 MB, free: 22.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3709, allocations: 6.969 kB / 457.6 MB, free: 22.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3709, allocations: 2.938 kB / 457.6 MB, free: 22.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3709, allocations: 3.188 kB / 457.6 MB, free: 22.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.3734, allocations: 2.318 MB / 459.9 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3734, allocations: 0 / 459.9 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3735, allocations: 30.2 kB / 459.9 MB, free: 21.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.3735, allocations: 7.922 kB / 459.9 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.3736, allocations: 40.69 kB / 460 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3736, allocations: 7.203 kB / 460 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3736, allocations: 0 / 460 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.3761, allocations: 2.002 MB / 462 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.3762, allocations: 132 kB / 462.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.3764, allocations: 66.78 kB / 462.2 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.3767, allocations: 51.89 kB / 462.2 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.3769, allocations: 82.94 kB / 462.3 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.749e-05/0.377, allocations: 43.91 kB / 462.3 MB, free: 20.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.3772, allocations: 230.1 kB / 462.6 MB, free: 20.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3773, allocations: 0 / 462.6 MB, free: 20.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001043/0.3783, allocations: 302.3 kB / 462.9 MB, free: 20.25 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.0007297/0.379, allocations: 365.2 kB / 463.2 MB, free: 20.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.3812, allocations: 1.685 MB / 464.9 MB, free: 19.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3812, allocations: 0 / 464.9 MB, free: 19.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.3832, allocations: 2.715 MB / 467.6 MB, free: 16.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.3839, allocations: 93.67 kB / 467.7 MB, free: 16.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.3864, allocations: 1.493 MB / 469.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.3869, allocations: 0.8943 MB / 470.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.3873, allocations: 129.7 kB / 470.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.3874, allocations: 39.48 kB / 470.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3874, allocations: 7.938 kB / 470.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Templates: time 0.02169/0.4091, allocations: 10.3 MB / 480.6 MB, free: 12.9 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