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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009603/0.0009603, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1916/0.1916, allocations: 16.71 MB / 307.7 MB, free: 15.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002687, allocations: 8 kB / 372.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2435, allocations: 54.48 MB / 427.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.001617/0.2451, allocations: 1.561 MB / 428.7 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.2477, allocations: 1.871 MB / 430.6 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.2479, allocations: 6.781 kB / 430.6 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.2481, allocations: 88 kB / 430.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.2484, allocations: 121.1 kB / 430.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.2496, allocations: 0.6212 MB / 431.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006207/0.2502, allocations: 0.6523 MB / 432.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2504, allocations: 145.4 kB / 432.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.2507, allocations: 393.5 kB / 432.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.251, allocations: 286 kB / 432.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.2511, allocations: 34.42 kB / 432.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.2515, allocations: 381.3 kB / 433.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2516, allocations: 112.5 kB / 433.4 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.2518, allocations: 169.7 kB / 433.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.2524, allocations: 0.814 MB / 434.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.2524, allocations: 0 / 434.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2524, allocations: 0 / 434.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2525, allocations: 0 / 434.4 MB, free: 36.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001073/0.2535, allocations: 1.132 MB / 435.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2536, allocations: 10.28 kB / 435.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.2539, allocations: 96.61 kB / 435.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.2544, allocations: 426.6 kB / 436 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-05/0.2545, allocations: 85.55 kB / 436.1 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.2546, allocations: 73.89 kB / 436.2 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.2561, allocations: 1.344 MB / 437.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.2562, allocations: 6.812 kB / 437.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.2563, allocations: 35.66 kB / 437.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.189e-05/0.2563, allocations: 62.23 kB / 437.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2576, allocations: 0.9163 MB / 438.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.2604, allocations: 3.317 MB / 441.9 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.2616, allocations: 1.471 MB / 443.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.2617, allocations: 94.14 kB / 443.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.2627, allocations: 0.9023 MB / 444.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.194e-06/0.2627, allocations: 2.969 kB / 444.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003167/0.2659, allocations: 2.934 MB / 447.3 MB, free: 28.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.2661, allocations: 0.5539 MB / 447.8 MB, free: 28.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.2664, allocations: 418 kB / 448.2 MB, free: 27.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.2665, allocations: 65.73 kB / 448.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2667, allocations: 264.9 kB / 448.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.2668, allocations: 191.9 kB / 448.7 MB, free: 27.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.2668, allocations: 29.12 kB / 448.8 MB, free: 27.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.2669, allocations: 370 kB / 449.1 MB, free: 27.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.2675, allocations: 443.4 kB / 449.6 MB, free: 26.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/0.2682, allocations: 0.803 MB / 450.4 MB, free: 26.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.2689, allocations: 0.76 MB / 451.1 MB, free: 25.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2689, allocations: 6.531 kB / 451.1 MB, free: 25.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001944/0.2708, allocations: 1.827 MB / 453 MB, free: 24.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.271, allocations: 337 kB / 453.3 MB, free: 24.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.271, allocations: 12.47 kB / 453.3 MB, free: 24.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.271, allocations: 20.41 kB / 453.3 MB, free: 24.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.2714, allocations: 120.9 kB / 453.4 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.2714, allocations: 30.22 kB / 453.5 MB, free: 24.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.2719, allocations: 135.6 kB / 453.6 MB, free: 24.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.272, allocations: 53.31 kB / 453.6 MB, free: 24.42 MB / 350.1 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.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,$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.P1.tokeninout,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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,$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.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,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.activeConOut.vec[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,T1.active,$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.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],P1.enableOut.arcWeight[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006241/0.2726, allocations: 0.7437 MB / 454.4 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.2727, allocations: 74.7 kB / 454.5 MB, free: 23.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.275, allocations: 1.993 MB / 456.5 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.275, allocations: 6.156 kB / 456.5 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.275, allocations: 11.92 kB / 456.5 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.275, allocations: 3.562 kB / 456.5 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.2783, allocations: 3.009 MB / 459.5 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.2784, allocations: 9.031 kB / 459.5 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.2785, allocations: 21.44 kB / 459.5 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2785, allocations: 1.094 kB / 459.5 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.2786, allocations: 43.58 kB / 459.6 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2786, allocations: 1.219 kB / 459.6 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2786, allocations: 1.281 kB / 459.6 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.2814, allocations: 2.37 MB / 461.9 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.2815, allocations: 130.2 kB / 462.1 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.2817, allocations: 75.56 kB / 462.1 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.2821, allocations: 71.11 kB / 462.2 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004617/0.2826, allocations: 345 kB / 462.5 MB, free: 20.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/0.2827, allocations: 45.91 kB / 462.6 MB, free: 20.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.283, allocations: 248.1 kB / 462.8 MB, free: 19.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.283, allocations: 0 / 462.8 MB, free: 19.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001066/0.284, allocations: 338.5 kB / 463.2 MB, free: 19.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 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.inPlaces[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: 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 (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.0006381/0.2847, allocations: 375.5 kB / 463.5 MB, free: 19.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.2869, allocations: 2.086 MB / 465.6 MB, free: 18.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.287, allocations: 1.688 kB / 465.6 MB, free: 18.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.2891, allocations: 3.073 MB / 468.7 MB, free: 16.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.2895, allocations: 86.72 kB / 468.8 MB, free: 16.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.2919, allocations: 1.647 MB / 470.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.2923, allocations: 0.9312 MB / 471.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.2927, allocations: 139 kB / 471.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.231e-05/0.2928, allocations: 47.28 kB / 471.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2928, allocations: 0 / 471.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Templates: time 0.01969/0.3125, allocations: 12.46 MB / 484 MB, free: 10.38 MB / 350.1 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