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/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 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001328/0.001328, allocations: 177.3 kB / 15.94 MB, free: 228 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.246/1.246, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.167/0.167, allocations: 16.71 MB / 307.7 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 8 kB / 372.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2678, allocations: 54.47 MB / 427.2 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.001554/0.2694, allocations: 1.56 MB / 428.7 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.272, allocations: 1.868 MB / 430.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.2722, allocations: 7.688 kB / 430.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.2725, allocations: 98.19 kB / 430.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.2728, allocations: 112.7 kB / 430.8 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2741, allocations: 0.6171 MB / 431.4 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.2747, allocations: 0.7001 MB / 432.1 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.275, allocations: 213 kB / 432.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.2753, allocations: 416.7 kB / 432.7 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.2757, allocations: 401.5 kB / 433.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.2758, allocations: 52.69 kB / 433.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.2765, allocations: 0.5958 MB / 433.8 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.2766, allocations: 157.6 kB / 433.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.2769, allocations: 246.4 kB / 434.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009568/0.2778, allocations: 1.252 MB / 435.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.2778, allocations: 0 / 435.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2778, allocations: 0 / 435.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.2779, allocations: 0 / 435.4 MB, free: 36.05 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001253/0.2791, allocations: 1.345 MB / 436.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2792, allocations: 10.84 kB / 436.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003593/0.2795, allocations: 126.3 kB / 436.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/0.2802, allocations: 0.5431 MB / 437.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.2803, allocations: 135.2 kB / 437.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.2805, allocations: 118.4 kB / 437.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.2829, allocations: 2.06 MB / 439.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.2829, allocations: 6.719 kB / 439.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.283, allocations: 54.14 kB / 439.8 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.2832, allocations: 96.39 kB / 439.9 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.285, allocations: 1.459 MB / 441.4 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.2892, allocations: 4.247 MB / 445.6 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.2911, allocations: 2.444 MB / 448.1 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.863e-05/0.2912, allocations: 83.77 kB / 448.1 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.2927, allocations: 1.353 MB / 449.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 1.973e-06/0.2927, allocations: 3.938 kB / 449.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.004776/0.2975, allocations: 4.401 MB / 453.9 MB, free: 26.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002587/0.2978, allocations: 0.6525 MB / 454.5 MB, free: 25.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.2982, allocations: 0.5073 MB / 455.1 MB, free: 25.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-05/0.2983, allocations: 74.19 kB / 455.1 MB, free: 25.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.2985, allocations: 352.7 kB / 455.5 MB, free: 24.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.2987, allocations: 234.9 kB / 455.7 MB, free: 24.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.2987, allocations: 28.06 kB / 455.7 MB, free: 24.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.2988, allocations: 387.5 kB / 456.1 MB, free: 24.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.2995, allocations: 0.5442 MB / 456.6 MB, free: 24.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/0.3003, allocations: 1.015 MB / 457.7 MB, free: 23.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/0.3011, allocations: 0.9069 MB / 458.6 MB, free: 22.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.3012, allocations: 3.156 kB / 458.6 MB, free: 22.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002695/0.3039, allocations: 2.209 MB / 460.8 MB, free: 21.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.3041, allocations: 349.8 kB / 461.1 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.3041, allocations: 14.19 kB / 461.1 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.147e-05/0.3041, allocations: 22.09 kB / 461.2 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.3046, allocations: 166.2 kB / 461.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-05/0.3047, allocations: 34.8 kB / 461.4 MB, free: 21.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.3054, allocations: 171.7 kB / 461.5 MB, free: 21.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.3055, allocations: 69.48 kB / 461.6 MB, free: 21.34 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($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,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,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.vec[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,T1.active,$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.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.001267/0.3068, allocations: 0.8853 MB / 462.5 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.3069, allocations: 99.38 kB / 462.6 MB, free: 20.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.3116, allocations: 3.405 MB / 466 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.3116, allocations: 6.266 kB / 466 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3116, allocations: 0 / 466 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.3116, allocations: 8.312 kB / 466 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006356/0.318, allocations: 4.827 MB / 470.8 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.318, allocations: 0 / 470.8 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.3182, allocations: 39.53 kB / 470.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.3182, allocations: 7.75 kB / 470.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.3183, allocations: 53.58 kB / 470.9 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3184, allocations: 5.547 kB / 470.9 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3184, allocations: 0 / 470.9 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004633/0.323, allocations: 3.534 MB / 474.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3232, allocations: 141.2 kB / 474.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.3234, allocations: 89.81 kB / 474.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.3241, allocations: 103.3 kB / 474.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006164/0.3247, allocations: 403.4 kB / 475.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.3249, allocations: 60.27 kB / 475.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003306/0.3252, allocations: 301.2 kB / 475.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3252, allocations: 0 / 475.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001481/0.3267, allocations: 479.9 kB / 476 MB, free: 15.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.vec[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,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: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.0008925/0.3276, allocations: 481.6 kB / 476.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003268/0.3309, allocations: 2.691 MB / 479.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3309, allocations: 1.719 kB / 479.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003192/0.3341, allocations: 4.529 MB / 483.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/0.3348, allocations: 96.22 kB / 483.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.3384, allocations: 2.433 MB / 486.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.339, allocations: 1.042 MB / 487.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005342/0.3395, allocations: 216.4 kB / 487.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3396, allocations: 50.53 kB / 487.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3396, allocations: 0 / 487.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of Templates: time 0.02584/0.3655, allocations: 17.17 MB / 0.4929 GB, free: 5.582 MB / 366.1 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