Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008004/0.0008004, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005194/0.005194, allocations: 168.3 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2174/0.2174, allocations: 16.73 MB / 308.2 MB, free: 15.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 8 kB / 373.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3116, allocations: 54.47 MB / 427.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002041/0.3137, allocations: 1.61 MB / 429.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.3172, allocations: 2.209 MB / 431.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.3175, allocations: 6.969 kB / 431.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.3178, allocations: 85.73 kB / 431.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3181, allocations: 89.89 kB / 431.9 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.3196, allocations: 0.7432 MB / 432.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009667/0.3206, allocations: 1.101 MB / 433.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.3208, allocations: 143.8 kB / 433.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.3212, allocations: 408.3 kB / 434.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.3215, allocations: 278.3 kB / 434.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.3215, allocations: 26.34 kB / 434.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.3221, allocations: 450.2 kB / 435 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.3222, allocations: 115.8 kB / 435.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.3224, allocations: 312.1 kB / 435.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.3231, allocations: 0.9441 MB / 436.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3232, allocations: 0 / 436.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3232, allocations: 4 kB / 436.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3232, allocations: 3 kB / 436.4 MB, free: 36.12 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001097/0.3243, allocations: 1.078 MB / 437.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3243, allocations: 12.59 kB / 437.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002584/0.3246, allocations: 87.94 kB / 437.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.325, allocations: 410.1 kB / 437.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.3251, allocations: 73.06 kB / 438 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.3252, allocations: 71.61 kB / 438.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.3266, allocations: 1.103 MB / 439.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3266, allocations: 0 / 439.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/0.3267, allocations: 35.39 kB / 439.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-05/0.3268, allocations: 46.56 kB / 439.3 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3278, allocations: 0.7261 MB / 440 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.3304, allocations: 2.992 MB / 443 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.3316, allocations: 1.267 MB / 444.2 MB, free: 30.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009117/0.3325, allocations: 1.172 MB / 445.4 MB, free: 30.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.586e-05/0.3326, allocations: 80.03 kB / 445.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009019/0.3335, allocations: 0.7522 MB / 446.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.3335, allocations: 3.062 kB / 446.3 MB, free: 29.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.002558/0.3361, allocations: 2.122 MB / 448.4 MB, free: 28.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/0.3363, allocations: 0.5358 MB / 448.9 MB, free: 28.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.3366, allocations: 380.6 kB / 449.3 MB, free: 27.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.3367, allocations: 60.81 kB / 449.3 MB, free: 27.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3368, allocations: 246 kB / 449.6 MB, free: 27.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3369, allocations: 183 kB / 449.8 MB, free: 27.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.337, allocations: 131.2 kB / 449.9 MB, free: 27.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.3371, allocations: 370.7 kB / 450.3 MB, free: 27.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.3375, allocations: 297 kB / 450.5 MB, free: 27.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.3381, allocations: 0.6436 MB / 451.2 MB, free: 26.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.3399, allocations: 2.044 MB / 453.2 MB, free: 24.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.3399, allocations: 2.844 kB / 453.2 MB, free: 24.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001572/0.3415, allocations: 1.462 MB / 454.7 MB, free: 24.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.3416, allocations: 316.2 kB / 455 MB, free: 23.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3416, allocations: 9.719 kB / 455 MB, free: 23.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.3417, allocations: 15.78 kB / 455 MB, free: 23.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.342, allocations: 123 kB / 455.1 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.342, allocations: 20.12 kB / 455.2 MB, free: 23.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.3424, allocations: 107.4 kB / 455.3 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.3424, allocations: 54.62 kB / 455.3 MB, free: 23.71 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableIn.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 47 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 113 * Array equations: 0 * 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.0006712/0.3431, allocations: 0.6929 MB / 456 MB, free: 23.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3432, allocations: 72.98 kB / 456.1 MB, free: 23.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.3451, allocations: 1.599 MB / 457.7 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.3452, allocations: 6.906 kB / 457.7 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3452, allocations: 2.75 kB / 457.7 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3452, allocations: 3.516 kB / 457.7 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.348, allocations: 2.538 MB / 460.2 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.348, allocations: 0 / 460.2 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3481, allocations: 24.11 kB / 460.3 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3481, allocations: 3.125 kB / 460.3 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.3482, allocations: 36.25 kB / 460.3 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3482, allocations: 3.312 kB / 460.3 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3482, allocations: 7.922 kB / 460.3 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.3508, allocations: 2.004 MB / 462.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.3509, allocations: 138.2 kB / 462.5 MB, free: 20.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.3511, allocations: 63.59 kB / 462.5 MB, free: 20.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.3515, allocations: 52 kB / 462.6 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.3517, allocations: 82.08 kB / 462.6 MB, free: 19.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.519e-05/0.3518, allocations: 44.25 kB / 462.7 MB, free: 19.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.352, allocations: 226.3 kB / 462.9 MB, free: 19.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.352, allocations: 1.062 kB / 462.9 MB, free: 19.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001124/0.3532, allocations: 300.7 kB / 463.2 MB, free: 19.8 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: 66 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * 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 (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.0007347/0.3539, allocations: 375.1 kB / 463.6 MB, free: 19.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.356, allocations: 1.702 MB / 465.3 MB, free: 18.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.356, allocations: 2.75 kB / 465.3 MB, free: 18.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.3582, allocations: 2.714 MB / 468 MB, free: 16.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/0.3589, allocations: 109.9 kB / 468.1 MB, free: 16.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.3617, allocations: 1.597 MB / 469.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3621, allocations: 0.8944 MB / 470.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003803/0.3625, allocations: 125.3 kB / 470.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3626, allocations: 39.59 kB / 470.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3626, allocations: 0 / 470.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of Templates: time 0.02196/0.3846, allocations: 10.38 MB / 481.1 MB, free: 12.56 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPD.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","../files/PNlib_PNlib.Examples.DisTest.TDtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches