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 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.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.001259/0.001259, allocations: 100.1 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.001606/0.001606, allocations: 177.3 kB / 15.95 MB, free: 216 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.235/1.235, 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.1963/0.1963, allocations: 16.71 MB / 307.7 MB, free: 15.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002864, allocations: 12 kB / 372.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2449, allocations: 54.47 MB / 427.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.001712/0.2467, allocations: 1.553 MB / 428.7 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.2497, allocations: 1.915 MB / 430.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004113/0.2501, allocations: 7.75 kB / 430.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.2505, allocations: 82.91 kB / 430.7 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.2509, allocations: 120.2 kB / 430.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.2525, allocations: 0.6286 MB / 431.5 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008039/0.2533, allocations: 0.6571 MB / 432.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.2535, allocations: 136.4 kB / 432.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.254, allocations: 394 kB / 432.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.2545, allocations: 286.9 kB / 432.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.2546, allocations: 33.09 kB / 433 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.2552, allocations: 383.8 kB / 433.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.2554, allocations: 110 kB / 433.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.2557, allocations: 175.2 kB / 433.6 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.2566, allocations: 0.8124 MB / 434.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2566, allocations: 0 / 434.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2566, allocations: 3.938 kB / 434.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.2566, allocations: 0 / 434.4 MB, free: 36.39 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.001384/0.258, allocations: 1.129 MB / 435.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.258, allocations: 10.66 kB / 435.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/0.2584, allocations: 95.25 kB / 435.7 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.259, allocations: 424.5 kB / 436.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.96e-05/0.2591, allocations: 84.81 kB / 436.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.2592, allocations: 77.02 kB / 436.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.261, allocations: 1.328 MB / 437.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.261, allocations: 14.72 kB / 437.6 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.2611, allocations: 39.73 kB / 437.6 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.369e-05/0.2612, allocations: 54.19 kB / 437.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.2625, allocations: 0.8977 MB / 438.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/0.2657, allocations: 3.317 MB / 441.9 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.2671, allocations: 1.551 MB / 443.4 MB, free: 30.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.2671, allocations: 86.09 kB / 443.5 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.2683, allocations: 0.9127 MB / 444.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.485e-06/0.2684, allocations: 0 / 444.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.003225/0.2716, allocations: 2.917 MB / 447.3 MB, free: 28.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.2718, allocations: 0.5555 MB / 447.9 MB, free: 28.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.2722, allocations: 413 kB / 448.3 MB, free: 27.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.851e-05/0.2723, allocations: 74.3 kB / 448.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2724, allocations: 265.1 kB / 448.6 MB, free: 27.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.2726, allocations: 178.9 kB / 448.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.2726, allocations: 21.83 kB / 448.8 MB, free: 27.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.2727, allocations: 369.4 kB / 449.2 MB, free: 27.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.2733, allocations: 436.6 kB / 449.6 MB, free: 27.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.274, allocations: 0.7904 MB / 450.4 MB, free: 26.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.2747, allocations: 0.7453 MB / 451.1 MB, free: 25.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.2747, allocations: 3.062 kB / 451.2 MB, free: 25.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002157/0.2768, allocations: 1.811 MB / 453 MB, free: 25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.277, allocations: 332 kB / 453.3 MB, free: 24.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.277, allocations: 14.59 kB / 453.3 MB, free: 24.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.2771, allocations: 18.28 kB / 453.3 MB, free: 24.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.2774, allocations: 121.9 kB / 453.4 MB, free: 24.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.2774, allocations: 23.66 kB / 453.5 MB, free: 24.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.278, allocations: 128.5 kB / 453.6 MB, free: 24.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/0.2781, allocations: 54.84 kB / 453.6 MB, free: 24.56 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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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,$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.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition7,$PRE.P1.reStart,P1.outTransition[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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,$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.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,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],P1.enableOut.arcWeight[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007622/0.2788, allocations: 0.7502 MB / 454.4 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.279, allocations: 80.59 kB / 454.5 MB, free: 23.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.2813, allocations: 1.991 MB / 456.5 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.2813, allocations: 3.219 kB / 456.5 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.2813, allocations: 0 / 456.5 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2814, allocations: 6.422 kB / 456.5 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.2844, allocations: 2.76 MB / 459.2 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2844, allocations: 7.188 kB / 459.2 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2845, allocations: 26.92 kB / 459.3 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2846, allocations: 6.469 kB / 459.3 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/0.2847, allocations: 37.84 kB / 459.3 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2847, allocations: 0 / 459.3 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2847, allocations: 6.5 kB / 459.3 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.2876, allocations: 2.356 MB / 461.7 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2877, allocations: 125.8 kB / 461.8 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.288, allocations: 80.25 kB / 461.9 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.2884, allocations: 73.33 kB / 461.9 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004838/0.2889, allocations: 338.8 kB / 462.3 MB, free: 20.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.2891, allocations: 50.66 kB / 462.3 MB, free: 20.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.2893, allocations: 248.5 kB / 462.6 MB, free: 20.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2893, allocations: 3.938 kB / 462.6 MB, free: 20.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001048/0.2904, allocations: 333 kB / 462.9 MB, free: 20.17 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 (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.0009498/0.2913, allocations: 377 kB / 463.3 MB, free: 20.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.2938, allocations: 2.067 MB / 465.3 MB, free: 18.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2938, allocations: 1.688 kB / 465.3 MB, free: 18.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.296, allocations: 3.077 MB / 468.4 MB, free: 16.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.2965, allocations: 77.38 kB / 468.5 MB, free: 16.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.2991, allocations: 1.647 MB / 470.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.2996, allocations: 0.9268 MB / 471.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004339/0.3, allocations: 143.1 kB / 471.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.3002, allocations: 46.55 kB / 471.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3002, allocations: 0 / 471.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of Templates: time 0.02195/0.3221, allocations: 12.38 MB / 483.6 MB, free: 10.91 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