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.006109/0.006109, allocations: 170.2 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 221.2 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008194/0.0008193, allocations: 86.88 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.0634/0.0634, allocations: 16.89 MB / 334.7 MB, free: 5.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 9.984 kB / 396.9 MB, free: 46.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09513/0.09548, allocations: 51.69 MB / 448.6 MB, free: 244 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4563, allocations: 80.55 MB / 0.5168 GB, free: 25.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.4567, allocations: 71.94 kB / 0.5168 GB, free: 25.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0745/0.5312, allocations: 29.85 MB / 0.546 GB, free: 23.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.5313, allocations: 3.938 kB / 0.546 GB, free: 23.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.734e-05/0.5313, allocations: 42.81 kB / 0.546 GB, free: 23.53 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.005096/0.5364, allocations: 2.575 MB / 0.5485 GB, free: 21.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.5365, allocations: 9.344 kB / 0.5485 GB, free: 21.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.5389, allocations: 479.5 kB / 0.549 GB, free: 21.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.541, allocations: 1.027 MB / 0.55 GB, free: 21.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003886/0.5414, allocations: 0.5786 MB / 0.5506 GB, free: 20.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003847/0.5418, allocations: 257.2 kB / 0.5508 GB, free: 20.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006142/0.548, allocations: 4.152 MB / 0.5549 GB, free: 19.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.548, allocations: 11.84 kB / 0.5549 GB, free: 19.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.5483, allocations: 123.1 kB / 0.555 GB, free: 19.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/0.5486, allocations: 162.3 kB / 0.5552 GB, free: 19.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004715/0.5533, allocations: 3.068 MB / 0.5582 GB, free: 18.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.5657, allocations: 8.521 MB / 0.5665 GB, free: 29.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.5695, allocations: 3.853 MB / 0.5702 GB, free: 29.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.5698, allocations: 128.7 kB / 0.5704 GB, free: 29.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003011/0.5728, allocations: 2.178 MB / 0.5725 GB, free: 28.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 3.286e-06/0.5728, allocations: 0 / 0.5725 GB, free: 28.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.009478/0.5823, allocations: 7.466 MB / 0.5798 GB, free: 25.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00065/0.583, allocations: 1.135 MB / 0.5809 GB, free: 24.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.5844, allocations: 0.8544 MB / 0.5817 GB, free: 23.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002775/0.5847, allocations: 124.5 kB / 0.5818 GB, free: 23.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005655/0.5853, allocations: 0.7112 MB / 0.5825 GB, free: 22.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004282/0.5857, allocations: 499.6 kB / 0.583 GB, free: 22.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.5859, allocations: 63.34 kB / 0.5831 GB, free: 22.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002605/0.5862, allocations: 455.8 kB / 0.5835 GB, free: 22.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.5881, allocations: 1.278 MB / 0.5848 GB, free: 21.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.5903, allocations: 2.15 MB / 0.5869 GB, free: 19.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.5924, allocations: 2.046 MB / 0.5889 GB, free: 18.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.5925, allocations: 7.812 kB / 0.5889 GB, free: 18.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006268/0.5988, allocations: 4.515 MB / 0.5933 GB, free: 15.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005229/0.5993, allocations: 0.7967 MB / 0.594 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003514/0.6028, allocations: 2.611 MB / 0.5966 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009922/0.6038, allocations: 370.2 kB / 0.5969 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.6048, allocations: 329.9 kB / 0.5973 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009892/0.6058, allocations: 0.9532 MB / 0.5982 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.6075, allocations: 324.2 kB / 0.5985 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/0.6078, allocations: 164.7 kB / 0.5987 GB, free: 12.14 MB / 378.7 MB Warning: Assuming fixed start value for the following 36 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.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 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.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.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.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer 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 () * Number of clocked 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.002666/0.6105, allocations: 1.747 MB / 0.6004 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005268/0.611, allocations: 181.2 kB / 0.6005 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007376/0.6184, allocations: 4.565 MB / 0.605 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/0.6185, allocations: 15.98 kB / 0.605 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.6185, allocations: 0 / 0.605 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.6185, allocations: 3.984 kB / 0.605 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.6312, allocations: 7.048 MB / 0.6119 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007053/0.6383, allocations: 4.364 MB / 0.6162 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.6387, allocations: 95.81 kB / 0.6163 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.6401, allocations: 457.2 kB / 0.6167 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004295/0.6405, allocations: 107.9 kB / 0.6168 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.6416, allocations: 0.9268 MB / 0.6177 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6416, allocations: 0 / 0.6177 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/0.66, allocations: 7.195 MB / 0.6247 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006373/0.6607, allocations: 211.3 kB / 0.6249 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/0.6621, allocations: 179.9 kB / 0.6251 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/0.6649, allocations: 227.8 kB / 0.6253 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002014/0.6669, allocations: 0.598 MB / 0.6259 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007786/0.6677, allocations: 139.9 kB / 0.626 GB, free: 92 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001618/0.6694, allocations: 0.503 MB / 0.6265 GB, free: 15.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6694, allocations: 0 / 0.6265 GB, free: 15.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00534/0.6748, allocations: 0.7294 MB / 0.6272 GB, free: 14.85 MB / 410.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) * Number of clocked states: 0 () * 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.002469/0.6772, allocations: 0.5664 MB / 0.6278 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0155/0.6928, allocations: 5.879 MB / 0.6335 GB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.6928, allocations: 0 / 0.6335 GB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01246/0.7053, allocations: 6.862 MB / 0.6402 GB, free: 1.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.7067, allocations: 158.2 kB / 0.6404 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0089/0.7156, allocations: 5.096 MB / 0.6454 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.7169, allocations: 1.541 MB / 0.6469 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009553/0.7179, allocations: 375.3 kB / 0.6472 GB, free: 9.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.7181, allocations: 95.42 kB / 0.6473 GB, free: 9.691 MB / 426.7 MB Notification: Performance of SimCode: time 1.163e-06/0.7181, allocations: 0 / 0.6473 GB, free: 9.691 MB / 426.7 MB Notification: Performance of Templates: time 0.04996/0.7681, allocations: 30.07 MB / 0.6767 GB, free: 11.28 MB / 458.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