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.001287/0.001286, allocations: 183.2 kB / 15.98 MB, free: 5.77 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.397/1.397, allocations: 205.1 MB / 221.8 MB, free: 8.469 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.0009891/0.0009891, allocations: 97.95 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07093/0.07093, allocations: 16.87 MB / 333.4 MB, free: 8.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 52.11 kB / 394.9 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.08563, allocations: 50.69 MB / 445.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002747/0.08843, allocations: 1.988 MB / 447.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.09176, allocations: 2.27 MB / 449.8 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/0.09214, allocations: 3.938 kB / 449.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.09251, allocations: 87.44 kB / 449.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.09292, allocations: 87.42 kB / 450 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.09435, allocations: 0.7411 MB / 450.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008352/0.0952, allocations: 1.119 MB / 451.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.09541, allocations: 160.5 kB / 452 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.09597, allocations: 438.5 kB / 452.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.09646, allocations: 334.3 kB / 452.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.0966, allocations: 40 kB / 452.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.09717, allocations: 463.4 kB / 453.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.09731, allocations: 143.4 kB / 453.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.09763, allocations: 346.4 kB / 453.7 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007326/0.09837, allocations: 1.08 MB / 454.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.09839, allocations: 4 kB / 454.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.09839, allocations: 0 / 454.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.09841, allocations: 0 / 454.8 MB, free: 1.844 MB / 298.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.001269/0.09968, allocations: 1.271 MB / 456.1 MB, free: 468 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.09972, allocations: 8.031 kB / 456.1 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.1, allocations: 100.1 kB / 456.2 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.1005, allocations: 438.2 kB / 456.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.1006, allocations: 86.86 kB / 456.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.1007, allocations: 79.98 kB / 456.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.1025, allocations: 1.33 MB / 458.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1025, allocations: 0 / 458.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.1026, allocations: 36 kB / 458.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.132e-05/0.1027, allocations: 60.88 kB / 458.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.1041, allocations: 0.9015 MB / 459.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.1077, allocations: 3.317 MB / 462.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.1093, allocations: 1.455 MB / 463.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.1107, allocations: 1.361 MB / 465.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.233e-05/0.1108, allocations: 93.02 kB / 465.3 MB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/0.1122, allocations: 0.8839 MB / 466.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.084e-06/0.1122, allocations: 4 kB / 466.2 MB, free: 5.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.003682/0.1159, allocations: 2.544 MB / 468.8 MB, free: 3.387 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003739/0.1162, allocations: 0.5598 MB / 469.3 MB, free: 2.723 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.1167, allocations: 421 kB / 469.7 MB, free: 2.301 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-05/0.1168, allocations: 69.69 kB / 469.8 MB, free: 2.227 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.117, allocations: 264.2 kB / 470.1 MB, free: 1.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.1171, allocations: 185.9 kB / 470.3 MB, free: 1.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.1174, allocations: 234.5 kB / 470.5 MB, free: 1.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1176, allocations: 374.8 kB / 470.9 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006432/0.1183, allocations: 446 kB / 471.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009025/0.1192, allocations: 0.8099 MB / 472.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.122, allocations: 2.551 MB / 474.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.122, allocations: 4 kB / 474.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002405/0.1244, allocations: 1.826 MB / 476.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002/0.1246, allocations: 337 kB / 476.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.1247, allocations: 12 kB / 476.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.1247, allocations: 16 kB / 476.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.1251, allocations: 123.7 kB / 477 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.1251, allocations: 23.88 kB / 477 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.1256, allocations: 134.9 kB / 477.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.1257, allocations: 64.22 kB / 477.2 MB, free: 10.21 MB / 330.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.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.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,T1.firingCon,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.active,T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,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.0008167/0.1265, allocations: 0.7597 MB / 477.9 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.1266, allocations: 71.44 kB / 478 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.1293, allocations: 1.948 MB / 480 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.1293, allocations: 4 kB / 480 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1293, allocations: 3.938 kB / 480 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.1293, allocations: 7.969 kB / 480 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.1332, allocations: 2.975 MB / 482.9 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1332, allocations: 0 / 482.9 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1334, allocations: 27.92 kB / 483 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1334, allocations: 7.938 kB / 483 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-05/0.1335, allocations: 39.97 kB / 483 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1335, allocations: 0 / 483 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1335, allocations: 4 kB / 483 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/0.1379, allocations: 3.734 MB / 486.8 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1381, allocations: 136.2 kB / 486.9 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.1383, allocations: 79.97 kB / 487 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.1387, allocations: 71.94 kB / 487 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1827/0.3215, allocations: 324.9 kB / 487.4 MB, free: 47.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/0.3217, allocations: 45.05 kB / 487.4 MB, free: 47.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002974/0.322, allocations: 250 kB / 487.6 MB, free: 47.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.322, allocations: 0 / 487.6 MB, free: 47.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001252/0.3233, allocations: 334.3 kB / 488 MB, free: 47.83 MB / 330.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,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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.inPlaces[1].tokenInOut) * 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.0006613/0.324, allocations: 388.7 kB / 488.3 MB, free: 47.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.3265, allocations: 2.076 MB / 490.4 MB, free: 46.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3266, allocations: 0 / 490.4 MB, free: 46.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.3287, allocations: 3.057 MB / 493.5 MB, free: 44.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.3293, allocations: 103.5 kB / 493.6 MB, free: 44.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.3322, allocations: 2.101 MB / 495.7 MB, free: 43.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.3327, allocations: 0.9417 MB / 496.6 MB, free: 42.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000372/0.3331, allocations: 141.3 kB / 496.8 MB, free: 42.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.3332, allocations: 48.3 kB / 496.8 MB, free: 42.76 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3332, allocations: 3.906 kB / 496.8 MB, free: 42.76 MB / 330.7 MB Notification: Performance of Templates: time 0.01948/0.3527, allocations: 13.34 MB / 0.4982 GB, free: 36.84 MB / 330.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