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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0015/0.0015, allocations: 81.56 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1094/0.1094, allocations: 16.73 MB / 326.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.961e-05, allocations: 4 kB / 384 MB, free: 70.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 51.69 MB / 435.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.5067, allocations: 79.93 MB / 0.5035 GB, free: 9.895 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.5069, allocations: 68.19 kB / 0.5036 GB, free: 9.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03609/0.543, allocations: 15.05 MB / 0.5183 GB, free: 3.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5431, allocations: 0 / 0.5183 GB, free: 3.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.055e-05/0.5431, allocations: 12 kB / 0.5183 GB, free: 3.949 MB / 330.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.001914/0.5451, allocations: 1.198 MB / 0.5195 GB, free: 2.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5451, allocations: 8.031 kB / 0.5195 GB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.5456, allocations: 99.23 kB / 0.5196 GB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.5464, allocations: 463.5 kB / 0.52 GB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.5465, allocations: 63.02 kB / 0.5201 GB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.5466, allocations: 59.88 kB / 0.5201 GB, free: 2.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/0.5479, allocations: 0.8104 MB / 0.5209 GB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.5496, allocations: 1.205 MB / 0.5221 GB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.5496, allocations: 3.984 kB / 0.5221 GB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.745e-05/0.5497, allocations: 16 kB / 0.5221 GB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.178e-05/0.5498, allocations: 41.03 kB / 0.5221 GB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.5535, allocations: 3.092 MB / 0.5252 GB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.5548, allocations: 1.357 MB / 0.5265 GB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.5561, allocations: 1.274 MB / 0.5277 GB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.5562, allocations: 85.33 kB / 0.5278 GB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/0.5577, allocations: 0.8281 MB / 0.5286 GB, free: 12.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=73): time 4.939e-06/0.5577, allocations: 4 kB / 0.5286 GB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.002424/0.5601, allocations: 1.197 MB / 0.5298 GB, free: 11.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003846/0.5605, allocations: 0.5378 MB / 0.5303 GB, free: 10.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.5611, allocations: 328.1 kB / 0.5306 GB, free: 10.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.5613, allocations: 52.75 kB / 0.5307 GB, free: 10.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.5615, allocations: 274.3 kB / 0.5309 GB, free: 10.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.5618, allocations: 177.3 kB / 0.5311 GB, free: 9.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.5618, allocations: 7.562 kB / 0.5311 GB, free: 9.973 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.562, allocations: 371.1 kB / 0.5315 GB, free: 9.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.5626, allocations: 389.5 kB / 0.5318 GB, free: 9.375 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/0.5635, allocations: 0.7586 MB / 0.5326 GB, free: 8.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007035/0.5642, allocations: 421.5 kB / 0.533 GB, free: 8.312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/0.5642, allocations: 4 kB / 0.533 GB, free: 8.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002206/0.5665, allocations: 1.303 MB / 0.5343 GB, free: 7.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002449/0.5667, allocations: 328.9 kB / 0.5346 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/0.5668, allocations: 19.94 kB / 0.5346 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.376e-05/0.5668, allocations: 20 kB / 0.5346 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.5673, allocations: 129.5 kB / 0.5347 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.5673, allocations: 23.94 kB / 0.5348 GB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006158/0.5679, allocations: 99.73 kB / 0.5349 GB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.5681, allocations: 55.06 kB / 0.5349 GB, free: 6.637 MB / 346.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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.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.enableOut.arcWeight[1],P1.activeConOut.vec[1],P1.outTransition[1].fed,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 126 * 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.000933/0.569, allocations: 0.6242 MB / 0.5355 GB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.5692, allocations: 71.44 kB / 0.5356 GB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.5713, allocations: 1.181 MB / 0.5367 GB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5713, allocations: 4 kB / 0.5367 GB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.5713, allocations: 0 / 0.5367 GB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.5713, allocations: 3.984 kB / 0.5367 GB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.5747, allocations: 2.122 MB / 0.5388 GB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.5747, allocations: 8 kB / 0.5388 GB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.5749, allocations: 27.05 kB / 0.5389 GB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.5749, allocations: 0 / 0.5389 GB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.575, allocations: 42.66 kB / 0.5389 GB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.575, allocations: 0 / 0.5389 GB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.575, allocations: 0 / 0.5389 GB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.5775, allocations: 1.484 MB / 0.5403 GB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.5777, allocations: 120.4 kB / 0.5405 GB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.5779, allocations: 67.97 kB / 0.5405 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.5785, allocations: 71.77 kB / 0.5406 GB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005925/0.5791, allocations: 335.7 kB / 0.5409 GB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.5792, allocations: 51.97 kB / 0.541 GB, free: 1.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.5795, allocations: 200.6 kB / 0.5412 GB, free: 1.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5795, allocations: 0 / 0.5412 GB, free: 1.496 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001323/0.5808, allocations: 327.6 kB / 0.5415 GB, free: 1.176 MB / 346.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: 67 ($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.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 23 * 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.0009995/0.5818, allocations: 402.4 kB / 0.5418 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.5845, allocations: 1.92 MB / 0.5437 GB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5845, allocations: 0 / 0.5437 GB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.5871, allocations: 2.927 MB / 0.5466 GB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.5876, allocations: 53.2 kB / 0.5466 GB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.59, allocations: 1.173 MB / 0.5478 GB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.5905, allocations: 0.9271 MB / 0.5487 GB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.5909, allocations: 141 kB / 0.5488 GB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.591, allocations: 39.42 kB / 0.5489 GB, free: 9.355 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5911, allocations: 0 / 0.5489 GB, free: 9.355 MB / 362.7 MB Notification: Performance of Templates: time 0.02009/0.6112, allocations: 11.77 MB / 0.5604 GB, free: 13.49 MB / 378.7 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