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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002144/0.002144, allocations: 178.2 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9686/0.9686, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0008232/0.0008232, allocations: 99.64 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06321/0.06321, allocations: 16.73 MB / 325.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.64e-06/5.661e-06, allocations: 8 kB / 383.5 MB, free: 71.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06161/0.06163, allocations: 51.67 MB / 435.1 MB, free: 19.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.2496, allocations: 79.36 MB / 0.5024 GB, free: 9.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001669/0.2499, allocations: 67.73 kB / 0.5025 GB, free: 9.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06513/0.315, allocations: 28.02 MB / 0.5299 GB, free: 10.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.808e-05/0.3151, allocations: 31.94 kB / 0.5299 GB, free: 10.11 MB / 346.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.003869/0.319, allocations: 2.591 MB / 0.5324 GB, free: 7.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.319, allocations: 12.03 kB / 0.5324 GB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.3218, allocations: 0.5399 MB / 0.533 GB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.3236, allocations: 0.9314 MB / 0.5339 GB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.324, allocations: 351.7 kB / 0.5342 GB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/0.3244, allocations: 155.5 kB / 0.5343 GB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003509/0.3279, allocations: 2.396 MB / 0.5367 GB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004506/0.3324, allocations: 3.244 MB / 0.5399 GB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.3325, allocations: 7.938 kB / 0.5399 GB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002502/0.3327, allocations: 36 kB / 0.5399 GB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.3329, allocations: 137.8 kB / 0.54 GB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008712/0.3416, allocations: 6.858 MB / 0.5467 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.3444, allocations: 3.008 MB / 0.5497 GB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/0.3471, allocations: 2.878 MB / 0.5525 GB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.3472, allocations: 36.56 kB / 0.5525 GB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002439/0.3496, allocations: 1.918 MB / 0.5544 GB, free: 4.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=191): time 3.196e-06/0.3496, allocations: 0 / 0.5544 GB, free: 4.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=191): time 0.004695/0.3544, allocations: 2.803 MB / 0.5571 GB, free: 1.453 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007256/0.3551, allocations: 1.375 MB / 0.5585 GB, free: 15.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000788/0.3559, allocations: 0.6566 MB / 0.5591 GB, free: 15.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.3561, allocations: 105.7 kB / 0.5592 GB, free: 15.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.3565, allocations: 0.5609 MB / 0.5598 GB, free: 14.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000464/0.357, allocations: 473.6 kB / 0.5602 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.3571, allocations: 24 kB / 0.5602 GB, free: 14.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.3574, allocations: 449 kB / 0.5607 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.3589, allocations: 1.059 MB / 0.5617 GB, free: 12.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.3609, allocations: 2.014 MB / 0.5637 GB, free: 10.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.3626, allocations: 1.122 MB / 0.5648 GB, free: 8.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.469e-05/0.3626, allocations: 11.98 kB / 0.5648 GB, free: 8.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=383) (initialization): time 0.004593/0.3672, allocations: 3.037 MB / 0.5677 GB, free: 5.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3673, allocations: 4 kB / 0.5677 GB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.478e-05/0.3673, allocations: 39.98 kB / 0.5678 GB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006938/0.368, allocations: 220.9 kB / 0.568 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009098/0.369, allocations: 335.2 kB / 0.5683 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/0.3695, allocations: 0.998 MB / 0.5693 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.3707, allocations: 234.5 kB / 0.5695 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.3709, allocations: 152 kB / 0.5696 GB, free: 3.836 MB / 378.7 MB Warning: Assuming fixed start value for the following 54 variables: P3.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P3.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P3.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P3.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P3.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P3.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: P3.decFactorIn[1]:VARIABLE(protected = true ) "decreasing factors for input transitions" type: Real [1] P2.decFactorOut[1]:VARIABLE(protected = true ) "decreasing factors for output transitions" type: Real [1] 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 () * 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.001667/0.3726, allocations: 1.504 MB / 0.5711 GB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/0.3731, allocations: 170.7 kB / 0.5713 GB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004669/0.3778, allocations: 2.889 MB / 0.5741 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.3778, allocations: 12 kB / 0.5741 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3778, allocations: 0 / 0.5741 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3778, allocations: 7.922 kB / 0.5741 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007574/0.3854, allocations: 4.892 MB / 0.5789 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/0.3855, allocations: 11.98 kB / 0.5789 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.3858, allocations: 75.83 kB / 0.579 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003449/0.3861, allocations: 144.8 kB / 0.5791 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.3864, allocations: 115.3 kB / 0.5792 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004756/0.3868, allocations: 0.9475 MB / 0.5802 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3869, allocations: 4 kB / 0.5802 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007576/0.3944, allocations: 5.244 MB / 0.5853 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.3946, allocations: 183.5 kB / 0.5855 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005126/0.3951, allocations: 207.9 kB / 0.5857 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.3962, allocations: 187.9 kB / 0.5858 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007009/0.3969, allocations: 0.492 MB / 0.5863 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002609/0.3971, allocations: 131.9 kB / 0.5864 GB, free: 2.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003647/0.3975, allocations: 354.9 kB / 0.5868 GB, free: 1.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001861/0.3994, allocations: 0.5884 MB / 0.5873 GB, free: 1.398 MB / 394.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) * 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.001039/0.4004, allocations: 0.5975 MB / 0.5879 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005159/0.4056, allocations: 4.808 MB / 0.5926 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4056, allocations: 3.938 kB / 0.5926 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004958/0.4106, allocations: 6.2 MB / 0.5987 GB, free: 5.438 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.4111, allocations: 118.9 kB / 0.5988 GB, free: 5.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005588/0.4167, allocations: 3.524 MB / 0.6022 GB, free: 1.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.4179, allocations: 1.495 MB / 0.6037 GB, free: 228 kB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4179, allocations: 0 / 0.6037 GB, free: 228 kB / 410.7 MB Notification: Performance of Templates: time 0.04025/0.4582, allocations: 27.84 MB / 0.6309 GB, free: 4.105 MB / 442.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