Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008696/0.008696, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1899/0.1899, allocations: 16.73 MB / 308.2 MB, free: 15.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003118, allocations: 8 kB / 373.4 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3358, allocations: 54.47 MB / 427.9 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.001874/0.3377, allocations: 1.615 MB / 429.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.3414, allocations: 2.265 MB / 431.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.3417, allocations: 2.875 kB / 431.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.3422, allocations: 88.25 kB / 431.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.3424, allocations: 85.97 kB / 431.9 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.3439, allocations: 0.7579 MB / 432.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000846/0.3448, allocations: 1.121 MB / 433.8 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.345, allocations: 141.5 kB / 433.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.3454, allocations: 420.3 kB / 434.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.3457, allocations: 275.1 kB / 434.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.3457, allocations: 26.41 kB / 434.7 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006013/0.3463, allocations: 475.6 kB / 435.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.3465, allocations: 120.8 kB / 435.2 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.3467, allocations: 316.5 kB / 435.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007642/0.3475, allocations: 0.9796 MB / 436.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3475, allocations: 0 / 436.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3475, allocations: 0 / 436.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3475, allocations: 0 / 436.5 MB, free: 36.06 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001179/0.3487, allocations: 1.117 MB / 437.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3488, allocations: 9.938 kB / 437.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.349, allocations: 84.89 kB / 437.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.3495, allocations: 412.2 kB / 438.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.3496, allocations: 70.95 kB / 438.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/0.3497, allocations: 69.3 kB / 438.3 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.3511, allocations: 1.15 MB / 439.4 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3511, allocations: 3.938 kB / 439.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.3512, allocations: 37.33 kB / 439.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.102e-05/0.3513, allocations: 53.44 kB / 439.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3524, allocations: 0.7565 MB / 440.3 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.3549, allocations: 3.027 MB / 443.3 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.356, allocations: 1.297 MB / 444.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009069/0.3569, allocations: 1.199 MB / 445.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.737e-05/0.357, allocations: 83.67 kB / 445.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009575/0.3579, allocations: 0.838 MB / 446.7 MB, free: 29.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.785e-06/0.358, allocations: 3.984 kB / 446.7 MB, free: 29.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.002751/0.3607, allocations: 2.263 MB / 449 MB, free: 28.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/0.3609, allocations: 0.6222 MB / 449.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.3613, allocations: 381.7 kB / 450 MB, free: 27.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.3614, allocations: 72.2 kB / 450 MB, free: 27.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3615, allocations: 237.4 kB / 450.3 MB, free: 27.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.3616, allocations: 208.6 kB / 450.5 MB, free: 27.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.3617, allocations: 129.3 kB / 450.6 MB, free: 27.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.3618, allocations: 371.8 kB / 451 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.3623, allocations: 329.1 kB / 451.3 MB, free: 26.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.3629, allocations: 0.6865 MB / 452 MB, free: 26.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.3647, allocations: 2.136 MB / 454.1 MB, free: 24.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.3648, allocations: 3.125 kB / 454.1 MB, free: 24.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001804/0.3666, allocations: 1.548 MB / 455.7 MB, free: 23.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.3667, allocations: 343 kB / 456 MB, free: 23.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.3667, allocations: 9.094 kB / 456 MB, free: 23.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/0.3668, allocations: 25.56 kB / 456 MB, free: 23.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.3671, allocations: 120.6 kB / 456.2 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.3672, allocations: 22.3 kB / 456.2 MB, free: 23.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.3676, allocations: 119 kB / 456.3 MB, free: 23.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.3677, allocations: 53.55 kB / 456.3 MB, free: 23.12 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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,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,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.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,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0007954/0.3685, allocations: 0.7419 MB / 457.1 MB, free: 22.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3686, allocations: 72.34 kB / 457.2 MB, free: 22.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.3706, allocations: 1.713 MB / 458.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.3707, allocations: 10.12 kB / 458.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3707, allocations: 3.062 kB / 458.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3707, allocations: 3.328 kB / 458.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.3739, allocations: 2.675 MB / 461.6 MB, free: 20.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3739, allocations: 5.031 kB / 461.6 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.374, allocations: 24.53 kB / 461.6 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.374, allocations: 2.125 kB / 461.6 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.526e-05/0.3741, allocations: 38.8 kB / 461.6 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3741, allocations: 1.375 kB / 461.6 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3741, allocations: 5.219 kB / 461.6 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.3767, allocations: 2.133 MB / 463.8 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3769, allocations: 138.3 kB / 463.9 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.3771, allocations: 67.62 kB / 464 MB, free: 19.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.3774, allocations: 58.95 kB / 464 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.3776, allocations: 81.89 kB / 464.1 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.3778, allocations: 41.16 kB / 464.1 MB, free: 19.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003671/0.3782, allocations: 234.4 kB / 464.4 MB, free: 19.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.02e-07/0.3782, allocations: 0 / 464.4 MB, free: 19.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001772/0.38, allocations: 315.7 kB / 464.7 MB, free: 18.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.0009825/0.381, allocations: 385.4 kB / 465.1 MB, free: 18.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.3833, allocations: 1.826 MB / 466.9 MB, free: 17.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3833, allocations: 5.75 kB / 466.9 MB, free: 17.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.3855, allocations: 2.831 MB / 469.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.3863, allocations: 104.4 kB / 469.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.3891, allocations: 1.67 MB / 471.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3895, allocations: 0.9036 MB / 472.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004256/0.3899, allocations: 142.2 kB / 472.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.39, allocations: 44.31 kB / 472.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of SimCode: time 9.61e-07/0.39, allocations: 1 kB / 472.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Templates: time 0.02226/0.4123, allocations: 10.86 MB / 483.4 MB, free: 11.21 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TEnoInput.makefile (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & ./PNlib_PNlib.Examples.DisTest.TEnoInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","../files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches