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.0008312/0.0008315, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00504/0.005041, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1611/0.1611, allocations: 16.73 MB / 308.2 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002562, allocations: 15.98 kB / 373.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2138, allocations: 54.47 MB / 427.9 MB, free: 38.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.001333/0.2152, allocations: 1.605 MB / 429.5 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.2177, allocations: 2.214 MB / 431.7 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.2179, allocations: 6.938 kB / 431.7 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.2181, allocations: 83.05 kB / 431.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.2183, allocations: 86.06 kB / 431.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.2194, allocations: 0.7447 MB / 432.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000582/0.22, allocations: 1.11 MB / 433.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2201, allocations: 141 kB / 433.9 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.2204, allocations: 416 kB / 434.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.2206, allocations: 271.5 kB / 434.5 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.2207, allocations: 26.5 kB / 434.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.221, allocations: 453.7 kB / 435 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.06e-05/0.2211, allocations: 106 kB / 435.1 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.2213, allocations: 322.2 kB / 435.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.2219, allocations: 0.9468 MB / 436.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2219, allocations: 0 / 436.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2219, allocations: 0 / 436.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2219, allocations: 0 / 436.4 MB, free: 36.41 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.0008496/0.2228, allocations: 1.078 MB / 437.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.2228, allocations: 8.781 kB / 437.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.223, allocations: 85.28 kB / 437.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.2234, allocations: 404.7 kB / 437.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.2235, allocations: 78.95 kB / 438 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.2236, allocations: 70.75 kB / 438.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.2247, allocations: 1.103 MB / 439.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2247, allocations: 0 / 439.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.2248, allocations: 30.03 kB / 439.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/0.2249, allocations: 52.27 kB / 439.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.2257, allocations: 0.7251 MB / 440 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.2278, allocations: 2.992 MB / 443 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009041/0.2287, allocations: 1.266 MB / 444.3 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007396/0.2294, allocations: 1.166 MB / 445.4 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.2295, allocations: 87.52 kB / 445.5 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007633/0.2303, allocations: 0.7626 MB / 446.3 MB, free: 29.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.553e-06/0.2303, allocations: 0 / 446.3 MB, free: 29.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.0022/0.2325, allocations: 2.115 MB / 448.4 MB, free: 29.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.2326, allocations: 0.5328 MB / 448.9 MB, free: 28.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2329, allocations: 380 kB / 449.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.2329, allocations: 68.94 kB / 449.4 MB, free: 28.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.233, allocations: 246.9 kB / 449.6 MB, free: 28.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.045e-05/0.2331, allocations: 180.2 kB / 449.8 MB, free: 27.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.829e-05/0.2332, allocations: 124.5 kB / 449.9 MB, free: 27.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.2333, allocations: 368.3 kB / 450.3 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.2336, allocations: 305.8 kB / 450.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.2341, allocations: 0.6465 MB / 451.2 MB, free: 26.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.2356, allocations: 2.044 MB / 453.2 MB, free: 25.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2356, allocations: 3.125 kB / 453.2 MB, free: 25.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001326/0.2369, allocations: 1.454 MB / 454.7 MB, free: 24.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.208e-05/0.237, allocations: 313.3 kB / 455 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.237, allocations: 11.94 kB / 455 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.237, allocations: 15.75 kB / 455 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.2373, allocations: 117.2 kB / 455.1 MB, free: 24.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.2373, allocations: 26.02 kB / 455.2 MB, free: 24.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.2377, allocations: 105.2 kB / 455.3 MB, free: 24.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.2377, allocations: 50.34 kB / 455.3 MB, free: 24.01 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.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer 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,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004504/0.2382, allocations: 0.6987 MB / 456 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.2383, allocations: 71.47 kB / 456.1 MB, free: 23.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.2399, allocations: 1.599 MB / 457.7 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2399, allocations: 7.219 kB / 457.7 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2399, allocations: 0 / 457.7 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.24, allocations: 7.422 kB / 457.7 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.2424, allocations: 2.524 MB / 460.2 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2424, allocations: 6.891 kB / 460.2 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.2425, allocations: 27.03 kB / 460.3 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2425, allocations: 6.547 kB / 460.3 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.2425, allocations: 41.64 kB / 460.3 MB, free: 21.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2425, allocations: 10.95 kB / 460.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2426, allocations: 0 / 460.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.2447, allocations: 2.004 MB / 462.3 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.2447, allocations: 134.7 kB / 462.5 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.2449, allocations: 67.56 kB / 462.5 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.2452, allocations: 52.95 kB / 462.6 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2453, allocations: 78.3 kB / 462.7 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/0.2454, allocations: 46.83 kB / 462.7 MB, free: 20.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.2456, allocations: 230.2 kB / 462.9 MB, free: 20.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2456, allocations: 0 / 462.9 MB, free: 20.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007076/0.2463, allocations: 300.5 kB / 463.2 MB, free: 20.09 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 (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.0005268/0.2468, allocations: 376.9 kB / 463.6 MB, free: 19.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.2483, allocations: 1.706 MB / 465.3 MB, free: 18.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2484, allocations: 2.688 kB / 465.3 MB, free: 18.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.2498, allocations: 2.712 MB / 468 MB, free: 16.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.2503, allocations: 98.39 kB / 468.1 MB, free: 16.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.2522, allocations: 1.589 MB / 469.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2524, allocations: 0.8989 MB / 470.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.2527, allocations: 125.7 kB / 470.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.2527, allocations: 44.31 kB / 470.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2528, allocations: 0 / 470.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of Templates: time 0.01371/0.2665, allocations: 10.38 MB / 481.1 MB, free: 12.93 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