Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ZeroArcWeight.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.ConTest.ZeroArcWeight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroArcWeight") translateModel(PNlib.Examples.ConTest.ZeroArcWeight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroArcWeight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007221/0.007221, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.771/1.771, allocations: 205.4 MB / 221.2 MB, free: 13.85 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.0009747/0.0009745, allocations: 90.89 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06576/0.06576, allocations: 16.88 MB / 334.7 MB, free: 6.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004648, allocations: 10.39 kB / 396.9 MB, free: 46.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1132, allocations: 51.69 MB / 448.6 MB, free: 440 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.2332, allocations: 80.19 MB / 0.5164 GB, free: 136 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.2335, allocations: 71.97 kB / 0.5165 GB, free: 64 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3079/0.5414, allocations: 28.34 MB / 0.5442 GB, free: 66.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5414, allocations: 3.938 kB / 0.5442 GB, free: 66.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.945e-05/0.5415, allocations: 35.94 kB / 0.5442 GB, free: 66.05 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.005569/0.5471, allocations: 2.633 MB / 0.5468 GB, free: 63.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5471, allocations: 8.031 kB / 0.5468 GB, free: 63.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/0.5502, allocations: 0.5054 MB / 0.5473 GB, free: 62.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.5524, allocations: 0.9139 MB / 0.5482 GB, free: 61.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/0.5528, allocations: 406.2 kB / 0.5485 GB, free: 61.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006891/0.5535, allocations: 212 kB / 0.5487 GB, free: 61.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/0.5598, allocations: 3.49 MB / 0.5522 GB, free: 57.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/0.5599, allocations: 7.938 kB / 0.5522 GB, free: 57.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003983/0.5603, allocations: 104 kB / 0.5523 GB, free: 57.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/0.5605, allocations: 126.7 kB / 0.5524 GB, free: 57.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/0.5646, allocations: 2.517 MB / 0.5548 GB, free: 54.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008216/0.5729, allocations: 7.111 MB / 0.5618 GB, free: 47.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.5759, allocations: 3.204 MB / 0.5649 GB, free: 44.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.576, allocations: 48.48 kB / 0.565 GB, free: 44.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002296/0.5783, allocations: 1.997 MB / 0.5669 GB, free: 41.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=191): time 3.667e-06/0.5783, allocations: 4 kB / 0.5669 GB, free: 41.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=191): time 0.0076/0.586, allocations: 7.408 MB / 0.5741 GB, free: 33.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004716/0.5864, allocations: 1.371 MB / 0.5755 GB, free: 32.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/0.5873, allocations: 0.7716 MB / 0.5762 GB, free: 31.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.5875, allocations: 129.8 kB / 0.5764 GB, free: 31.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.5878, allocations: 0.6011 MB / 0.577 GB, free: 30.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.5882, allocations: 494.2 kB / 0.5774 GB, free: 30.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.5883, allocations: 60 kB / 0.5775 GB, free: 30.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5884, allocations: 457 kB / 0.5779 GB, free: 29.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.5899, allocations: 1.153 MB / 0.579 GB, free: 28.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.5917, allocations: 2.108 MB / 0.5811 GB, free: 26.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.5936, allocations: 2.166 MB / 0.5832 GB, free: 23.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.5936, allocations: 11.94 kB / 0.5832 GB, free: 23.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=383) (initialization): time 0.004916/0.5985, allocations: 4.551 MB / 0.5877 GB, free: 18.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004368/0.599, allocations: 0.9928 MB / 0.5886 GB, free: 17.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-05/0.599, allocations: 35.98 kB / 0.5887 GB, free: 17.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/0.5997, allocations: 216.9 kB / 0.5889 GB, free: 17.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007955/0.6005, allocations: 327.2 kB / 0.5892 GB, free: 17.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004907/0.601, allocations: 1.093 MB / 0.5903 GB, free: 16.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.6022, allocations: 293.9 kB / 0.5905 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.6024, allocations: 164 kB / 0.5907 GB, free: 15.58 MB / 362.7 MB Warning: Assuming fixed start value for the following 54 variables: P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 312 ($PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,$PRE.P3.enableIn.state128[1],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[4],$PRE.P3.enableIn.randNum,P3.enableIn.randNum,$PRE.P3.enableIn.cumEnablingProb[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,$PRE.P3.enableIn.remTAin[1],P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,$PRE.P3.enableIn.disTAin[1],P3.enableIn.disTAin[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.cumEnablingProb[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.remTAout[1],P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.disTAout[1],P2.enableOut.disTAout[1],$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,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$whenCondition9,P3.disMarksInOut,$PRE.P3.disMarksOut.anytrue,$PRE.P3.disMarksIn.anytrue,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,$whenCondition8,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksInOut,P2.outTransition[1].tokenInOut,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,$whenCondition7,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.fireOut[1],P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.state128[1],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[4],$PRE.P3.enableOut.randNum,P3.enableOut.randNum,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.Index,P3.enableOut.Index,$whenCondition3,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.Index,P2.enableIn.Index,$whenCondition2,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$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.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P3.inTransition[1].tint,P3.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P3.inTransition[1].disPlace,P2.outTransition[1].tint,P2.outTransition[1].testValueint,P2.outTransition[1].normalArc,P2.outTransition[1].minTokensint,T1.inPlaces[2].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].arcType,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P3.enableIn.enablingPrio[1],P3.reStart,T1.firingCon,P2.enableOut.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[1],P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksOut.vec[1],P3.disMarksIn.anytrue,P3.disMarksIn.numtrue,P3.disMarksIn.vec[1],$whenCondition4,$whenCondition5,$whenCondition6,P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,$PRE.P2.fireOut[1],P2.fireOut[1],P2.enableOut.TAout[1],P2.enableOut.TEout_[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.fed[1],T1.activation.fed[2],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,$PRE.P3.fireIn[1],P3.fireIn[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin[1],P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.feeding.vec[1],P3.feeding.anytrue,P3.feeding.numtrue,P3.emptying.anytrue,P3.emptying.numtrue,T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.tIntIn[1],T1.activation.arcType[2],T1.activation.disPlaceIn[2],T1.activation.minTokensInt[2],T1.activation.normalArc[2],T1.activation.testValueInt[2],T1.activation.tIntIn[2],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P3.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntIn[1],P2.delayPassedOut.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (327): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 31 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of prepare postOptimizeDAE: time 0.002085/0.6045, allocations: 1.887 MB / 0.5925 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.605, allocations: 182.5 kB / 0.5927 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004851/0.6098, allocations: 3.871 MB / 0.5965 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.6098, allocations: 12 kB / 0.5965 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.6099, allocations: 0 / 0.5965 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6099, allocations: 7.984 kB / 0.5965 GB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007314/0.6172, allocations: 6.115 MB / 0.6025 GB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/0.6172, allocations: 11.98 kB / 0.6025 GB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.6175, allocations: 75.83 kB / 0.6026 GB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/0.6179, allocations: 136.7 kB / 0.6027 GB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/0.6181, allocations: 111.9 kB / 0.6028 GB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003619/0.6184, allocations: 1.042 MB / 0.6038 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6185, allocations: 64 / 0.6038 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/0.6285, allocations: 6.676 MB / 0.6103 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.6289, allocations: 191.5 kB / 0.6105 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/0.6295, allocations: 215.9 kB / 0.6107 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6306, allocations: 183.8 kB / 0.6109 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008699/0.6315, allocations: 480.2 kB / 0.6114 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/0.6318, allocations: 135.9 kB / 0.6115 GB, free: 9.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007069/0.6325, allocations: 471 kB / 0.6119 GB, free: 9.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6325, allocations: 0 / 0.6119 GB, free: 9.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00287/0.6354, allocations: 0.6788 MB / 0.6126 GB, free: 8.379 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 163 ($whenCondition1,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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition2,P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,$whenCondition3,P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.disMarksInOut,$cse1[1],$cse1[2],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,P1.disMarksInOut,P1.fireOut[1],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.disTAout[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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,P2.disMarksInOut,P2.fireOut[1],P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.disTAout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,P2.outTransition[1].tokenInOut,T1.activation.fed[1],T1.activation.fed[2],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,P3.fireIn[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.disTAin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,P3.disMarksIn.anytrue,P3.disMarksIn.numtrue,P3.feeding.vec[1],P3.feeding.anytrue,P3.feeding.numtrue,P3.emptying.anytrue,P3.emptying.numtrue) * Number of discrete states: 148 (P3.fireIn[1],P3.disMarksOut.anytrue,P3.disMarksIn.anytrue,P3.emptying.numtrue,P3.emptying.anytrue,P3.feeding.numtrue,P3.feeding.anytrue,P3.disMarksIn.numtrue,P3.disMarksOut.numtrue,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P2.fireOut[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P2.disMarksInOut,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P3.enableIn.TEin_[1],P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,P3.enableIn.arcWeightSum,P3.enableIn.disTAin[1],$whenCondition6,P3.enableIn.TEin[1],P2.enableOut.TEout_[1],P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$whenCondition5,P2.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition4,P1.enableOut.TEout[1],P3.disMarkChange,P2.disMarkChange,P1.disMarkChange,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,$whenCondition3,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,$whenCondition2,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 25 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.6367, allocations: 0.6019 MB / 0.6132 GB, free: 7.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008037/0.6447, allocations: 6.212 MB / 0.6193 GB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6448, allocations: 0 / 0.6193 GB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006867/0.6516, allocations: 6.951 MB / 0.626 GB, free: 9.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009423/0.6526, allocations: 166.3 kB / 0.6262 GB, free: 9.734 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007727/0.6604, allocations: 4.501 MB / 0.6306 GB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.6619, allocations: 1.412 MB / 0.632 GB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001063/0.663, allocations: 322.5 kB / 0.6323 GB, free: 3.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.6633, allocations: 87.42 kB / 0.6324 GB, free: 3.348 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6633, allocations: 0 / 0.6324 GB, free: 3.348 MB / 394.7 MB Notification: Performance of Templates: time 0.0546/0.7179, allocations: 27.03 MB / 0.6588 GB, free: 8 MB / 426.7 MB make -j1 -f PNlib_PNlib.Examples.ConTest.ZeroArcWeight.makefile (rm -f PNlib_PNlib.Examples.ConTest.ZeroArcWeight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.ZeroArcWeight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.ZeroArcWeight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.ZeroArcWeight.sim & ./PNlib_PNlib.Examples.ConTest.ZeroArcWeight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.ZeroArcWeight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.ZeroArcWeight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.ZeroArcWeight.mat","../files/PNlib_PNlib.Examples.ConTest.ZeroArcWeight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches