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.001069/0.001069, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 198.3 kB / 16.79 MB, free: 6.809 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2558/0.2558, allocations: 16.77 MB / 307.4 MB, free: 15.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 71.88 kB / 371.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2889, allocations: 53.45 MB / 425.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003142/0.2921, allocations: 1.97 MB / 427.1 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003755/0.2959, allocations: 2.257 MB / 429.3 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.2963, allocations: 6.875 kB / 429.3 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.2967, allocations: 81.52 kB / 429.4 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.2971, allocations: 87.91 kB / 429.5 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.2988, allocations: 0.7418 MB / 430.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000965/0.2997, allocations: 1.107 MB / 431.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.3, allocations: 146.4 kB / 431.5 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.3003, allocations: 423.4 kB / 431.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.3006, allocations: 299.2 kB / 432.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.3007, allocations: 32.72 kB / 432.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.3013, allocations: 459.2 kB / 432.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3014, allocations: 121.6 kB / 432.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.3017, allocations: 308.9 kB / 433.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.3023, allocations: 0.7365 MB / 433.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.3024, allocations: 0 / 433.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3024, allocations: 0 / 433.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3024, allocations: 2.844 kB / 433.8 MB, free: 35.93 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.001481/0.3039, allocations: 1.201 MB / 435 MB, free: 34.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.3039, allocations: 15.47 kB / 435 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.3043, allocations: 82.48 kB / 435.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.3048, allocations: 412.8 kB / 435.5 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3049, allocations: 75.5 kB / 435.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.305, allocations: 70.77 kB / 435.7 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.3065, allocations: 1.093 MB / 436.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3065, allocations: 6.875 kB / 436.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.3066, allocations: 37.36 kB / 436.8 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.146e-05/0.3067, allocations: 47.17 kB / 436.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.3077, allocations: 0.7203 MB / 437.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.3103, allocations: 2.996 MB / 440.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3114, allocations: 1.271 MB / 441.8 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008809/0.3123, allocations: 1.165 MB / 443 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.3124, allocations: 82.81 kB / 443.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009728/0.3134, allocations: 0.7613 MB / 443.8 MB, free: 29.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.597e-06/0.3134, allocations: 0 / 443.8 MB, free: 29.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00263/0.316, allocations: 2.11 MB / 446 MB, free: 28.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/0.3162, allocations: 0.5467 MB / 446.5 MB, free: 27.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.3165, allocations: 371.6 kB / 446.9 MB, free: 27.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.3166, allocations: 67.64 kB / 446.9 MB, free: 27.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3167, allocations: 238.8 kB / 447.2 MB, free: 27.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3168, allocations: 182.8 kB / 447.3 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.317, allocations: 205.8 kB / 447.5 MB, free: 27.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.3171, allocations: 367.1 kB / 447.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.3176, allocations: 302.5 kB / 448.2 MB, free: 26.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/0.3181, allocations: 0.6431 MB / 448.8 MB, free: 26.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.3199, allocations: 2.041 MB / 450.9 MB, free: 24.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.3199, allocations: 3.156 kB / 450.9 MB, free: 24.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001616/0.3215, allocations: 1.451 MB / 452.3 MB, free: 23.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.3217, allocations: 318.9 kB / 452.6 MB, free: 23.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.3217, allocations: 9.438 kB / 452.7 MB, free: 23.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.3217, allocations: 18.88 kB / 452.7 MB, free: 23.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.322, allocations: 114.3 kB / 452.8 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.3221, allocations: 17.38 kB / 452.8 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.3224, allocations: 112.4 kB / 452.9 MB, free: 23.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.3225, allocations: 54.28 kB / 453 MB, free: 23.44 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.0006023/0.3231, allocations: 0.7036 MB / 453.7 MB, free: 22.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3232, allocations: 75.66 kB / 453.7 MB, free: 22.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.3252, allocations: 1.589 MB / 455.3 MB, free: 22.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.3252, allocations: 6.906 kB / 455.3 MB, free: 22.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3252, allocations: 6.422 kB / 455.3 MB, free: 22.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3252, allocations: 0 / 455.3 MB, free: 22.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.3281, allocations: 2.525 MB / 457.9 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3282, allocations: 0 / 457.9 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3283, allocations: 33.58 kB / 457.9 MB, free: 20.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3283, allocations: 3.938 kB / 457.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.3284, allocations: 35.34 kB / 457.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3284, allocations: 6.438 kB / 457.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3284, allocations: 0 / 457.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.3309, allocations: 1.999 MB / 459.9 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.331, allocations: 133.5 kB / 460.1 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.3311, allocations: 71.5 kB / 460.1 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.3315, allocations: 53.48 kB / 460.2 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.3317, allocations: 75.69 kB / 460.3 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.411e-05/0.3318, allocations: 47.34 kB / 460.3 MB, free: 19.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.332, allocations: 235.9 kB / 460.5 MB, free: 19.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.332, allocations: 0 / 460.5 MB, free: 19.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009998/0.333, allocations: 305.3 kB / 460.8 MB, free: 19.52 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.0006757/0.3337, allocations: 372.5 kB / 461.2 MB, free: 19.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.3355, allocations: 1.701 MB / 462.9 MB, free: 18.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3356, allocations: 0 / 462.9 MB, free: 18.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.3373, allocations: 2.713 MB / 465.6 MB, free: 16.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.3379, allocations: 103.8 kB / 465.7 MB, free: 16.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3402, allocations: 1.617 MB / 467.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3405, allocations: 0.891 MB / 468.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3406, allocations: 43.16 kB / 468.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3406, allocations: 0 / 468.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of Templates: time 0.01676/0.3574, allocations: 10.47 MB / 478.7 MB, free: 12.57 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