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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002454/0.002454, allocations: 179.3 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9865/0.9865, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0008402/0.0008401, allocations: 92.77 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06471/0.06471, allocations: 16.72 MB / 325.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.39e-06/5.41e-06, allocations: 4 kB / 383.5 MB, free: 71.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06237/0.06239, allocations: 51.69 MB / 435.1 MB, free: 19.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.25, allocations: 79.85 MB / 0.5029 GB, free: 9.703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.2502, allocations: 65.56 kB / 0.503 GB, free: 9.703 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03463/0.2848, allocations: 15.01 MB / 0.5176 GB, free: 4.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.2849, allocations: 14.19 kB / 0.5177 GB, free: 4.086 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.00123/0.2861, allocations: 1.209 MB / 0.5188 GB, free: 2.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.703e-05/0.2861, allocations: 12.03 kB / 0.5188 GB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.2864, allocations: 107.2 kB / 0.5189 GB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.287, allocations: 453.8 kB / 0.5194 GB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.2871, allocations: 70.62 kB / 0.5194 GB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.2872, allocations: 56 kB / 0.5195 GB, free: 2.348 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001046/0.2883, allocations: 0.8438 MB / 0.5203 GB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.2897, allocations: 1.239 MB / 0.5215 GB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.2897, allocations: 3.938 kB / 0.5215 GB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.932e-05/0.2898, allocations: 23.66 kB / 0.5216 GB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-05/0.2898, allocations: 44.34 kB / 0.5216 GB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.2931, allocations: 3.139 MB / 0.5247 GB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.2943, allocations: 1.374 MB / 0.526 GB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009837/0.2953, allocations: 1.301 MB / 0.5273 GB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.701e-05/0.2954, allocations: 89.33 kB / 0.5274 GB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.2964, allocations: 0.8349 MB / 0.5282 GB, free: 12.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=73): time 1.793e-06/0.2964, allocations: 0 / 0.5282 GB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.001704/0.2981, allocations: 1.132 MB / 0.5293 GB, free: 11.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002742/0.2984, allocations: 0.5402 MB / 0.5298 GB, free: 10.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.2987, allocations: 327.6 kB / 0.5301 GB, free: 10.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-05/0.2988, allocations: 60.81 kB / 0.5302 GB, free: 10.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.2989, allocations: 253.6 kB / 0.5304 GB, free: 10.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.2991, allocations: 175.7 kB / 0.5306 GB, free: 10.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.2991, allocations: 8 kB / 0.5306 GB, free: 10.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2993, allocations: 369.3 kB / 0.531 GB, free: 9.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.2998, allocations: 412.1 kB / 0.5313 GB, free: 9.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.3006, allocations: 0.7623 MB / 0.5321 GB, free: 8.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.3011, allocations: 434.4 kB / 0.5325 GB, free: 8.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.3012, allocations: 4 kB / 0.5325 GB, free: 8.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001593/0.3028, allocations: 1.152 MB / 0.5336 GB, free: 7.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3028, allocations: 11.94 kB / 0.5336 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3028, allocations: 12 kB / 0.5337 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.3028, allocations: 16 kB / 0.5337 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.3032, allocations: 126.9 kB / 0.5338 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.3032, allocations: 39.77 kB / 0.5338 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.3037, allocations: 87.09 kB / 0.5339 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.3038, allocations: 58.66 kB / 0.534 GB, free: 7.129 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.000565/0.3044, allocations: 0.601 MB / 0.5346 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.3045, allocations: 67.44 kB / 0.5346 GB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.3061, allocations: 1.11 MB / 0.5357 GB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3061, allocations: 7.938 kB / 0.5357 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3061, allocations: 0 / 0.5357 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3061, allocations: 0 / 0.5357 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.309, allocations: 2.067 MB / 0.5377 GB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.3091, allocations: 3.984 kB / 0.5377 GB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.3092, allocations: 31.92 kB / 0.5378 GB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3092, allocations: 3.938 kB / 0.5378 GB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.99e-05/0.3093, allocations: 35.36 kB / 0.5378 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3093, allocations: 4 kB / 0.5378 GB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3093, allocations: 3.906 kB / 0.5378 GB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001822/0.3111, allocations: 1.397 MB / 0.5392 GB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.3112, allocations: 127.7 kB / 0.5393 GB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.3114, allocations: 75.91 kB / 0.5394 GB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.3119, allocations: 79.33 kB / 0.5394 GB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004859/0.3124, allocations: 353.1 kB / 0.5398 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.3125, allocations: 49.53 kB / 0.5398 GB, free: 2.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001641/0.3127, allocations: 209.5 kB / 0.54 GB, free: 2.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008925/0.3136, allocations: 302.8 kB / 0.5403 GB, free: 2.035 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.0006909/0.3143, allocations: 400.2 kB / 0.5407 GB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.3161, allocations: 1.607 MB / 0.5423 GB, free: 136 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3161, allocations: 4.125 kB / 0.5423 GB, free: 132 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002102/0.3182, allocations: 2.755 MB / 0.545 GB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.3185, allocations: 49.08 kB / 0.545 GB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3205, allocations: 1.207 MB / 0.5462 GB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.321, allocations: 0.9692 MB / 0.5471 GB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.321, allocations: 0 / 0.5471 GB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.01724/0.3383, allocations: 12.59 MB / 0.5594 GB, free: 14.37 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