Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009249/0.009249, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 98.84 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06554/0.06554, allocations: 16.89 MB / 334.7 MB, free: 5.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 12.78 kB / 396.9 MB, free: 46.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 51.69 MB / 448.6 MB, free: 244 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.5021, allocations: 80.7 MB / 0.5169 GB, free: 79.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5023, allocations: 68.64 kB / 0.517 GB, free: 79.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04231/0.5447, allocations: 15.22 MB / 0.5318 GB, free: 75.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5447, allocations: 5.031 kB / 0.5318 GB, free: 75.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.613e-05/0.5448, allocations: 9.281 kB / 0.5318 GB, free: 75.32 MB / 362.7 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.002499/0.5473, allocations: 1.222 MB / 0.533 GB, free: 74.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.5474, allocations: 13.08 kB / 0.5331 GB, free: 74.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/0.5478, allocations: 100.4 kB / 0.5331 GB, free: 74.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/0.5486, allocations: 461.6 kB / 0.5336 GB, free: 73.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.5488, allocations: 87.48 kB / 0.5337 GB, free: 73.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.549, allocations: 79.61 kB / 0.5337 GB, free: 73.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.5514, allocations: 1.33 MB / 0.535 GB, free: 73.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.5514, allocations: 4.906 kB / 0.5351 GB, free: 73.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.5515, allocations: 35.23 kB / 0.5351 GB, free: 73.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.124e-05/0.5516, allocations: 41.31 kB / 0.5351 GB, free: 73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.5532, allocations: 0.9093 MB / 0.536 GB, free: 72.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.5567, allocations: 3.236 MB / 0.5392 GB, free: 69.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.5583, allocations: 1.538 MB / 0.5407 GB, free: 68.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.5585, allocations: 85.61 kB / 0.5408 GB, free: 68.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.5596, allocations: 0.8952 MB / 0.5416 GB, free: 67.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 3.056e-06/0.5596, allocations: 0 / 0.5416 GB, free: 67.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.003125/0.5628, allocations: 2.565 MB / 0.5441 GB, free: 64.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000259/0.563, allocations: 0.5057 MB / 0.5446 GB, free: 64.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.5634, allocations: 376.2 kB / 0.545 GB, free: 63.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.5635, allocations: 69.72 kB / 0.5451 GB, free: 63.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.5637, allocations: 260.4 kB / 0.5453 GB, free: 63.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.5638, allocations: 177.9 kB / 0.5455 GB, free: 63.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.5639, allocations: 24 kB / 0.5455 GB, free: 63.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.564, allocations: 378.7 kB / 0.5459 GB, free: 62.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.5647, allocations: 434 kB / 0.5463 GB, free: 62.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.5655, allocations: 0.7978 MB / 0.5471 GB, free: 61.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/0.5663, allocations: 0.7661 MB / 0.5478 GB, free: 60.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.5663, allocations: 4 kB / 0.5478 GB, free: 60.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002028/0.5683, allocations: 1.764 MB / 0.5495 GB, free: 58.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.5685, allocations: 336.4 kB / 0.5498 GB, free: 58.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.5686, allocations: 12 kB / 0.5499 GB, free: 58.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.5686, allocations: 20 kB / 0.5499 GB, free: 58.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.569, allocations: 123.7 kB / 0.55 GB, free: 58.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/0.569, allocations: 32.11 kB / 0.55 GB, free: 58.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.5695, allocations: 107.7 kB / 0.5501 GB, free: 58.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.994e-05/0.5696, allocations: 67.94 kB / 0.5502 GB, free: 58.11 MB / 362.7 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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real 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 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: 53 * 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,$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.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.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,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,P1.firingSumIn.firingSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$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.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.firingCon,P1.enableOut.enablingPrio[1],P1.reStart,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.active,T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],P1.activeConOut.vec[1],P1.outTransition[1].fed,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 125 * 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.0007933/0.5704, allocations: 0.7558 MB / 0.5509 GB, free: 57.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.5705, allocations: 71.44 kB / 0.551 GB, free: 57.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.5728, allocations: 1.585 MB / 0.5525 GB, free: 55.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5728, allocations: 4 kB / 0.5526 GB, free: 55.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5728, allocations: 4 kB / 0.5526 GB, free: 55.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5728, allocations: 4 kB / 0.5526 GB, free: 55.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.5762, allocations: 2.631 MB / 0.5551 GB, free: 52.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5762, allocations: 0 / 0.5551 GB, free: 52.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.5764, allocations: 31.91 kB / 0.5552 GB, free: 52.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.5764, allocations: 0 / 0.5552 GB, free: 52.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.5765, allocations: 39.98 kB / 0.5552 GB, free: 52.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5765, allocations: 4 kB / 0.5552 GB, free: 52.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5765, allocations: 3.953 kB / 0.5552 GB, free: 52.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.5789, allocations: 1.976 MB / 0.5571 GB, free: 50.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.579, allocations: 128.4 kB / 0.5573 GB, free: 50.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.5792, allocations: 75.97 kB / 0.5573 GB, free: 50.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.5797, allocations: 83.89 kB / 0.5574 GB, free: 50.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005021/0.5802, allocations: 323.7 kB / 0.5577 GB, free: 50.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.5803, allocations: 55.95 kB / 0.5578 GB, free: 50.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000228/0.5805, allocations: 247.2 kB / 0.558 GB, free: 49.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5805, allocations: 3.938 kB / 0.558 GB, free: 49.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001439/0.582, allocations: 355.6 kB / 0.5583 GB, free: 49.45 MB / 362.7 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,P1.activeOut[1],T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,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.arcWeight[1],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,P1.outTransition[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: 49 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,P1.tokeninout,T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,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.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$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): 25 * 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.0007468/0.5827, allocations: 400.8 kB / 0.5587 GB, free: 49.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.5851, allocations: 2.064 MB / 0.5607 GB, free: 46.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.5852, allocations: 8.062 kB / 0.5608 GB, free: 46.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.5872, allocations: 3.081 MB / 0.5638 GB, free: 43.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.5878, allocations: 81.39 kB / 0.5638 GB, free: 43.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.5901, allocations: 1.627 MB / 0.5654 GB, free: 41.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.5904, allocations: 0.9273 MB / 0.5663 GB, free: 41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003119/0.5908, allocations: 149.2 kB / 0.5665 GB, free: 40.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.5908, allocations: 43.42 kB / 0.5665 GB, free: 40.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5909, allocations: 0 / 0.5665 GB, free: 40.8 MB / 362.7 MB Notification: Performance of Templates: time 0.016/0.6069, allocations: 12.32 MB / 0.5785 GB, free: 28.39 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches