Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.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.ExtTest.TAwithWeaklyActivation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation") translateModel(PNlib.Examples.ExtTest.TAwithWeaklyActivation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 175.4 kB / 7.648 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.3 MB / 213.4 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007692/0.0007691, allocations: 82.7 kB / 261.4 MB, free: 1.625 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.064/0.064, allocations: 16.72 MB / 326.1 MB, free: 11.07 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.615e-05, allocations: 0 / 384 MB, free: 1.051 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2476, allocations: 51.7 MB / 435.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3549, allocations: 79.8 MB / 0.5034 GB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.3552, allocations: 75.97 kB / 0.5035 GB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3017/0.657, allocations: 29.5 MB / 0.5323 GB, free: 77.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.657, allocations: 0 / 0.5323 GB, free: 77.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.645e-05/0.6571, allocations: 43.19 kB / 0.5323 GB, free: 77.29 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 594 * Number of variables: 594 Notification: Performance of Generate backend data structure: time 0.003174/0.6602, allocations: 2.514 MB / 0.5348 GB, free: 75.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6603, allocations: 11.31 kB / 0.5348 GB, free: 75.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.6622, allocations: 471.8 kB / 0.5352 GB, free: 75.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.6637, allocations: 1.031 MB / 0.5362 GB, free: 74.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.664, allocations: 0.5089 MB / 0.5367 GB, free: 73.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.6644, allocations: 182.5 kB / 0.5369 GB, free: 73.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00364/0.668, allocations: 2.8 MB / 0.5397 GB, free: 70.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004674/0.6727, allocations: 3.724 MB / 0.5433 GB, free: 67.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.6728, allocations: 15.84 kB / 0.5433 GB, free: 67.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.673, allocations: 39.98 kB / 0.5433 GB, free: 67.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/0.6733, allocations: 167.6 kB / 0.5435 GB, free: 66.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009246/0.6825, allocations: 8.055 MB / 0.5514 GB, free: 58.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/0.6854, allocations: 3.609 MB / 0.5549 GB, free: 54.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/0.6878, allocations: 3.22 MB / 0.558 GB, free: 51.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.688, allocations: 129.9 kB / 0.5582 GB, free: 51.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/0.6902, allocations: 2.015 MB / 0.5601 GB, free: 49.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=185): time 2.896e-06/0.6902, allocations: 0 / 0.5601 GB, free: 49.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=185): time 0.004815/0.6951, allocations: 3.146 MB / 0.5632 GB, free: 46.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004395/0.6955, allocations: 1.128 MB / 0.5643 GB, free: 45.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009686/0.6965, allocations: 0.7126 MB / 0.565 GB, free: 44.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.6967, allocations: 93.67 kB / 0.5651 GB, free: 44.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.6971, allocations: 0.7328 MB / 0.5658 GB, free: 43.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.6975, allocations: 478.2 kB / 0.5663 GB, free: 43.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.6976, allocations: 20 kB / 0.5663 GB, free: 43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6978, allocations: 444.7 kB / 0.5667 GB, free: 42.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.6991, allocations: 1.133 MB / 0.5678 GB, free: 41.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.7009, allocations: 1.993 MB / 0.5698 GB, free: 39.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.7024, allocations: 1.146 MB / 0.5709 GB, free: 37.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.7024, allocations: 8 kB / 0.5709 GB, free: 37.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00435/0.7068, allocations: 3.305 MB / 0.5741 GB, free: 34.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003551/0.7072, allocations: 0.7959 MB / 0.5749 GB, free: 33.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002359/0.7095, allocations: 1.882 MB / 0.5767 GB, free: 31.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008809/0.7104, allocations: 365.8 kB / 0.5771 GB, free: 31.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008941/0.7113, allocations: 323.2 kB / 0.5774 GB, free: 31.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007913/0.7121, allocations: 0.9854 MB / 0.5783 GB, free: 30.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.7135, allocations: 270 kB / 0.5786 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.7137, allocations: 160 kB / 0.5788 GB, free: 29.64 MB / 362.7 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableIn.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 P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real 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 P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T1.speedSumOut[1]:VARIABLE(protected = true ) "Output speeds of continuous output places" type: Real [1] T2.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] P2.decFactorIn[1]:VARIABLE(protected = true ) "decreasing factors for input transitions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 280 ($PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$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.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.disTAin[1],P2.enableIn.disTAin[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[2],P1.enableOut.cumEnablingProb[2],$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[2],P1.enableOut.remTAout[2],$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[2],P1.enableOut.disTAout[2],$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$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.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$whenCondition6,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$whenCondition5,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,T2.inPlaces[1].tokenInOut,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$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.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$whenCondition1,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P1.outTransition[1].tint,P1.outTransition[1].minTokensint,T2.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[2].tint,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,P1.outTransition[2].minTokensint,T3.inPlaces[1].disTransition,P1.outTransition[2].disPlace,P1.outTransition[2].arcType,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T3.firingCon,T2.firingCon,T1.firingCon,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[2],P1.enableOut.enablingPrio[1],P1.enableIn.enablingPrio[1],P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[2],P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition2,$whenCondition3,$whenCondition4,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[2],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T2.activation.arcType[1],T2.activation.fed[1],T2.activation.emptied[1],T2.activation.normalArc[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.fire_,T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.NoTokens,T3.fire_,P1.outTransition[1].arcWeightint,T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.testValueInt[1],P2.delayPassedIn.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],T1.fire_,TA1.outTransition.arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (306): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 23 * Record equations: 0 * 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 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.001415/0.7152, allocations: 1.343 MB / 0.5801 GB, free: 28.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.7156, allocations: 178.6 kB / 0.5802 GB, free: 28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/0.7204, allocations: 3.428 MB / 0.5836 GB, free: 24.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.7205, allocations: 12 kB / 0.5836 GB, free: 24.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.7205, allocations: 0 / 0.5836 GB, free: 24.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.7205, allocations: 7.922 kB / 0.5836 GB, free: 24.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007403/0.7279, allocations: 5.604 MB / 0.5891 GB, free: 18.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004236/0.7322, allocations: 3.257 MB / 0.5923 GB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.7325, allocations: 83.88 kB / 0.5923 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.7336, allocations: 453.2 kB / 0.5928 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002891/0.7339, allocations: 99.94 kB / 0.5929 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008288/0.7347, allocations: 0.9619 MB / 0.5938 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.7347, allocations: 4.031 kB / 0.5938 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00736/0.7421, allocations: 5.818 MB / 0.5995 GB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.7424, allocations: 195.4 kB / 0.5997 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/0.7428, allocations: 163.9 kB / 0.5998 GB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.744, allocations: 207.9 kB / 0.6 GB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008191/0.7448, allocations: 0.6055 MB / 0.6006 GB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002451/0.745, allocations: 131.9 kB / 0.6007 GB, free: 6.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003745/0.7454, allocations: 387.1 kB / 0.6011 GB, free: 6.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7454, allocations: 0 / 0.6011 GB, free: 6.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002124/0.7476, allocations: 0.6668 MB / 0.6018 GB, free: 5.781 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 141 ($whenCondition1,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],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.disMarksInOut,$cse3[1],$cse5[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[2].tokenInOut,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],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,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T2.activation.arcType[1],T2.activation.fed[1],T2.activation.emptied[1],T2.activation.normalArc[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.fire_,T2.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.NoTokens,T3.fire_) * Number of discrete states: 117 (P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.fireIn[1],P1.fireOut[2],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition4,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition3,P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 58 * Array equations: 2 * Algorithm blocks: 19 * Record equations: 0 * 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 {3 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008993/0.7485, allocations: 0.5576 MB / 0.6023 GB, free: 5.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005068/0.7535, allocations: 5.503 MB / 0.6077 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7536, allocations: 0 / 0.6077 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00559/0.7592, allocations: 6.691 MB / 0.6142 GB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006657/0.7598, allocations: 119.3 kB / 0.6143 GB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006205/0.7661, allocations: 3.837 MB / 0.6181 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.7672, allocations: 1.548 MB / 0.6196 GB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008777/0.7681, allocations: 354.7 kB / 0.6199 GB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.7683, allocations: 87.41 kB / 0.62 GB, free: 2.492 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.7683, allocations: 0 / 0.62 GB, free: 2.492 MB / 378.7 MB Notification: Performance of Templates: time 0.04621/0.8145, allocations: 28.89 MB / 0.6482 GB, free: 5.266 MB / 410.7 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.sim & ./PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TAwithWeaklyActivation.mat","../files/PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches