Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009442/0.000944, 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.007566/0.007567, allocations: 170.4 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1886/0.1886, allocations: 16.73 MB / 308.2 MB, free: 15.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 11.98 kB / 373.4 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 54.46 MB / 427.9 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002383/0.3375, allocations: 1.604 MB / 429.5 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.3425, allocations: 2.217 MB / 431.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000549/0.3431, allocations: 6.906 kB / 431.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.3436, allocations: 84.53 kB / 431.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.3441, allocations: 89.59 kB / 431.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.3465, allocations: 0.745 MB / 432.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.3478, allocations: 1.114 MB / 433.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.348, allocations: 151.1 kB / 433.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000622/0.3487, allocations: 422.2 kB / 434.3 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005256/0.3492, allocations: 304.9 kB / 434.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3493, allocations: 41.39 kB / 434.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009497/0.3503, allocations: 456.9 kB / 435.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.3505, allocations: 120.6 kB / 435.2 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.3508, allocations: 358.3 kB / 435.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009444/0.3518, allocations: 1.057 MB / 436.6 MB, free: 36.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3518, allocations: 0 / 436.6 MB, free: 36.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3518, allocations: 0 / 436.6 MB, free: 36.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3518, allocations: 0 / 436.6 MB, free: 36.23 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001248/0.3531, allocations: 1.129 MB / 437.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3531, allocations: 9.625 kB / 437.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/0.3535, allocations: 98.27 kB / 437.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.3541, allocations: 440.7 kB / 438.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.3543, allocations: 74.61 kB / 438.3 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.3544, allocations: 79.48 kB / 438.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.3569, allocations: 1.33 MB / 439.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.357, allocations: 2.906 kB / 439.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.3571, allocations: 36.61 kB / 439.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.3572, allocations: 55.92 kB / 439.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.3592, allocations: 0.9054 MB / 440.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.3639, allocations: 3.303 MB / 444.1 MB, free: 31.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.3659, allocations: 1.46 MB / 445.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.3675, allocations: 1.361 MB / 446.9 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.18e-05/0.3676, allocations: 91.16 kB / 447 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/0.3693, allocations: 0.89 MB / 447.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.686e-06/0.3693, allocations: 4 kB / 447.9 MB, free: 29.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.004874/0.3742, allocations: 2.536 MB / 450.4 MB, free: 28.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003451/0.3746, allocations: 0.5701 MB / 451 MB, free: 27.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.3753, allocations: 412.3 kB / 451.4 MB, free: 27.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.3754, allocations: 75.05 kB / 451.4 MB, free: 27.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.3757, allocations: 263.9 kB / 451.7 MB, free: 27.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.3759, allocations: 195.6 kB / 451.9 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.3761, allocations: 138.2 kB / 452 MB, free: 26.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3762, allocations: 376 kB / 452.4 MB, free: 26.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008119/0.3771, allocations: 444.2 kB / 452.8 MB, free: 26.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.3782, allocations: 0.821 MB / 453.6 MB, free: 25.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003361/0.3816, allocations: 2.547 MB / 456.2 MB, free: 23.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.3816, allocations: 3.25 kB / 456.2 MB, free: 23.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003194/0.3848, allocations: 1.836 MB / 458 MB, free: 22.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.385, allocations: 334.6 kB / 458.4 MB, free: 22.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.3851, allocations: 11.41 kB / 458.4 MB, free: 22.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.171e-05/0.3851, allocations: 18.16 kB / 458.4 MB, free: 22.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.3855, allocations: 124.8 kB / 458.5 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.797e-05/0.3855, allocations: 29.22 kB / 458.5 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.3861, allocations: 132.1 kB / 458.7 MB, free: 22.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/0.3862, allocations: 61.94 kB / 458.7 MB, free: 22.51 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (135): * Single equations (assignments): 124 * 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.0009361/0.3871, allocations: 0.7599 MB / 459.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3873, allocations: 69.47 kB / 459.6 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.3899, allocations: 1.953 MB / 461.5 MB, free: 21.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.39, allocations: 8.656 kB / 461.5 MB, free: 21.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.39, allocations: 5.125 kB / 461.5 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.39, allocations: 2.906 kB / 461.5 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.3943, allocations: 2.976 MB / 464.5 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3943, allocations: 0 / 464.5 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3944, allocations: 33.05 kB / 464.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.3944, allocations: 2.531 kB / 464.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.311e-05/0.3945, allocations: 42.56 kB / 464.6 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.3945, allocations: 6.656 kB / 464.6 MB, free: 19.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3945, allocations: 0 / 464.6 MB, free: 19.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.3978, allocations: 2.319 MB / 466.9 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.398, allocations: 140.3 kB / 467 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.3982, allocations: 75.52 kB / 467.1 MB, free: 18.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/0.3987, allocations: 74.05 kB / 467.2 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005573/0.3993, allocations: 325.8 kB / 467.5 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.3994, allocations: 48.92 kB / 467.5 MB, free: 18.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003132/0.3997, allocations: 252.8 kB / 467.8 MB, free: 18.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3997, allocations: 4 kB / 467.8 MB, free: 18.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001249/0.401, allocations: 334.6 kB / 468.1 MB, free: 18.04 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: 68 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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 (37): * Single equations (assignments): 24 * 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.0007452/0.4017, allocations: 379.6 kB / 468.5 MB, free: 17.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.4044, allocations: 2.079 MB / 470.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4044, allocations: 0 / 470.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002387/0.4068, allocations: 3.056 MB / 473.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.4076, allocations: 103.9 kB / 473.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.4107, allocations: 1.702 MB / 475.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.4111, allocations: 0.9155 MB / 476.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004566/0.4116, allocations: 144.1 kB / 476.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4117, allocations: 50.52 kB / 476.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4117, allocations: 0 / 476.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Templates: time 0.02169/0.4334, allocations: 12.7 MB / 489.2 MB, free: 5.93 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches