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 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.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.001228/0.001228, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001148/0.001148, allocations: 196.3 kB / 16.26 MB, free: 6.625 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2172/0.2172, allocations: 16.76 MB / 306.8 MB, free: 15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 55.91 kB / 371.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 53.45 MB / 424.6 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002624/0.3313, allocations: 1.977 MB / 426.6 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.3341, allocations: 1.941 MB / 428.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.3344, allocations: 9.625 kB / 428.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3347, allocations: 84.44 kB / 428.6 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.335, allocations: 86.11 kB / 428.7 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3366, allocations: 0.8102 MB / 429.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009927/0.3376, allocations: 1.42 MB / 430.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.3378, allocations: 145.1 kB / 431.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.3382, allocations: 0.5336 MB / 431.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.3385, allocations: 304 kB / 431.9 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/0.3385, allocations: 71.97 kB / 432 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004888/0.339, allocations: 0.4938 MB / 432.4 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3392, allocations: 124.8 kB / 432.6 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.3394, allocations: 341.9 kB / 432.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007923/0.3402, allocations: 1.013 MB / 433.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3402, allocations: 0 / 433.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3403, allocations: 0 / 433.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3403, allocations: 0 / 433.9 MB, free: 35.38 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.001274/0.3415, allocations: 1.205 MB / 435.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3416, allocations: 13.39 kB / 435.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.3419, allocations: 83.92 kB / 435.2 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.3423, allocations: 404 kB / 435.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.3424, allocations: 82.61 kB / 435.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.3425, allocations: 69.52 kB / 435.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.3439, allocations: 1.099 MB / 436.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.3439, allocations: 3.938 kB / 436.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.344, allocations: 37.73 kB / 436.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-05/0.3441, allocations: 44.34 kB / 436.9 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.3451, allocations: 0.7196 MB / 437.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.3477, allocations: 2.995 MB / 440.7 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.3489, allocations: 1.275 MB / 441.9 MB, free: 30.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009094/0.3498, allocations: 1.164 MB / 443.1 MB, free: 29.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.344e-05/0.3499, allocations: 88.58 kB / 443.2 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.3509, allocations: 0.7595 MB / 443.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.465e-06/0.3509, allocations: 0 / 443.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.002699/0.3536, allocations: 2.104 MB / 446 MB, free: 27.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/0.3539, allocations: 0.5502 MB / 446.6 MB, free: 27.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.3542, allocations: 373 kB / 447 MB, free: 27.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.3543, allocations: 60.94 kB / 447 MB, free: 27.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.3545, allocations: 242.1 kB / 447.3 MB, free: 26.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.3546, allocations: 180.5 kB / 447.4 MB, free: 26.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.3548, allocations: 208.4 kB / 447.6 MB, free: 26.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3549, allocations: 369.4 kB / 448 MB, free: 26.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.3554, allocations: 304.8 kB / 448.3 MB, free: 26.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.356, allocations: 0.6426 MB / 448.9 MB, free: 25.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.3579, allocations: 2.04 MB / 451 MB, free: 24.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.3579, allocations: 3 kB / 451 MB, free: 24.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001692/0.3596, allocations: 1.451 MB / 452.4 MB, free: 23.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.3598, allocations: 311.8 kB / 452.7 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3598, allocations: 12.03 kB / 452.7 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.3598, allocations: 15.12 kB / 452.8 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.3602, allocations: 119 kB / 452.9 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.3602, allocations: 26.7 kB / 452.9 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.3606, allocations: 107 kB / 453 MB, free: 22.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/0.3607, allocations: 51.28 kB / 453.1 MB, free: 22.88 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.0008158/0.3615, allocations: 0.7003 MB / 453.8 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3616, allocations: 69.12 kB / 453.8 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.3638, allocations: 1.598 MB / 455.4 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3638, allocations: 10.91 kB / 455.4 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.3638, allocations: 3.047 kB / 455.4 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3638, allocations: 3.062 kB / 455.4 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.3669, allocations: 2.518 MB / 458 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3669, allocations: 4 kB / 458 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.367, allocations: 29.52 kB / 458 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.367, allocations: 3.031 kB / 458 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.497e-05/0.3671, allocations: 44.67 kB / 458 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3672, allocations: 3.031 kB / 458 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3672, allocations: 0 / 458 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.3702, allocations: 2.004 MB / 460 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3704, allocations: 133 kB / 460.2 MB, free: 19.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.3706, allocations: 64.16 kB / 460.2 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.371, allocations: 53.39 kB / 460.3 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.3712, allocations: 79.62 kB / 460.4 MB, free: 19.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/0.3713, allocations: 47.5 kB / 460.4 MB, free: 19.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.3716, allocations: 232.5 kB / 460.6 MB, free: 19.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3716, allocations: 5.5 kB / 460.6 MB, free: 19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001321/0.3729, allocations: 304.6 kB / 460.9 MB, free: 18.95 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.0007334/0.3736, allocations: 369 kB / 461.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.3759, allocations: 1.758 MB / 463.1 MB, free: 17.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3759, allocations: 1.094 kB / 463.1 MB, free: 17.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.3777, allocations: 2.712 MB / 465.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.3784, allocations: 106.9 kB / 465.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.3807, allocations: 1.587 MB / 467.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3811, allocations: 0.8952 MB / 468.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.3814, allocations: 130.5 kB / 468.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.3815, allocations: 48.44 kB / 468.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3815, allocations: 0 / 468.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Templates: time 0.02086/0.4023, allocations: 10.92 MB / 479.5 MB, free: 11.67 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