Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 90.52 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.008142/0.008142, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2124/0.2124, allocations: 16.72 MB / 308.1 MB, free: 15.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002946, allocations: 8 kB / 373.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2997, allocations: 54.47 MB / 427.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.001979/0.3018, allocations: 1.61 MB / 429.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.3055, allocations: 2.206 MB / 431.7 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.3057, allocations: 5.688 kB / 431.7 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.3061, allocations: 81.69 kB / 431.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.3064, allocations: 87.64 kB / 431.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.3078, allocations: 0.7484 MB / 432.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009757/0.3088, allocations: 1.108 MB / 433.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.309, allocations: 142.4 kB / 433.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.3094, allocations: 420.3 kB / 434.3 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.3098, allocations: 268.1 kB / 434.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.162e-05/0.3099, allocations: 26.09 kB / 434.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007316/0.3106, allocations: 451.7 kB / 435 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3108, allocations: 113.2 kB / 435.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.3111, allocations: 313.7 kB / 435.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008598/0.312, allocations: 0.9528 MB / 436.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.312, allocations: 0 / 436.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.312, allocations: 0 / 436.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.312, allocations: 0 / 436.4 MB, free: 36.11 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.001137/0.3132, allocations: 1.077 MB / 437.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3132, allocations: 9.281 kB / 437.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.3135, allocations: 79.88 kB / 437.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.3139, allocations: 410 kB / 437.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-05/0.314, allocations: 82.73 kB / 438 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.3141, allocations: 62.5 kB / 438.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.3155, allocations: 1.104 MB / 439.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3156, allocations: 3.938 kB / 439.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.3156, allocations: 33 kB / 439.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.498e-05/0.3157, allocations: 47.33 kB / 439.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3168, allocations: 0.7364 MB / 440 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.3197, allocations: 3.011 MB / 443 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.321, allocations: 1.379 MB / 444.4 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.3221, allocations: 1.253 MB / 445.6 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/0.3222, allocations: 83.52 kB / 445.7 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.3233, allocations: 0.7847 MB / 446.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.565e-06/0.3233, allocations: 0 / 446.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003329/0.3266, allocations: 2.21 MB / 448.7 MB, free: 28.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003389/0.327, allocations: 0.5105 MB / 449.2 MB, free: 28.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.3276, allocations: 367.6 kB / 449.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-05/0.3277, allocations: 65 kB / 449.7 MB, free: 27.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.328, allocations: 244.1 kB / 449.9 MB, free: 27.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.3282, allocations: 183 kB / 450.1 MB, free: 27.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3284, allocations: 126.9 kB / 450.2 MB, free: 27.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3285, allocations: 364.4 kB / 450.5 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.329, allocations: 312.7 kB / 450.9 MB, free: 26.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.3296, allocations: 0.6351 MB / 451.5 MB, free: 26.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.3315, allocations: 2.043 MB / 453.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.3315, allocations: 3.094 kB / 453.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001675/0.3332, allocations: 1.462 MB / 455 MB, free: 24.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.3333, allocations: 311.6 kB / 455.3 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.3333, allocations: 13.91 kB / 455.3 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.3334, allocations: 13.16 kB / 455.3 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.3337, allocations: 111.7 kB / 455.4 MB, free: 23.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.3337, allocations: 25.62 kB / 455.5 MB, free: 23.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.3341, allocations: 106.5 kB / 455.6 MB, free: 23.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.3342, allocations: 48.59 kB / 455.6 MB, free: 23.59 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: 46 * 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,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.enableIn.arcWeight[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 (122): * Single equations (assignments): 112 * 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.0008265/0.335, allocations: 0.7086 MB / 456.3 MB, free: 23.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.3352, allocations: 67.59 kB / 456.4 MB, free: 23.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.3372, allocations: 1.665 MB / 458.1 MB, free: 22.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3373, allocations: 6.125 kB / 458.1 MB, free: 22.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3373, allocations: 3.938 kB / 458.1 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3373, allocations: 7.406 kB / 458.1 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.3403, allocations: 2.597 MB / 460.7 MB, free: 20.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.3403, allocations: 0 / 460.7 MB, free: 20.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3404, allocations: 35.28 kB / 460.7 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.3405, allocations: 6.312 kB / 460.7 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-05/0.3405, allocations: 34.94 kB / 460.7 MB, free: 20.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.3405, allocations: 8.5 kB / 460.7 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3406, allocations: 4.938 kB / 460.8 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.3432, allocations: 2.068 MB / 462.8 MB, free: 19.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.515e-05/0.3433, allocations: 129.4 kB / 462.9 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.3435, allocations: 67.39 kB / 463 MB, free: 19.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.3439, allocations: 56.33 kB / 463.1 MB, free: 19.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.3441, allocations: 80.33 kB / 463.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.3442, allocations: 43.08 kB / 463.2 MB, free: 19.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002673/0.3445, allocations: 223.1 kB / 463.4 MB, free: 19.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3445, allocations: 0 / 463.4 MB, free: 19.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00142/0.3459, allocations: 306.4 kB / 463.7 MB, free: 19.57 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: 67 ($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.arcWeight[1],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 (37): * Single equations (assignments): 25 * 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.0008577/0.3468, allocations: 383.1 kB / 464.1 MB, free: 19.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002319/0.3491, allocations: 1.73 MB / 465.8 MB, free: 18.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.3491, allocations: 1 kB / 465.8 MB, free: 18.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.3512, allocations: 2.8 MB / 468.6 MB, free: 16.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.3518, allocations: 108.9 kB / 468.7 MB, free: 16.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.3545, allocations: 1.68 MB / 470.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3549, allocations: 0.8963 MB / 471.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003493/0.3552, allocations: 120.5 kB / 471.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.3553, allocations: 44.2 kB / 471.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3554, allocations: 0 / 471.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of Templates: time 0.02264/0.378, allocations: 10.43 MB / 481.9 MB, free: 12.17 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches