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 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.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.001429/0.001429, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001689/0.001689, allocations: 193.1 kB / 16.14 MB, free: 6.703 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1798/0.1798, allocations: 16.76 MB / 306.7 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 371 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2747, allocations: 53.46 MB / 424.4 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroArcWeight): time 0.003404/0.2781, allocations: 3.558 MB / 428 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004834/0.283, allocations: 3.438 MB / 431.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.284, allocations: 18.03 kB / 431.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.2846, allocations: 227 kB / 431.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007938/0.2855, allocations: 201.8 kB / 431.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.2881, allocations: 1.215 MB / 433.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.2902, allocations: 2.887 MB / 435.9 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004658/0.2907, allocations: 416.1 kB / 436.4 MB, free: 33.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.2918, allocations: 1.071 MB / 437.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007034/0.2925, allocations: 0.8599 MB / 438.3 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.2927, allocations: 108 kB / 438.4 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007394/0.2935, allocations: 475 kB / 438.9 MB, free: 32.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.2938, allocations: 408.4 kB / 439.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006387/0.2944, allocations: 0.8946 MB / 440.1 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.296, allocations: 2.333 MB / 442.5 MB, free: 30.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.296, allocations: 0 / 442.5 MB, free: 30.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.296, allocations: 0 / 442.5 MB, free: 30.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.296, allocations: 0 / 442.5 MB, free: 30.94 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.002659/0.2987, allocations: 2.907 MB / 445.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2987, allocations: 10 kB / 445.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.3003, allocations: 392.6 kB / 445.8 MB, free: 28.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009449/0.3013, allocations: 0.8369 MB / 446.6 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.3015, allocations: 411.5 kB / 447 MB, free: 27.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.3018, allocations: 208.7 kB / 447.2 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004155/0.3059, allocations: 3.486 MB / 450.7 MB, free: 26.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.306, allocations: 3.031 kB / 450.7 MB, free: 26.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.3062, allocations: 108.9 kB / 450.8 MB, free: 26.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002083/0.3064, allocations: 168.4 kB / 451 MB, free: 26.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/0.3098, allocations: 2.513 MB / 453.5 MB, free: 25.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007438/0.3173, allocations: 7.116 MB / 460.6 MB, free: 20.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.3206, allocations: 3.262 MB / 463.9 MB, free: 18.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.3234, allocations: 3.035 MB / 466.9 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.3235, allocations: 40.75 kB / 466.9 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002653/0.3262, allocations: 2.015 MB / 469 MB, free: 16.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=194): time 2.866e-06/0.3262, allocations: 0 / 469 MB, free: 16.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.008954/0.3352, allocations: 6.094 MB / 475.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004933/0.3357, allocations: 1.448 MB / 476.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.3368, allocations: 0.8341 MB / 477.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002331/0.3371, allocations: 127.7 kB / 477.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.3376, allocations: 0.5986 MB / 478.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.3379, allocations: 0.4937 MB / 478.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007271/0.3387, allocations: 0.5791 MB / 479.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.3388, allocations: 341.5 kB / 479.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.3405, allocations: 1.153 MB / 480.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.3427, allocations: 2.135 MB / 482.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004146/0.3468, allocations: 4.839 MB / 487.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.106e-05/0.3469, allocations: 8 kB / 487.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=378) (initialization): time 0.00564/0.3525, allocations: 4.598 MB / 492.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006662/0.3532, allocations: 0.9888 MB / 493.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002706/0.3559, allocations: 1.96 MB / 495.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006704/0.3566, allocations: 180.7 kB / 495.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/0.3576, allocations: 323.2 kB / 495.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005893/0.3581, allocations: 0.6965 MB / 496.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.3596, allocations: 333.1 kB / 496.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.3598, allocations: 156 kB / 496.8 MB, free: 10.2 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.002273/0.3621, allocations: 1.893 MB / 498.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/0.3625, allocations: 178.6 kB / 498.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006611/0.3692, allocations: 4.657 MB / 0.4917 GB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.3692, allocations: 15.94 kB / 0.4918 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3692, allocations: 0 / 0.4918 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.3692, allocations: 7.922 kB / 0.4918 GB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00951/0.3788, allocations: 6.849 MB / 0.4985 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006019/0.3848, allocations: 4.428 MB / 0.5028 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.3851, allocations: 63.89 kB / 0.5028 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003705/0.3855, allocations: 140.7 kB / 0.503 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002475/0.3858, allocations: 111.8 kB / 0.5031 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005157/0.3863, allocations: 0.6615 MB / 0.5037 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3863, allocations: 4.031 kB / 0.5037 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.3965, allocations: 7.39 MB / 0.5109 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.3968, allocations: 203.4 kB / 0.5111 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004952/0.3973, allocations: 199.9 kB / 0.5113 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.3983, allocations: 167.9 kB / 0.5115 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000738/0.3991, allocations: 464.2 kB / 0.5119 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/0.3993, allocations: 123.9 kB / 0.512 GB, free: 13.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005399/0.3999, allocations: 463 kB / 0.5125 GB, free: 13.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3999, allocations: 0 / 0.5125 GB, free: 13.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002209/0.4021, allocations: 0.6941 MB / 0.5132 GB, free: 12.7 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.001029/0.4031, allocations: 0.5861 MB / 0.5137 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007354/0.4105, allocations: 6.045 MB / 0.5196 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.4106, allocations: 4 kB / 0.5196 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006749/0.4173, allocations: 6.998 MB / 0.5265 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4186, allocations: 237.3 kB / 0.5267 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006956/0.4256, allocations: 4.806 MB / 0.5314 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000886/0.4265, allocations: 1.364 MB / 0.5327 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008487/0.4274, allocations: 322.2 kB / 0.533 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.4276, allocations: 95.41 kB / 0.5331 GB, free: 7.473 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4276, allocations: 0 / 0.5331 GB, free: 7.473 MB / 414.1 MB Notification: Performance of Templates: time 0.04558/0.4732, allocations: 27.68 MB / 0.5602 GB, free: 11.59 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