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.001425/0.001425, allocations: 183.6 kB / 16.12 MB, free: 5.691 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.493/1.493, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0007967/0.0007969, allocations: 90.36 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.073/0.073, allocations: 16.89 MB / 335.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004108, allocations: 20 kB / 398.2 MB, free: 61.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 51.69 MB / 449.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/0.3936, allocations: 80.23 MB / 0.5177 GB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.3939, allocations: 74.83 kB / 0.5177 GB, free: 8.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0739/0.4678, allocations: 28.34 MB / 0.5454 GB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4678, allocations: 0 / 0.5454 GB, free: 464 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.916e-05/0.4679, allocations: 28 kB / 0.5454 GB, free: 436 kB / 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.005342/0.4732, allocations: 2.621 MB / 0.548 GB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4733, allocations: 8.031 kB / 0.548 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.4762, allocations: 0.5119 MB / 0.5485 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.4786, allocations: 0.9243 MB / 0.5494 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000458/0.4791, allocations: 407.3 kB / 0.5498 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000754/0.4799, allocations: 221.1 kB / 0.55 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007341/0.4872, allocations: 3.439 MB / 0.5534 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-05/0.4873, allocations: 11.91 kB / 0.5534 GB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000449/0.4878, allocations: 96.53 kB / 0.5535 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.488, allocations: 134.1 kB / 0.5536 GB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005455/0.4935, allocations: 2.462 MB / 0.556 GB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01298/0.5065, allocations: 7.067 MB / 0.5629 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.5109, allocations: 3.232 MB / 0.566 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/0.5145, allocations: 2.967 MB / 0.5689 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.5147, allocations: 36.55 kB / 0.569 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003383/0.5181, allocations: 1.966 MB / 0.5709 GB, free: 8.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=191): time 4.268e-06/0.5181, allocations: 0 / 0.5709 GB, free: 8.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=191): time 0.009999/0.5281, allocations: 5.908 MB / 0.5767 GB, free: 2.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000859/0.529, allocations: 1.379 MB / 0.578 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.5304, allocations: 0.8427 MB / 0.5788 GB, free: 15.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.5308, allocations: 129.6 kB / 0.579 GB, free: 15.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/0.5314, allocations: 0.6051 MB / 0.5796 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007065/0.5321, allocations: 482.3 kB / 0.58 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.5324, allocations: 60 kB / 0.5801 GB, free: 14.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003514/0.5327, allocations: 457 kB / 0.5805 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.5349, allocations: 1.153 MB / 0.5816 GB, free: 12.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/0.5378, allocations: 2.124 MB / 0.5837 GB, free: 10.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005668/0.5435, allocations: 4.843 MB / 0.5884 GB, free: 4.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.436e-05/0.5436, allocations: 8 kB / 0.5884 GB, free: 4.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=383) (initialization): time 0.008432/0.552, allocations: 4.591 MB / 0.5929 GB, free: 15.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009092/0.553, allocations: 0.9888 MB / 0.5939 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/0.5531, allocations: 39.98 kB / 0.5939 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.5539, allocations: 212.9 kB / 0.5941 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.5551, allocations: 335.1 kB / 0.5945 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000856/0.556, allocations: 1.085 MB / 0.5955 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.5578, allocations: 293.9 kB / 0.5958 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005367/0.5584, allocations: 164 kB / 0.5959 GB, free: 12.5 MB / 426.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.disTAin[1],P3.enableIn.disTAin[1],$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.P2.enableOut.disTAout[1],P2.enableOut.disTAout[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.P1.enableOut.disTAout[1],P1.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.P3.disMarksOut.anytrue,$PRE.P3.disMarksIn.anytrue,$whenCondition9,P3.disMarksInOut,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition8,P2.disMarksInOut,$PRE.P2.disMarksInOut,P2.outTransition[1].tokenInOut,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition7,P1.disMarksInOut,$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.004837/0.5633, allocations: 1.894 MB / 0.5978 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/0.5644, allocations: 178.6 kB / 0.598 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008457/0.5729, allocations: 4.554 MB / 0.6024 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-05/0.573, allocations: 12 kB / 0.6024 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.573, allocations: 0 / 0.6024 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.573, allocations: 11.92 kB / 0.6024 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.5858, allocations: 6.751 MB / 0.609 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/0.5859, allocations: 7.984 kB / 0.609 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.5863, allocations: 75.89 kB / 0.6091 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003955/0.5867, allocations: 140.7 kB / 0.6092 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/0.587, allocations: 111.9 kB / 0.6094 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006515/0.5877, allocations: 1.05 MB / 0.6104 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5877, allocations: 0 / 0.6104 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.6002, allocations: 7.222 MB / 0.6174 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.6007, allocations: 195.5 kB / 0.6176 GB, free: 5.566 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007413/0.6014, allocations: 215.9 kB / 0.6178 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.6027, allocations: 183.8 kB / 0.618 GB, free: 5.176 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009193/0.6037, allocations: 484.2 kB / 0.6185 GB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003636/0.6041, allocations: 139.9 kB / 0.6186 GB, free: 4.566 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008063/0.6049, allocations: 471 kB / 0.619 GB, free: 4.105 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6049, allocations: 0 / 0.619 GB, free: 4.105 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003132/0.608, allocations: 0.6788 MB / 0.6197 GB, free: 3.426 MB / 442.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.disTAin[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,$whenCondition6,P3.enableIn.TEin[1],P2.enableOut.TEout_[1],P2.enableOut.disTAout[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,$whenCondition5,P2.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.disTAout[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,$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.001604/0.6097, allocations: 0.6 MB / 0.6203 GB, free: 2.824 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008433/0.6181, allocations: 6.153 MB / 0.6263 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.6182, allocations: 4 kB / 0.6263 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008668/0.6269, allocations: 6.901 MB / 0.633 GB, free: 5.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.6291, allocations: 243.9 kB / 0.6333 GB, free: 4.809 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008969/0.638, allocations: 4.489 MB / 0.6377 GB, free: 296 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1844/0.8225, allocations: 1.381 MB / 0.639 GB, free: 143.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001091/0.8237, allocations: 315.3 kB / 0.6393 GB, free: 143.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.8239, allocations: 93.55 kB / 0.6394 GB, free: 143.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.734e-06/0.8239, allocations: 0 / 0.6394 GB, free: 143.4 MB / 458.7 MB Notification: Performance of Templates: time 0.04341/0.8673, allocations: 26.95 MB / 0.6657 GB, free: 140.4 MB / 458.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