Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002171/0.002171, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.182/0.182, allocations: 16.76 MB / 306.8 MB, free: 15.02 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 371.2 MB, free: 3.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 53.45 MB / 424.6 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002825/0.309, allocations: 1.982 MB / 426.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.312, allocations: 1.972 MB / 428.6 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.3124, allocations: 6.812 kB / 428.6 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.3128, allocations: 82.38 kB / 428.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.3133, allocations: 85.94 kB / 428.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.3154, allocations: 0.829 MB / 429.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.3171, allocations: 1.43 MB / 431 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.3174, allocations: 157.3 kB / 431.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.3181, allocations: 0.5301 MB / 431.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005617/0.3187, allocations: 348.1 kB / 432 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.3189, allocations: 92.47 kB / 432.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007298/0.3196, allocations: 0.5008 MB / 432.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.3198, allocations: 141.3 kB / 432.7 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.3203, allocations: 399.2 kB / 433.1 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.3219, allocations: 1.142 MB / 434.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3219, allocations: 0 / 434.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.322, allocations: 3.938 kB / 434.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.553e-05/0.322, allocations: 0 / 434.3 MB, free: 35.29 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001965/0.324, allocations: 1.285 MB / 435.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.324, allocations: 13.02 kB / 435.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/0.3244, allocations: 88.34 kB / 435.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.3249, allocations: 432.7 kB / 436.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.325, allocations: 88.16 kB / 436.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.3251, allocations: 72.52 kB / 436.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.3269, allocations: 1.315 MB / 437.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3269, allocations: 11.84 kB / 437.6 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/0.327, allocations: 40.06 kB / 437.6 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-05/0.3271, allocations: 52.02 kB / 437.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3284, allocations: 0.8864 MB / 438.5 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.3315, allocations: 3.313 MB / 441.9 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.3328, allocations: 1.525 MB / 443.4 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.334, allocations: 1.356 MB / 444.7 MB, free: 28.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/0.334, allocations: 80.56 kB / 444.8 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.3353, allocations: 0.9023 MB / 445.7 MB, free: 28.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/0.3353, allocations: 0 / 445.7 MB, free: 28.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.003216/0.3385, allocations: 2.521 MB / 448.2 MB, free: 27.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002358/0.3388, allocations: 0.5612 MB / 448.8 MB, free: 26.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.3391, allocations: 424.9 kB / 449.2 MB, free: 26.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.37e-05/0.3392, allocations: 68.41 kB / 449.3 MB, free: 26.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3393, allocations: 260.8 kB / 449.5 MB, free: 26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.3395, allocations: 186.4 kB / 449.7 MB, free: 25.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.3398, allocations: 224.8 kB / 449.9 MB, free: 25.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.3399, allocations: 378.2 kB / 450.3 MB, free: 25.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.3405, allocations: 437.5 kB / 450.7 MB, free: 25.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007489/0.3412, allocations: 0.794 MB / 451.5 MB, free: 24.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.3436, allocations: 2.503 MB / 454 MB, free: 22.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.3436, allocations: 6.969 kB / 454 MB, free: 22.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002114/0.3457, allocations: 1.805 MB / 455.8 MB, free: 21.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.3459, allocations: 338.3 kB / 456.2 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.3459, allocations: 13.34 kB / 456.2 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.3459, allocations: 18.97 kB / 456.2 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.3463, allocations: 122 kB / 456.3 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.3463, allocations: 19.44 kB / 456.3 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.3468, allocations: 128.2 kB / 456.5 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/0.3469, allocations: 57.64 kB / 456.5 MB, free: 21.46 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableOut.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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 119 * Array equations: 1 * 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.0007097/0.3476, allocations: 0.7625 MB / 457.3 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3478, allocations: 75.47 kB / 457.4 MB, free: 20.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.3505, allocations: 1.944 MB / 459.3 MB, free: 20.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.3505, allocations: 9.625 kB / 459.3 MB, free: 20.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.3505, allocations: 0 / 459.3 MB, free: 20.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3506, allocations: 4.234 kB / 459.3 MB, free: 20.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.3541, allocations: 2.734 MB / 462.1 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3541, allocations: 1.438 kB / 462.1 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3542, allocations: 31.77 kB / 462.1 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3542, allocations: 1.438 kB / 462.1 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/0.3543, allocations: 43.39 kB / 462.1 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3543, allocations: 5.281 kB / 462.1 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3543, allocations: 1.094 kB / 462.1 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.3577, allocations: 2.317 MB / 464.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.3579, allocations: 133.5 kB / 464.6 MB, free: 17.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.3581, allocations: 74.83 kB / 464.7 MB, free: 17.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.3586, allocations: 71.5 kB / 464.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005125/0.3591, allocations: 325.4 kB / 465 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.3592, allocations: 46.47 kB / 465.1 MB, free: 17.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.3595, allocations: 256.8 kB / 465.3 MB, free: 17.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3595, allocations: 0 / 465.3 MB, free: 17.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001024/0.3605, allocations: 336.9 kB / 465.7 MB, free: 17.1 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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 1 * 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.0007635/0.3613, allocations: 376.4 kB / 466 MB, free: 16.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002886/0.3642, allocations: 2.111 MB / 468.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3642, allocations: 1.094 kB / 468.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002719/0.3669, allocations: 3.061 MB / 471.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.3677, allocations: 105.5 kB / 471.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.3708, allocations: 1.711 MB / 473 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.3713, allocations: 0.9146 MB / 473.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003895/0.3717, allocations: 147.9 kB / 474.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3718, allocations: 48.28 kB / 474.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3718, allocations: 0 / 474.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Templates: time 0.02548/0.3973, allocations: 13.25 MB / 487.4 MB, free: 4.926 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches