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 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.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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001664/0.001664, allocations: 197.9 kB / 16.14 MB, free: 6.703 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1959/0.1959, allocations: 16.76 MB / 306.7 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 59.91 kB / 371 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.287, allocations: 53.46 MB / 424.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002564/0.2896, allocations: 1.968 MB / 426.4 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.2926, allocations: 2.251 MB / 428.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.2928, allocations: 2.719 kB / 428.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.293, allocations: 83.45 kB / 428.7 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.2933, allocations: 91.41 kB / 428.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.2944, allocations: 0.7484 MB / 429.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006681/0.2951, allocations: 1.115 MB / 430.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.2953, allocations: 157.5 kB / 430.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.2956, allocations: 439.5 kB / 431.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.2959, allocations: 326.4 kB / 431.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.296, allocations: 38.28 kB / 431.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.2965, allocations: 467.3 kB / 432.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.2967, allocations: 137.8 kB / 432.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.2969, allocations: 353.4 kB / 432.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.2977, allocations: 1.075 MB / 433.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2977, allocations: 2.719 kB / 433.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2977, allocations: 3.938 kB / 433.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.2977, allocations: 0 / 433.6 MB, free: 35.77 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.001324/0.2991, allocations: 1.283 MB / 434.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2991, allocations: 8.688 kB / 434.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.2994, allocations: 90.08 kB / 435 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.2999, allocations: 439.9 kB / 435.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-05/0.3, allocations: 85.95 kB / 435.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3001, allocations: 76.86 kB / 435.6 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.3017, allocations: 1.325 MB / 436.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3017, allocations: 0 / 436.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.3018, allocations: 39.52 kB / 437 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.434e-05/0.3019, allocations: 54.69 kB / 437 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.3032, allocations: 0.8963 MB / 437.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.306, allocations: 3.325 MB / 441.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3073, allocations: 1.458 MB / 442.7 MB, free: 30.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.3084, allocations: 1.361 MB / 444.1 MB, free: 29.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.3085, allocations: 83.61 kB / 444.1 MB, free: 29.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.3096, allocations: 0.8996 MB / 445 MB, free: 28.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.054e-06/0.3096, allocations: 0 / 445 MB, free: 28.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003184/0.3128, allocations: 2.533 MB / 447.6 MB, free: 27.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/0.313, allocations: 0.5629 MB / 448.1 MB, free: 27.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.3134, allocations: 424.2 kB / 448.5 MB, free: 26.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.3135, allocations: 68.44 kB / 448.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3136, allocations: 262.2 kB / 448.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.3138, allocations: 192.9 kB / 449.1 MB, free: 26.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.314, allocations: 230.2 kB / 449.3 MB, free: 26.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.3141, allocations: 378.4 kB / 449.7 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/0.3147, allocations: 446.8 kB / 450.1 MB, free: 25.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007228/0.3154, allocations: 0.818 MB / 450.9 MB, free: 25.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.3176, allocations: 2.546 MB / 453.5 MB, free: 23.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.3177, allocations: 3 kB / 453.5 MB, free: 23.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002029/0.3197, allocations: 1.826 MB / 455.3 MB, free: 22.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.3198, allocations: 332.4 kB / 455.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.3199, allocations: 15.7 kB / 455.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.3199, allocations: 26.27 kB / 455.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.3202, allocations: 122 kB / 455.8 MB, free: 22.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.3203, allocations: 22.78 kB / 455.8 MB, free: 22.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.3207, allocations: 137.3 kB / 455.9 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.3208, allocations: 64.77 kB / 456 MB, free: 21.93 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.0008027/0.3216, allocations: 0.7438 MB / 456.7 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3218, allocations: 72.84 kB / 456.8 MB, free: 21.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.3244, allocations: 1.95 MB / 458.8 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.3245, allocations: 9.406 kB / 458.8 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3245, allocations: 1.094 kB / 458.8 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3245, allocations: 3.375 kB / 458.8 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.3286, allocations: 2.975 MB / 461.7 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3286, allocations: 1.438 kB / 461.7 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.3287, allocations: 23.91 kB / 461.8 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3287, allocations: 2.438 kB / 461.8 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.908e-05/0.3288, allocations: 38.84 kB / 461.8 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.3288, allocations: 6.281 kB / 461.8 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3289, allocations: 0 / 461.8 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/0.332, allocations: 2.323 MB / 464.1 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.3321, allocations: 127.4 kB / 464.3 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.3323, allocations: 76.27 kB / 464.3 MB, free: 17.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.3328, allocations: 76.94 kB / 464.4 MB, free: 17.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/0.3334, allocations: 335.1 kB / 464.7 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.3335, allocations: 44.16 kB / 464.8 MB, free: 17.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.3338, allocations: 256 kB / 465 MB, free: 17.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.3338, allocations: 1.438 kB / 465 MB, free: 17.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00121/0.335, allocations: 342.1 kB / 465.4 MB, free: 17.46 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.000655/0.3357, allocations: 372.2 kB / 465.7 MB, free: 17.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002591/0.3383, allocations: 2.075 MB / 467.8 MB, free: 16.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3383, allocations: 320 / 467.8 MB, free: 16.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.3406, allocations: 3.062 MB / 470.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.3412, allocations: 105.5 kB / 471 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3437, allocations: 1.695 MB / 472.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3441, allocations: 0.9201 MB / 473.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003799/0.3444, allocations: 151.2 kB / 473.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.3446, allocations: 47.48 kB / 473.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3446, allocations: 1.406 kB / 473.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Templates: time 0.02037/0.3649, allocations: 12.75 MB / 486.5 MB, free: 5.73 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