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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007161/0.0007162, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004644/0.004644, allocations: 172.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2038/0.2038, allocations: 16.72 MB / 308.2 MB, free: 15.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 11.98 kB / 373.4 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.331, allocations: 54.47 MB / 427.9 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroArcWeight): time 0.003419/0.3344, allocations: 3.147 MB / 431 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.3398, allocations: 3.397 MB / 434.4 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006396/0.3404, allocations: 12.56 kB / 434.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.3409, allocations: 223.7 kB / 434.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000687/0.3416, allocations: 212.3 kB / 434.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.3438, allocations: 1.207 MB / 436.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.3461, allocations: 2.893 MB / 439 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.3466, allocations: 410.9 kB / 439.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.3479, allocations: 1.009 MB / 440.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008663/0.3487, allocations: 0.7941 MB / 441.2 MB, free: 33.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.349, allocations: 86.22 kB / 441.2 MB, free: 33.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007764/0.3498, allocations: 452.7 kB / 441.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.3501, allocations: 372.6 kB / 442.1 MB, free: 32.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006912/0.3508, allocations: 0.8727 MB / 442.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.3525, allocations: 2.271 MB / 445.2 MB, free: 31.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3525, allocations: 0 / 445.2 MB, free: 31.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3525, allocations: 0 / 445.2 MB, free: 31.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.3525, allocations: 0 / 445.2 MB, free: 31.73 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.00257/0.3551, allocations: 2.515 MB / 447.7 MB, free: 29.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3552, allocations: 10.06 kB / 447.7 MB, free: 29.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.3568, allocations: 395.9 kB / 448.1 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.3583, allocations: 0.8389 MB / 448.9 MB, free: 29.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/0.3587, allocations: 408.5 kB / 449.3 MB, free: 28.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.3591, allocations: 212.2 kB / 449.6 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004594/0.3637, allocations: 3.502 MB / 453.1 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.3637, allocations: 7.938 kB / 453.1 MB, free: 27.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.3639, allocations: 98.47 kB / 453.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/0.3641, allocations: 169 kB / 453.3 MB, free: 27.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/0.3678, allocations: 2.543 MB / 455.9 MB, free: 26.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008175/0.376, allocations: 7.1 MB / 463 MB, free: 21.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.3798, allocations: 3.298 MB / 466.3 MB, free: 19.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/0.3829, allocations: 3.049 MB / 469.3 MB, free: 18.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.3831, allocations: 42.86 kB / 469.4 MB, free: 18.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003094/0.3862, allocations: 2.025 MB / 471.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=194): time 3.446e-06/0.3862, allocations: 1.375 kB / 471.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.01033/0.3965, allocations: 6.176 MB / 477.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006317/0.3972, allocations: 1.452 MB / 479 MB, free: 13.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.3985, allocations: 0.8382 MB / 479.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.3987, allocations: 132.3 kB / 480 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.3992, allocations: 0.5876 MB / 480.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004343/0.3996, allocations: 0.4964 MB / 481.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004688/0.4001, allocations: 355.2 kB / 481.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.4002, allocations: 338.3 kB / 481.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.4022, allocations: 1.168 MB / 482.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.4043, allocations: 2.154 MB / 485.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/0.4086, allocations: 4.849 MB / 489.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.373e-05/0.4086, allocations: 8 kB / 489.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=378) (initialization): time 0.005226/0.4139, allocations: 4.633 MB / 494.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005865/0.4145, allocations: 0.985 MB / 495.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002844/0.4173, allocations: 1.987 MB / 497.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/0.4181, allocations: 216.6 kB / 497.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/0.4191, allocations: 323.2 kB / 498.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006375/0.4197, allocations: 0.7005 MB / 498.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.4213, allocations: 349.2 kB / 499.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.4215, allocations: 152 kB / 499.2 MB, free: 10.73 MB / 366.1 MB Warning: Assuming fixed start value for the following 54 variables: P3.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 309 ($PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,P3.enableOut.randNum,$PRE.P3.enableOut.randNum,P3.enableOut.state128[4],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[1],$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,$whenCondition9,$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,P3.enableIn.randNum,$PRE.P3.enableIn.randNum,P3.enableIn.state128[4],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[1],P3.enableIn.cumEnablingProb[1],$PRE.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,P3.enableIn.remTAin[1],$PRE.P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,P3.enableIn.disTAin[1],$PRE.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,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],P2.enableOut.cumEnablingProb[1],$PRE.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,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$PRE.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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P2.disMarksInOut,P2.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P3.disMarksIn.anytrue,$PRE.P3.disMarksOut.anytrue,P3.disMarksInOut,$whenCondition8,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition7,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition6,P3.disMarksOut.numtrue,P3.disMarksOut.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],$PRE.P1.fireOut[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,$whenCondition2,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P3.inTransition[1].disPlace,P3.inTransition[1].maxTokensint,P3.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P3.reStart,T1.firingCon,T1.inPlaces[2].disTransition,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P3.disMarksIn.vec[1],P3.disMarksIn.numtrue,P3.disMarksIn.anytrue,P1.delayPassedOut.vec[1],P2.delayPassedOut.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntOut[1],P3.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[2],T1.activation.testValueInt[2],T1.activation.arcType[2],T1.activation.disPlaceIn[2],T1.activation.minTokensInt[2],T1.activation.tIntIn[2],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P3.emptying.numtrue,P3.emptying.anytrue,P3.feeding.numtrue,P3.feeding.anytrue,P3.feeding.vec[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.enableIn.TEin[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.fireIn[1],$PRE.P3.fireIn[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[1],T1.activation.fed[2],T1.activation.fed[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.emptying.vec[1],P2.feeding.numtrue,P2.feeding.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.fireOut[1],$PRE.P2.fireOut[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$whenCondition5,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 31 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002416/0.4239, allocations: 1.897 MB / 0.4894 GB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004044/0.4243, allocations: 182.5 kB / 0.4896 GB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00711/0.4314, allocations: 4.688 MB / 0.4941 GB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/0.4315, allocations: 8 kB / 0.4942 GB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.4315, allocations: 4 kB / 0.4942 GB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4315, allocations: 7.922 kB / 0.4942 GB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.4418, allocations: 6.884 MB / 0.5009 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006279/0.4481, allocations: 4.451 MB / 0.5052 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.4484, allocations: 75.88 kB / 0.5053 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/0.4489, allocations: 148.7 kB / 0.5054 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/0.4492, allocations: 111.9 kB / 0.5056 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005719/0.4498, allocations: 0.6615 MB / 0.5062 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4498, allocations: 4.031 kB / 0.5062 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.4608, allocations: 7.419 MB / 0.5134 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.4611, allocations: 203.4 kB / 0.5136 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/0.4617, allocations: 203.9 kB / 0.5138 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.4628, allocations: 191.9 kB / 0.514 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007341/0.4635, allocations: 472.1 kB / 0.5145 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/0.4638, allocations: 119.9 kB / 0.5146 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006186/0.4644, allocations: 463 kB / 0.515 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4644, allocations: 7.938 kB / 0.515 GB, free: 13.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002496/0.4669, allocations: 0.6902 MB / 0.5157 GB, free: 13.05 MB / 398.1 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,P3.disMarksInOut,$cse3[1],$cse3[2],$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,P1.outTransition[1].tokenInOut,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,P2.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,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,$whenCondition9,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) * Number of discrete states: 148 (P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.enableOut.Index,P3.enableOut.endWhile,P3.enableOut.sumEnablingProbTAout,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.nTAout,P3.enableOut.nremTAout,P3.enableOut.arcWeightSum,$whenCondition9,P2.disMarksInOut,P1.disMarksInOut,P3.fireIn[1],P3.disMarksOut.anytrue,P3.disMarksIn.anytrue,P2.fireOut[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireOut[1],P1.disMarksOut.anytrue,P1.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.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,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],$whenCondition5,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],$whenCondition4,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],$whenCondition3,P1.enableOut.TEout[1],P3.disMarkChange,P2.disMarkChange,P1.disMarkChange,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.Index,P2.enableIn.endWhile,P2.enableIn.sumEnablingProbTAin,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.arcWeightSum,$whenCondition2,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 25 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.4681, allocations: 0.5899 MB / 0.5163 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007874/0.476, allocations: 6.068 MB / 0.5222 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.476, allocations: 0 / 0.5222 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006874/0.4829, allocations: 7.012 MB / 0.5291 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.4843, allocations: 235.7 kB / 0.5293 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.4916, allocations: 4.839 MB / 0.534 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.4927, allocations: 1.36 MB / 0.5353 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009284/0.4936, allocations: 322.2 kB / 0.5356 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.4938, allocations: 87.41 kB / 0.5357 GB, free: 7.777 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4938, allocations: 8 kB / 0.5357 GB, free: 7.77 MB / 414.1 MB Notification: Performance of Templates: time 0.05004/0.5439, allocations: 27.57 MB / 0.5627 GB, free: 11.99 MB / 446.1 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