Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 221.8 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009802/0.0009798, allocations: 106 kB / 269.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07182/0.07182, allocations: 16.87 MB / 333.4 MB, free: 8.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001003, allocations: 51.92 kB / 394.9 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08903, allocations: 50.69 MB / 445.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.002832/0.09189, allocations: 1.992 MB / 447.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.09526, allocations: 2.301 MB / 449.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.09547, allocations: 7.938 kB / 449.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.09578, allocations: 83.44 kB / 450 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.09613, allocations: 83.44 kB / 450 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.0974, allocations: 0.745 MB / 450.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.09802, allocations: 1.115 MB / 451.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.09821, allocations: 140.3 kB / 452 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.0985, allocations: 434.6 kB / 452.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.09879, allocations: 298.4 kB / 452.7 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.135e-05/0.09887, allocations: 32 kB / 452.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.09931, allocations: 459.4 kB / 453.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.09944, allocations: 123.5 kB / 453.3 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.09966, allocations: 294.5 kB / 453.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.1003, allocations: 0.9666 MB / 454.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1003, allocations: 0 / 454.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.1003, allocations: 3.938 kB / 454.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1004, allocations: 0 / 454.6 MB, free: 2.07 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001201/0.1016, allocations: 1.204 MB / 455.8 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.1016, allocations: 8.031 kB / 455.8 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.1019, allocations: 92.11 kB / 455.9 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.1023, allocations: 407.3 kB / 456.3 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.438e-05/0.1024, allocations: 78.67 kB / 456.4 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.1025, allocations: 67.98 kB / 456.4 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.1039, allocations: 1.097 MB / 457.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.104, allocations: 3.938 kB / 457.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.1041, allocations: 35.98 kB / 457.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/0.1041, allocations: 44.97 kB / 457.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.1052, allocations: 0.7103 MB / 458.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.1084, allocations: 2.99 MB / 461.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.1097, allocations: 1.262 MB / 462.6 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.1108, allocations: 1.158 MB / 463.7 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/0.1109, allocations: 85.11 kB / 463.8 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.1119, allocations: 0.7641 MB / 464.6 MB, free: 7.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 2.524e-06/0.1119, allocations: 0 / 464.6 MB, free: 7.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.002836/0.1148, allocations: 2.096 MB / 466.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002865/0.1151, allocations: 0.5442 MB / 467.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1154, allocations: 380 kB / 467.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.1155, allocations: 65.69 kB / 467.7 MB, free: 4.391 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1157, allocations: 236.7 kB / 467.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.1158, allocations: 173.9 kB / 468.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.1161, allocations: 202.5 kB / 468.3 MB, free: 3.777 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1162, allocations: 366.8 kB / 468.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.1167, allocations: 298.1 kB / 468.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.1173, allocations: 0.6197 MB / 469.5 MB, free: 2.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.1195, allocations: 2.008 MB / 471.5 MB, free: 48 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.1195, allocations: 4 kB / 471.5 MB, free: 44 kB / 314.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001902/0.1214, allocations: 1.435 MB / 473 MB, free: 14.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.1216, allocations: 317 kB / 473.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.1216, allocations: 11.94 kB / 473.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.1216, allocations: 16 kB / 473.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.122, allocations: 107.7 kB / 473.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.122, allocations: 20.45 kB / 473.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.1224, allocations: 111 kB / 473.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.1224, allocations: 44 kB / 473.6 MB, free: 13.86 MB / 330.7 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.firingCon,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.firingTime,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 (118): * Single equations (assignments): 108 * 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.0008324/0.1233, allocations: 0.7013 MB / 474.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.1234, allocations: 75.41 kB / 474.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.1256, allocations: 1.593 MB / 476 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1256, allocations: 4 kB / 476 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1256, allocations: 0 / 476 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1256, allocations: 0 / 476 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.1285, allocations: 2.323 MB / 478.3 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1286, allocations: 0 / 478.3 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1287, allocations: 27.92 kB / 478.3 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.485e-06/0.1287, allocations: 4 kB / 478.3 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.808e-05/0.1288, allocations: 31.98 kB / 478.4 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1288, allocations: 7.984 kB / 478.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1288, allocations: 0 / 478.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/0.1327, allocations: 3.242 MB / 481.6 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.1328, allocations: 128.4 kB / 481.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.1329, allocations: 63.98 kB / 481.8 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.1333, allocations: 55.95 kB / 481.8 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.1335, allocations: 83.91 kB / 481.9 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/0.1336, allocations: 47.91 kB / 482 MB, free: 5.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.1338, allocations: 231 kB / 482.2 MB, free: 4.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1338, allocations: 0 / 482.2 MB, free: 4.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00112/0.1349, allocations: 303.7 kB / 482.5 MB, free: 4.633 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 64 ($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,$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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.0006727/0.1356, allocations: 371.7 kB / 482.9 MB, free: 4.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.1377, allocations: 1.69 MB / 484.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1377, allocations: 0 / 484.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1462/0.284, allocations: 2.703 MB / 487.3 MB, free: 47.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008171/0.2848, allocations: 104 kB / 487.4 MB, free: 47.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.2874, allocations: 1.873 MB / 489.2 MB, free: 47.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.2878, allocations: 0.9139 MB / 490.1 MB, free: 46.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.2881, allocations: 130.4 kB / 490.3 MB, free: 46.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.2882, allocations: 42.84 kB / 490.3 MB, free: 46.61 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2882, allocations: 1.438 kB / 490.3 MB, free: 46.61 MB / 330.7 MB Notification: Performance of Templates: time 0.0176/0.3058, allocations: 10.85 MB / 0.4894 GB, free: 43.18 MB / 330.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TTtoPD.makefile (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","../files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches