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 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.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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001319/0.001319, allocations: 189.2 kB / 16.13 MB, free: 6.656 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2251/0.2251, allocations: 16.77 MB / 306.7 MB, free: 15.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 63.91 kB / 371 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3392, allocations: 53.45 MB / 424.4 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002558/0.3418, allocations: 1.974 MB / 426.4 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.3449, allocations: 2.289 MB / 428.7 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.3451, allocations: 6.875 kB / 428.7 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.3454, allocations: 87.16 kB / 428.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.3457, allocations: 88.97 kB / 428.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3469, allocations: 0.7545 MB / 429.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.3478, allocations: 1.116 MB / 430.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.348, allocations: 152.6 kB / 430.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004395/0.3484, allocations: 436.2 kB / 431.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.3488, allocations: 329.8 kB / 431.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.576e-05/0.3489, allocations: 45.89 kB / 431.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006568/0.3495, allocations: 463.1 kB / 432.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3497, allocations: 133.1 kB / 432.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.35, allocations: 352.1 kB / 432.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009838/0.351, allocations: 1.083 MB / 433.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.351, allocations: 3.422 kB / 433.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.351, allocations: 0 / 433.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.351, allocations: 0 / 433.7 MB, free: 35.55 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.001372/0.3524, allocations: 1.273 MB / 435 MB, free: 34.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.3524, allocations: 9.156 kB / 435 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.3527, allocations: 91.17 kB / 435.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.3532, allocations: 442.3 kB / 435.5 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.3533, allocations: 85.61 kB / 435.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-05/0.3534, allocations: 78.7 kB / 435.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.3551, allocations: 1.312 MB / 437 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3551, allocations: 0 / 437 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/0.3552, allocations: 36.98 kB / 437 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-05/0.3553, allocations: 61.75 kB / 437.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.3566, allocations: 0.8795 MB / 437.9 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.3598, allocations: 3.317 MB / 441.3 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.3612, allocations: 1.525 MB / 442.8 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.3623, allocations: 1.352 MB / 444.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.3624, allocations: 88.52 kB / 444.2 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.3637, allocations: 0.902 MB / 445.1 MB, free: 28.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.855e-06/0.3637, allocations: 3.984 kB / 445.1 MB, free: 28.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.003566/0.3672, allocations: 2.526 MB / 447.6 MB, free: 27.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/0.3675, allocations: 0.5637 MB / 448.2 MB, free: 26.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.3679, allocations: 419.2 kB / 448.6 MB, free: 26.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.163e-05/0.368, allocations: 65.86 kB / 448.7 MB, free: 26.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.3682, allocations: 266.6 kB / 448.9 MB, free: 26.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.3684, allocations: 184 kB / 449.1 MB, free: 26.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.3687, allocations: 224.7 kB / 449.3 MB, free: 26.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3688, allocations: 378 kB / 449.7 MB, free: 25.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.3694, allocations: 444.5 kB / 450.1 MB, free: 25.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000781/0.3702, allocations: 0.7869 MB / 450.9 MB, free: 24.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.3725, allocations: 2.509 MB / 453.4 MB, free: 23.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.3725, allocations: 3 kB / 453.4 MB, free: 23.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002137/0.3747, allocations: 1.802 MB / 455.3 MB, free: 22.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.3748, allocations: 335.3 kB / 455.6 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.3749, allocations: 12.53 kB / 455.6 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/0.3749, allocations: 16.22 kB / 455.6 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.3753, allocations: 124 kB / 455.7 MB, free: 21.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.3753, allocations: 30.77 kB / 455.8 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.3758, allocations: 131.1 kB / 455.9 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/0.3759, allocations: 64.83 kB / 455.9 MB, free: 21.71 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.0009049/0.3768, allocations: 0.7456 MB / 456.7 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.377, allocations: 77.72 kB / 456.8 MB, free: 21.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/0.3801, allocations: 1.945 MB / 458.7 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.3801, allocations: 9.047 kB / 458.7 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.3801, allocations: 1.312 kB / 458.7 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3802, allocations: 7.234 kB / 458.7 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.3841, allocations: 2.738 MB / 461.5 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3841, allocations: 0 / 461.5 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3842, allocations: 20.98 kB / 461.5 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.3842, allocations: 2.469 kB / 461.5 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-05/0.3843, allocations: 45.22 kB / 461.5 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.3843, allocations: 8.344 kB / 461.5 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3843, allocations: 5.094 kB / 461.5 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.388, allocations: 2.316 MB / 463.9 MB, free: 17.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3881, allocations: 125.2 kB / 464 MB, free: 17.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.3883, allocations: 75.75 kB / 464.1 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/0.3888, allocations: 75.89 kB / 464.1 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006485/0.3895, allocations: 324.7 kB / 464.5 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.3896, allocations: 49.81 kB / 464.5 MB, free: 17.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003247/0.39, allocations: 252.3 kB / 464.7 MB, free: 17.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.39, allocations: 0 / 464.7 MB, free: 17.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001421/0.3914, allocations: 333.5 kB / 465.1 MB, free: 17.37 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.0008235/0.3922, allocations: 380.9 kB / 465.4 MB, free: 17.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002925/0.3952, allocations: 2.048 MB / 467.5 MB, free: 16.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3952, allocations: 0 / 467.5 MB, free: 16.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.3979, allocations: 3.064 MB / 470.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.3986, allocations: 98.38 kB / 470.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.4017, allocations: 1.7 MB / 472.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.4021, allocations: 0.9199 MB / 473.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004821/0.4026, allocations: 142.3 kB / 473.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4027, allocations: 50.86 kB / 473.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4027, allocations: 0 / 473.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Templates: time 0.02309/0.4258, allocations: 12.67 MB / 486.1 MB, free: 6.094 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