Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0009098/0.0009097, allocations: 88.03 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06959/0.06959, allocations: 16.74 MB / 326.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.835e-05, allocations: 4 kB / 384 MB, free: 70.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09229, allocations: 51.7 MB / 435.7 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4449, allocations: 79.93 MB / 0.5035 GB, free: 9.996 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4452, allocations: 70.78 kB / 0.5036 GB, free: 9.996 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03712/0.4824, allocations: 16.65 MB / 0.5198 GB, free: 2.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4824, allocations: 4 kB / 0.5199 GB, free: 2.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.942e-05/0.4824, allocations: 19.94 kB / 0.5199 GB, free: 2.648 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002171/0.4846, allocations: 1.359 MB / 0.5212 GB, free: 1.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4847, allocations: 12.03 kB / 0.5212 GB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005936/0.4853, allocations: 131 kB / 0.5213 GB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.4863, allocations: 0.5927 MB / 0.5219 GB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.4865, allocations: 121.1 kB / 0.522 GB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.4867, allocations: 82.88 kB / 0.5221 GB, free: 496 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002016/0.4888, allocations: 1.307 MB / 0.5234 GB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003607/0.4924, allocations: 1.826 MB / 0.5252 GB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.4924, allocations: 3.938 kB / 0.5252 GB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.4926, allocations: 27.56 kB / 0.5252 GB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.4928, allocations: 64.83 kB / 0.5253 GB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006216/0.499, allocations: 4.042 MB / 0.5292 GB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.5011, allocations: 2.233 MB / 0.5314 GB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.5029, allocations: 2.142 MB / 0.5335 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.5031, allocations: 88.77 kB / 0.5336 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.5047, allocations: 1.213 MB / 0.5347 GB, free: 8.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 2.455e-06/0.5047, allocations: 0 / 0.5347 GB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.003188/0.5079, allocations: 1.839 MB / 0.5365 GB, free: 6.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003559/0.5083, allocations: 0.5992 MB / 0.5371 GB, free: 6.059 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004904/0.5088, allocations: 429.2 kB / 0.5375 GB, free: 5.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.5089, allocations: 57.69 kB / 0.5376 GB, free: 5.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.5092, allocations: 367.1 kB / 0.5379 GB, free: 5.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.5095, allocations: 209.5 kB / 0.5381 GB, free: 5.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.5095, allocations: 4 kB / 0.5381 GB, free: 5.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5097, allocations: 386.8 kB / 0.5385 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/0.5104, allocations: 0.4913 MB / 0.539 GB, free: 4.129 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009977/0.5114, allocations: 0.9651 MB / 0.5399 GB, free: 2.949 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008286/0.5123, allocations: 0.5294 MB / 0.5405 GB, free: 2.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.5123, allocations: 4 kB / 0.5405 GB, free: 2.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002479/0.5148, allocations: 1.65 MB / 0.5421 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.515, allocations: 344.9 kB / 0.5424 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/0.5151, allocations: 19.94 kB / 0.5424 GB, free: 352 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/0.5151, allocations: 24 kB / 0.5424 GB, free: 328 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.5156, allocations: 171.5 kB / 0.5426 GB, free: 156 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.5157, allocations: 27.92 kB / 0.5426 GB, free: 128 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.5162, allocations: 119.5 kB / 0.5427 GB, free: 8 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.5164, allocations: 69.45 kB / 0.5428 GB, free: 15.94 MB / 362.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 150 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$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,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.firingCon,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.P1.t,P1.t,P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.active,T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.activeConOut.vec[1],P1.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007913/0.5172, allocations: 0.703 MB / 0.5435 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.5174, allocations: 87.34 kB / 0.5436 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/0.5206, allocations: 1.979 MB / 0.5455 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5206, allocations: 7.984 kB / 0.5455 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5206, allocations: 0 / 0.5455 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5207, allocations: 3.984 kB / 0.5455 GB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.5256, allocations: 3.271 MB / 0.5487 GB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5257, allocations: 0 / 0.5487 GB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.5258, allocations: 35.92 kB / 0.5488 GB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5258, allocations: 0 / 0.5488 GB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.526, allocations: 59.95 kB / 0.5488 GB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.526, allocations: 0 / 0.5488 GB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.526, allocations: 0 / 0.5488 GB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.5292, allocations: 2.133 MB / 0.5509 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5294, allocations: 132.4 kB / 0.551 GB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.5296, allocations: 87.97 kB / 0.5511 GB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/0.5302, allocations: 83.92 kB / 0.5512 GB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000605/0.5309, allocations: 383.6 kB / 0.5515 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.531, allocations: 75.95 kB / 0.5516 GB, free: 6.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.5313, allocations: 236.6 kB / 0.5518 GB, free: 6.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5313, allocations: 4 kB / 0.5519 GB, free: 6.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001523/0.5328, allocations: 483.2 kB / 0.5523 GB, free: 6.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 80 (P1.activeOut[1],T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.tokeninout,P1.enabledByInPlaces[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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,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,P1.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 53 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,P1.tokeninout,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/0.5341, allocations: 0.4966 MB / 0.5528 GB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.537, allocations: 2.494 MB / 0.5552 GB, free: 3.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.537, allocations: 0 / 0.5552 GB, free: 3.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003716/0.5408, allocations: 4.322 MB / 0.5595 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.5412, allocations: 73.27 kB / 0.5595 GB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.5445, allocations: 1.728 MB / 0.5612 GB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008449/0.5454, allocations: 1.041 MB / 0.5622 GB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006523/0.5461, allocations: 197.5 kB / 0.5624 GB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.5462, allocations: 55.42 kB / 0.5625 GB, free: 11.44 MB / 378.7 MB Notification: Performance of SimCode: time 3.125e-06/0.5463, allocations: 0 / 0.5625 GB, free: 11.44 MB / 378.7 MB Notification: Performance of Templates: time 0.02813/0.5744, allocations: 16.3 MB / 0.5784 GB, free: 10.95 MB / 394.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & ./PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches