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.001085/0.001085, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001204/0.001204, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1753/0.1753, allocations: 16.72 MB / 307.7 MB, free: 15.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.0002841, allocations: 11.98 kB / 372.7 MB, free: 3.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.26, allocations: 54.47 MB / 427.2 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.001831/0.2618, allocations: 1.553 MB / 428.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.2648, allocations: 1.914 MB / 430.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.2651, allocations: 8.656 kB / 430.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.2653, allocations: 86.56 kB / 430.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.2657, allocations: 119 kB / 430.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.267, allocations: 0.6232 MB / 431.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00062/0.2676, allocations: 0.6528 MB / 432.1 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.2678, allocations: 119.6 kB / 432.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.2681, allocations: 395.1 kB / 432.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.2684, allocations: 253.8 kB / 432.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.2685, allocations: 27.56 kB / 432.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.2689, allocations: 374.3 kB / 433.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.269, allocations: 110 kB / 433.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.2692, allocations: 150.7 kB / 433.5 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005389/0.2697, allocations: 0.7176 MB / 434.2 MB, free: 36.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2697, allocations: 0 / 434.2 MB, free: 36.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2697, allocations: 0 / 434.2 MB, free: 36.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2698, allocations: 3.938 kB / 434.2 MB, free: 36.52 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.001064/0.2708, allocations: 1.076 MB / 435.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2709, allocations: 12.72 kB / 435.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.2711, allocations: 90.05 kB / 435.4 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.2716, allocations: 391.8 kB / 435.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/0.2716, allocations: 75.64 kB / 435.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.453e-05/0.2717, allocations: 66.97 kB / 435.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.273, allocations: 1.119 MB / 437 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2731, allocations: 0 / 437 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.2731, allocations: 35.28 kB / 437.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.555e-05/0.2732, allocations: 42.59 kB / 437.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/0.2742, allocations: 0.7315 MB / 437.9 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.2766, allocations: 2.993 MB / 440.8 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2777, allocations: 1.277 MB / 442.1 MB, free: 31.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.457e-05/0.2777, allocations: 89.89 kB / 442.2 MB, free: 31.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009092/0.2787, allocations: 0.7711 MB / 443 MB, free: 30.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.814e-06/0.2787, allocations: 4 kB / 443 MB, free: 30.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.002597/0.2813, allocations: 2.487 MB / 445.5 MB, free: 29.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/0.2815, allocations: 0.5343 MB / 446 MB, free: 28.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.2818, allocations: 377 kB / 446.4 MB, free: 28.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.2818, allocations: 64.45 kB / 446.4 MB, free: 28.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.282, allocations: 236.2 kB / 446.7 MB, free: 28.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2821, allocations: 181.8 kB / 446.8 MB, free: 28.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.2821, allocations: 22.69 kB / 446.9 MB, free: 28.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.2822, allocations: 366.6 kB / 447.2 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.2826, allocations: 293.2 kB / 447.5 MB, free: 27.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.2831, allocations: 0.621 MB / 448.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.2837, allocations: 0.6667 MB / 448.8 MB, free: 26.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2837, allocations: 4 kB / 448.8 MB, free: 26.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001485/0.2852, allocations: 1.427 MB / 450.2 MB, free: 26.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.2853, allocations: 314.4 kB / 450.5 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.2853, allocations: 9.906 kB / 450.5 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.2853, allocations: 19.75 kB / 450.6 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.2856, allocations: 107.5 kB / 450.7 MB, free: 25.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.2857, allocations: 31.25 kB / 450.7 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.286, allocations: 100.7 kB / 450.8 MB, free: 25.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.2861, allocations: 50.33 kB / 450.9 MB, free: 25.76 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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition7,$PRE.P1.reStart,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$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,$whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T1.enabledByInPlaces,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006312/0.2867, allocations: 0.6838 MB / 451.5 MB, free: 25.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/0.2868, allocations: 72.53 kB / 451.6 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.2887, allocations: 1.629 MB / 453.2 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2887, allocations: 7.375 kB / 453.2 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2887, allocations: 0 / 453.2 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2887, allocations: 3.844 kB / 453.2 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/0.2924, allocations: 2.345 MB / 455.6 MB, free: 23.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.2924, allocations: 3.422 kB / 455.6 MB, free: 23.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.2926, allocations: 29.56 kB / 455.6 MB, free: 23.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.2926, allocations: 3.156 kB / 455.6 MB, free: 23.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.243e-05/0.2927, allocations: 44.67 kB / 455.7 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2927, allocations: 2.906 kB / 455.7 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2927, allocations: 3.953 kB / 455.7 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.2949, allocations: 2.029 MB / 457.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.295, allocations: 127.7 kB / 457.8 MB, free: 22.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.2951, allocations: 74.48 kB / 457.9 MB, free: 22.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.2955, allocations: 51.02 kB / 458 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.2956, allocations: 82.39 kB / 458 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/0.2957, allocations: 41.61 kB / 458.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.2959, allocations: 230.5 kB / 458.3 MB, free: 21.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2959, allocations: 0 / 458.3 MB, free: 21.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009111/0.2968, allocations: 300.3 kB / 458.6 MB, free: 21.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006029/0.2974, allocations: 378.7 kB / 459 MB, free: 21.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.2994, allocations: 1.707 MB / 460.7 MB, free: 20.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2994, allocations: 1.281 kB / 460.7 MB, free: 20.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.3012, allocations: 2.728 MB / 463.4 MB, free: 18.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.3017, allocations: 69.27 kB / 463.5 MB, free: 18.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.3036, allocations: 1.428 MB / 464.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.304, allocations: 0.9067 MB / 465.8 MB, free: 17.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.3043, allocations: 131.4 kB / 465.9 MB, free: 17.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.3044, allocations: 42.95 kB / 466 MB, free: 17.14 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3044, allocations: 0 / 466 MB, free: 17.14 MB / 350.1 MB Notification: Performance of Templates: time 0.01743/0.3218, allocations: 10.09 MB / 476.1 MB, free: 15.13 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