Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008086/0.0008087, allocations: 91.3 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.004947/0.004947, allocations: 172.9 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.142/1.142, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1518/0.1518, allocations: 16.72 MB / 308.2 MB, free: 15.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002451/0.0002451, allocations: 12 kB / 373.4 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2161, allocations: 54.47 MB / 427.9 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.001389/0.2176, allocations: 1.605 MB / 429.5 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.2205, allocations: 2.216 MB / 431.7 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002692/0.2208, allocations: 6.781 kB / 431.7 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.221, allocations: 87.34 kB / 431.8 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.2213, allocations: 86.58 kB / 431.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.2226, allocations: 0.7497 MB / 432.6 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007169/0.2233, allocations: 1.111 MB / 433.7 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.2235, allocations: 156.8 kB / 433.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.2237, allocations: 420.5 kB / 434.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.224, allocations: 312.2 kB / 434.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.224, allocations: 31.44 kB / 434.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003718/0.2244, allocations: 453.9 kB / 435.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.2245, allocations: 119.1 kB / 435.2 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.2247, allocations: 360.6 kB / 435.5 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.2253, allocations: 1.06 MB / 436.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2253, allocations: 4 kB / 436.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2253, allocations: 0 / 436.6 MB, free: 35.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2254, allocations: 0 / 436.6 MB, free: 35.92 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.0008672/0.2262, allocations: 1.123 MB / 437.7 MB, free: 34.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.2263, allocations: 11.69 kB / 437.7 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.2265, allocations: 96.44 kB / 437.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.2269, allocations: 436.2 kB / 438.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.2269, allocations: 92.11 kB / 438.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.386e-05/0.227, allocations: 74.97 kB / 438.4 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2284, allocations: 1.328 MB / 439.8 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2284, allocations: 0 / 439.8 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.2285, allocations: 37.11 kB / 439.8 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/0.2286, allocations: 51.38 kB / 439.8 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2297, allocations: 0.9013 MB / 440.7 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.232, allocations: 3.316 MB / 444.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.233, allocations: 1.459 MB / 445.5 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000891/0.2339, allocations: 1.36 MB / 446.9 MB, free: 29.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.234, allocations: 86.95 kB / 447 MB, free: 29.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008986/0.2349, allocations: 0.8955 MB / 447.9 MB, free: 28.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.503e-06/0.2349, allocations: 0 / 447.9 MB, free: 28.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002691/0.2376, allocations: 2.538 MB / 450.4 MB, free: 27.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.2378, allocations: 0.5656 MB / 451 MB, free: 27.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.238, allocations: 416.5 kB / 451.4 MB, free: 27.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.2381, allocations: 67.92 kB / 451.4 MB, free: 27.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2382, allocations: 272.5 kB / 451.7 MB, free: 26.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2383, allocations: 189.1 kB / 451.9 MB, free: 26.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2384, allocations: 139.7 kB / 452 MB, free: 26.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.2385, allocations: 378.3 kB / 452.4 MB, free: 26.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.239, allocations: 442.6 kB / 452.8 MB, free: 26.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.2396, allocations: 0.813 MB / 453.6 MB, free: 25.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.2415, allocations: 2.555 MB / 456.2 MB, free: 23.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.2416, allocations: 7.469 kB / 456.2 MB, free: 23.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001732/0.2433, allocations: 1.835 MB / 458 MB, free: 22.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.2434, allocations: 336.5 kB / 458.4 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2434, allocations: 12.38 kB / 458.4 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.2435, allocations: 15.19 kB / 458.4 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.2438, allocations: 124 kB / 458.5 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.2438, allocations: 25.3 kB / 458.5 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.2442, allocations: 134.1 kB / 458.7 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.2443, allocations: 61.19 kB / 458.7 MB, free: 22.21 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005203/0.2448, allocations: 0.7602 MB / 459.5 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2449, allocations: 73.8 kB / 459.6 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.247, allocations: 1.958 MB / 461.5 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.2471, allocations: 10.19 kB / 461.5 MB, free: 20.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2471, allocations: 0 / 461.5 MB, free: 20.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2471, allocations: 4.734 kB / 461.5 MB, free: 20.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.2502, allocations: 2.974 MB / 464.5 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2502, allocations: 1.375 kB / 464.5 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-05/0.2503, allocations: 25.77 kB / 464.5 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2503, allocations: 2.844 kB / 464.5 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.2504, allocations: 39.66 kB / 464.6 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2504, allocations: 5.406 kB / 464.6 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2504, allocations: 7.938 kB / 464.6 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.253, allocations: 2.316 MB / 466.9 MB, free: 18.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.253, allocations: 137.2 kB / 467 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.2532, allocations: 75.33 kB / 467.1 MB, free: 18.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.2536, allocations: 81.34 kB / 467.2 MB, free: 18.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004487/0.2541, allocations: 329.9 kB / 467.5 MB, free: 17.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.458e-05/0.2542, allocations: 45.59 kB / 467.6 MB, free: 17.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.2544, allocations: 248.3 kB / 467.8 MB, free: 17.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2544, allocations: 0 / 467.8 MB, free: 17.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008005/0.2552, allocations: 339.6 kB / 468.1 MB, free: 17.73 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: 68 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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 (37): * Single equations (assignments): 24 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005786/0.2558, allocations: 380.1 kB / 468.5 MB, free: 17.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.2578, allocations: 2.077 MB / 470.6 MB, free: 16.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2578, allocations: 4.062 kB / 470.6 MB, free: 16.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.2596, allocations: 3.057 MB / 473.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.2601, allocations: 101.5 kB / 473.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.2623, allocations: 1.698 MB / 475.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.2627, allocations: 0.9161 MB / 476.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003263/0.263, allocations: 147.5 kB / 476.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/0.2631, allocations: 51.31 kB / 476.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2632, allocations: 0 / 476.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Templates: time 0.01583/0.279, allocations: 12.7 MB / 489.2 MB, free: 5.82 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches