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 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.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.000863/0.000863, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009775/0.0009775, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1821/0.1821, allocations: 16.71 MB / 307.7 MB, free: 15.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 16 kB / 372.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2579, allocations: 54.47 MB / 427.2 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.001512/0.2594, allocations: 1.556 MB / 428.7 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.2619, allocations: 1.874 MB / 430.6 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.2621, allocations: 6.188 kB / 430.6 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.2623, allocations: 92.55 kB / 430.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.2626, allocations: 118.1 kB / 430.8 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.2638, allocations: 0.6189 MB / 431.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005578/0.2643, allocations: 0.6453 MB / 432.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.2645, allocations: 120.1 kB / 432.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.2648, allocations: 397.4 kB / 432.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.2651, allocations: 263 kB / 432.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.09e-05/0.2652, allocations: 25.97 kB / 432.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.2656, allocations: 374 kB / 433.2 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2657, allocations: 97.47 kB / 433.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2658, allocations: 157.2 kB / 433.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.2664, allocations: 0.72 MB / 434.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2664, allocations: 0 / 434.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2664, allocations: 0 / 434.2 MB, free: 36.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2664, allocations: 0 / 434.2 MB, free: 36.43 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.0009966/0.2674, allocations: 1.083 MB / 435.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.2675, allocations: 8.75 kB / 435.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.2677, allocations: 82.64 kB / 435.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.2681, allocations: 404.3 kB / 435.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-05/0.2682, allocations: 72.39 kB / 435.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/0.2683, allocations: 67.64 kB / 435.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.2697, allocations: 1.115 MB / 437 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2697, allocations: 2.969 kB / 437 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.2698, allocations: 29.73 kB / 437 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.866e-05/0.2698, allocations: 47.12 kB / 437.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2709, allocations: 0.7447 MB / 437.8 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.2734, allocations: 3.009 MB / 440.8 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.2744, allocations: 1.287 MB / 442.1 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.2745, allocations: 83.03 kB / 442.2 MB, free: 31.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009056/0.2754, allocations: 0.7763 MB / 443 MB, free: 30.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.904e-06/0.2754, allocations: 0 / 443 MB, free: 30.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.002684/0.2781, allocations: 2.484 MB / 445.5 MB, free: 29.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.2783, allocations: 0.54 MB / 446 MB, free: 28.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.2786, allocations: 381.1 kB / 446.4 MB, free: 28.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.2786, allocations: 64.08 kB / 446.4 MB, free: 28.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2788, allocations: 238.1 kB / 446.7 MB, free: 28.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.2789, allocations: 183 kB / 446.8 MB, free: 28.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.2789, allocations: 25.44 kB / 446.9 MB, free: 28.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.279, allocations: 364.4 kB / 447.2 MB, free: 27.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.2794, allocations: 305.5 kB / 447.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.2799, allocations: 0.6356 MB / 448.2 MB, free: 27.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.2805, allocations: 0.6728 MB / 448.8 MB, free: 26.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2805, allocations: 6.969 kB / 448.8 MB, free: 26.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001516/0.282, allocations: 1.454 MB / 450.3 MB, free: 26.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.2821, allocations: 308.9 kB / 450.6 MB, free: 25.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.2822, allocations: 17.33 kB / 450.6 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.2822, allocations: 20.88 kB / 450.6 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.2825, allocations: 114.7 kB / 450.7 MB, free: 25.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.2825, allocations: 31.81 kB / 450.8 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.2829, allocations: 105.5 kB / 450.9 MB, free: 25.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.283, allocations: 50 kB / 450.9 MB, free: 25.61 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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition7,$PRE.P1.reStart,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$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,$whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T1.enabledByInPlaces,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005692/0.2835, allocations: 0.702 MB / 451.6 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.2837, allocations: 68.09 kB / 451.7 MB, free: 25.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.2856, allocations: 1.626 MB / 453.3 MB, free: 24.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2856, allocations: 6.781 kB / 453.3 MB, free: 24.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2857, allocations: 0 / 453.3 MB, free: 24.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2857, allocations: 10.45 kB / 453.3 MB, free: 24.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.2885, allocations: 2.563 MB / 455.9 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2885, allocations: 0 / 455.9 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.2886, allocations: 25.84 kB / 455.9 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2887, allocations: 0 / 455.9 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.595e-05/0.2887, allocations: 39.77 kB / 456 MB, free: 23.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2887, allocations: 3.938 kB / 456 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2887, allocations: 6.859 kB / 456 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.291, allocations: 2.041 MB / 458 MB, free: 22.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.291, allocations: 135.2 kB / 458.1 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.2912, allocations: 72.03 kB / 458.2 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.2915, allocations: 53.83 kB / 458.3 MB, free: 21.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.2917, allocations: 83.64 kB / 458.4 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/0.2918, allocations: 38.62 kB / 458.4 MB, free: 21.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.292, allocations: 228.4 kB / 458.6 MB, free: 21.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.292, allocations: 0 / 458.6 MB, free: 21.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008845/0.2929, allocations: 297.4 kB / 458.9 MB, free: 21.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006383/0.2935, allocations: 380.5 kB / 459.3 MB, free: 21.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.2953, allocations: 1.724 MB / 461 MB, free: 20.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2954, allocations: 8.188 kB / 461 MB, free: 20.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.2972, allocations: 2.731 MB / 463.7 MB, free: 18.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.2976, allocations: 71.45 kB / 463.8 MB, free: 18.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.2999, allocations: 1.534 MB / 465.3 MB, free: 17.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3002, allocations: 0.9123 MB / 466.3 MB, free: 16.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.3005, allocations: 125.9 kB / 466.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.3006, allocations: 40.27 kB / 466.4 MB, free: 16.85 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3006, allocations: 0 / 466.4 MB, free: 16.85 MB / 350.1 MB Notification: Performance of Templates: time 0.01967/0.3203, allocations: 10.16 MB / 476.6 MB, free: 14.73 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