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 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.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.0008632/0.0008633, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008978/0.0008975, allocations: 172.7 kB / 15.95 MB, free: 208 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.169/1.169, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1667/0.1667, allocations: 16.73 MB / 307.8 MB, free: 15.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002545, allocations: 12 kB / 372.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2242, allocations: 54.48 MB / 427.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.001385/0.2256, allocations: 1.519 MB / 428.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.2279, allocations: 1.892 MB / 430.7 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.2281, allocations: 4.031 kB / 430.7 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.2283, allocations: 83.19 kB / 430.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.2286, allocations: 86.06 kB / 430.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.2296, allocations: 0.6433 MB / 431.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006918/0.2303, allocations: 1.069 MB / 432.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.2305, allocations: 131.9 kB / 432.7 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.2307, allocations: 427 kB / 433.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.231, allocations: 289 kB / 433.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.217e-05/0.2311, allocations: 34.69 kB / 433.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.2315, allocations: 420.4 kB / 433.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2316, allocations: 119.4 kB / 434 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.2318, allocations: 168.6 kB / 434.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.2323, allocations: 0.8134 MB / 434.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2323, allocations: 0 / 434.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2323, allocations: 0 / 434.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2323, allocations: 0 / 434.9 MB, free: 35.94 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.0009222/0.2333, allocations: 1.134 MB / 436.1 MB, free: 34.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.59e-05/0.2333, allocations: 19.34 kB / 436.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.2335, allocations: 92.97 kB / 436.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.2339, allocations: 424.4 kB / 436.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.234, allocations: 84.12 kB / 436.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.2341, allocations: 78.48 kB / 436.8 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.2355, allocations: 1.336 MB / 438.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2355, allocations: 2.75 kB / 438.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/0.2356, allocations: 36.72 kB / 438.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.449e-05/0.2357, allocations: 56.39 kB / 438.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2367, allocations: 0.8979 MB / 439.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.2392, allocations: 3.317 MB / 442.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2403, allocations: 1.54 MB / 443.9 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009186/0.2412, allocations: 1.374 MB / 445.3 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.2413, allocations: 92.84 kB / 445.4 MB, free: 29.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009481/0.2422, allocations: 0.9071 MB / 446.3 MB, free: 28.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.674e-06/0.2422, allocations: 0 / 446.3 MB, free: 28.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00308/0.2453, allocations: 2.582 MB / 448.9 MB, free: 27.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.2455, allocations: 0.5574 MB / 449.5 MB, free: 27.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.2458, allocations: 414.1 kB / 449.9 MB, free: 26.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.2458, allocations: 71.78 kB / 449.9 MB, free: 26.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.246, allocations: 260.5 kB / 450.2 MB, free: 26.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.2461, allocations: 183.8 kB / 450.4 MB, free: 26.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.2461, allocations: 21.09 kB / 450.4 MB, free: 26.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.2462, allocations: 375.2 kB / 450.7 MB, free: 26.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.2467, allocations: 433.9 kB / 451.2 MB, free: 26.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.2473, allocations: 0.7887 MB / 452 MB, free: 25.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005653/0.2479, allocations: 0.7587 MB / 452.7 MB, free: 24.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.2479, allocations: 3.281 kB / 452.7 MB, free: 24.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001732/0.2496, allocations: 1.806 MB / 454.5 MB, free: 24.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2498, allocations: 334 kB / 454.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2498, allocations: 11.88 kB / 454.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2498, allocations: 17.81 kB / 454.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.2501, allocations: 119.2 kB / 455 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.2501, allocations: 29.55 kB / 455 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.2505, allocations: 131.9 kB / 455.2 MB, free: 23.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.2506, allocations: 53.44 kB / 455.2 MB, free: 23.64 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.0005672/0.2512, allocations: 0.7488 MB / 456 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.2513, allocations: 86.03 kB / 456 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.2534, allocations: 1.981 MB / 458 MB, free: 22.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.2534, allocations: 6.328 kB / 458 MB, free: 22.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2534, allocations: 0 / 458 MB, free: 22.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2534, allocations: 7 kB / 458 MB, free: 22.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/0.2562, allocations: 2.767 MB / 460.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2562, allocations: 0 / 460.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.2563, allocations: 27.2 kB / 460.8 MB, free: 20.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2563, allocations: 2.25 kB / 460.8 MB, free: 20.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.639e-05/0.2564, allocations: 41.44 kB / 460.9 MB, free: 20.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2564, allocations: 2.531 kB / 460.9 MB, free: 20.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2564, allocations: 4 kB / 460.9 MB, free: 20.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.259, allocations: 2.345 MB / 463.2 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.259, allocations: 129.5 kB / 463.4 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.2592, allocations: 75.56 kB / 463.4 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.2596, allocations: 73.52 kB / 463.5 MB, free: 19.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004402/0.2601, allocations: 344.9 kB / 463.8 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/0.2602, allocations: 44.75 kB / 463.9 MB, free: 19.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.2604, allocations: 248.7 kB / 464.1 MB, free: 19.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2604, allocations: 0 / 464.1 MB, free: 19.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009187/0.2613, allocations: 332.5 kB / 464.4 MB, free: 19.28 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.0005819/0.2619, allocations: 383.1 kB / 464.8 MB, free: 19.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.2639, allocations: 2.06 MB / 466.9 MB, free: 17.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2639, allocations: 1.625 kB / 466.9 MB, free: 17.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.2657, allocations: 3.085 MB / 470 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.2662, allocations: 102.3 kB / 470.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.2684, allocations: 1.652 MB / 471.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.2687, allocations: 0.9181 MB / 472.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003057/0.269, allocations: 150.1 kB / 472.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.2691, allocations: 48.25 kB / 472.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2691, allocations: 0 / 472.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of Templates: time 0.01598/0.2851, allocations: 12.39 MB / 485.2 MB, free: 9.23 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