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 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.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.000834/0.0008342, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008956/0.0008957, allocations: 168.7 kB / 15.95 MB, free: 204 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.18/1.18, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1559/0.1559, allocations: 16.73 MB / 307.8 MB, free: 15.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 8 kB / 372.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2202, allocations: 54.48 MB / 427.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.001294/0.2215, allocations: 1.513 MB / 428.8 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.2237, allocations: 1.852 MB / 430.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.2239, allocations: 10.81 kB / 430.7 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.2241, allocations: 87.53 kB / 430.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.2243, allocations: 84.14 kB / 430.8 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.2253, allocations: 0.6313 MB / 431.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006447/0.2259, allocations: 1.058 MB / 432.5 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2261, allocations: 131.2 kB / 432.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.2263, allocations: 415.3 kB / 433.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.2266, allocations: 260.4 kB / 433.3 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.2266, allocations: 25.72 kB / 433.3 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.227, allocations: 421 kB / 433.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.2271, allocations: 105.6 kB / 433.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.2272, allocations: 152.5 kB / 434 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.2277, allocations: 0.7227 MB / 434.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2277, allocations: 0 / 434.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2277, allocations: 3.938 kB / 434.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2277, allocations: 0 / 434.7 MB, free: 36.07 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.0009196/0.2287, allocations: 1.072 MB / 435.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.2287, allocations: 12.97 kB / 435.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.2289, allocations: 80.17 kB / 435.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.2293, allocations: 402.2 kB / 436.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/0.2294, allocations: 73.36 kB / 436.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.2295, allocations: 67.75 kB / 436.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.2308, allocations: 1.124 MB / 437.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2308, allocations: 3.031 kB / 437.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.2309, allocations: 31.69 kB / 437.6 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.2309, allocations: 44.05 kB / 437.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/0.2319, allocations: 0.7412 MB / 438.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.234, allocations: 2.995 MB / 441.4 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.235, allocations: 1.286 MB / 442.6 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/0.2358, allocations: 1.185 MB / 443.8 MB, free: 30.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.2359, allocations: 91 kB / 443.9 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008222/0.2367, allocations: 0.7718 MB / 444.7 MB, free: 29.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.943e-06/0.2367, allocations: 0 / 444.7 MB, free: 29.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.002371/0.2391, allocations: 2.147 MB / 446.8 MB, free: 28.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.2393, allocations: 0.5412 MB / 447.4 MB, free: 28.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.2396, allocations: 374.4 kB / 447.7 MB, free: 27.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.2396, allocations: 65.02 kB / 447.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2397, allocations: 239.9 kB / 448 MB, free: 27.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.2398, allocations: 183.1 kB / 448.2 MB, free: 27.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.2399, allocations: 22.56 kB / 448.2 MB, free: 27.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.2399, allocations: 375 kB / 448.6 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.2403, allocations: 294.8 kB / 448.9 MB, free: 27.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.2408, allocations: 0.6544 MB / 449.5 MB, free: 26.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.2413, allocations: 0.6719 MB / 450.2 MB, free: 26.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.2413, allocations: 3.031 kB / 450.2 MB, free: 26.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001391/0.2427, allocations: 1.457 MB / 451.7 MB, free: 25.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.406e-05/0.2428, allocations: 316.5 kB / 452 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.2428, allocations: 9.344 kB / 452 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.2428, allocations: 18.5 kB / 452 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.2431, allocations: 110.5 kB / 452.1 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.2432, allocations: 27.11 kB / 452.1 MB, free: 24.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.2435, allocations: 108 kB / 452.3 MB, free: 24.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.2435, allocations: 47.44 kB / 452.3 MB, free: 24.9 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.0005187/0.2441, allocations: 0.7182 MB / 453 MB, free: 24.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.2441, allocations: 66.41 kB / 453.1 MB, free: 24.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.2459, allocations: 1.621 MB / 454.7 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2459, allocations: 6.719 kB / 454.7 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.246, allocations: 3.188 kB / 454.7 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.246, allocations: 3.953 kB / 454.7 MB, free: 23.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.2485, allocations: 2.571 MB / 457.3 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2485, allocations: 0 / 457.3 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.2486, allocations: 21.91 kB / 457.3 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2486, allocations: 3.094 kB / 457.3 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.2487, allocations: 35.83 kB / 457.3 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2487, allocations: 7.047 kB / 457.4 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2487, allocations: 0 / 457.4 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.2507, allocations: 2.038 MB / 459.4 MB, free: 21.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.2507, allocations: 132.8 kB / 459.5 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.2509, allocations: 64.03 kB / 459.6 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.2512, allocations: 54.25 kB / 459.6 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2513, allocations: 92.03 kB / 459.7 MB, free: 21.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/0.2514, allocations: 42.64 kB / 459.8 MB, free: 21.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.2516, allocations: 224.3 kB / 460 MB, free: 21.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2516, allocations: 3.938 kB / 460 MB, free: 21.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007841/0.2524, allocations: 302 kB / 460.3 MB, free: 20.96 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.0005521/0.2529, allocations: 372.9 kB / 460.6 MB, free: 20.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.2545, allocations: 1.728 MB / 462.4 MB, free: 19.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2545, allocations: 1.312 kB / 462.4 MB, free: 19.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.2561, allocations: 2.732 MB / 465.1 MB, free: 17.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.2566, allocations: 98.28 kB / 465.2 MB, free: 17.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.2586, allocations: 1.544 MB / 466.7 MB, free: 16.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.2589, allocations: 0.8949 MB / 467.6 MB, free: 16.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.2592, allocations: 128.2 kB / 467.8 MB, free: 16.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.2592, allocations: 40.12 kB / 467.8 MB, free: 16.15 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2593, allocations: 1 kB / 467.8 MB, free: 16.15 MB / 350.1 MB Notification: Performance of Templates: time 0.01519/0.2744, allocations: 10.17 MB / 478 MB, free: 14.08 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