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.001327/0.001327, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.295/1.295, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0007351/0.0007352, allocations: 84.84 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.0659/0.0659, allocations: 16.72 MB / 331.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.023e-05, allocations: 4 kB / 390.9 MB, free: 65.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07264/0.07267, allocations: 51.7 MB / 442.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2703/0.343, allocations: 80.47 MB / 0.5108 GB, free: 9.023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.3432, allocations: 70.22 kB / 0.5109 GB, free: 8.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06634/0.4096, allocations: 29.72 MB / 0.5399 GB, free: 444 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4096, allocations: 0 / 0.5399 GB, free: 444 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.403e-05/0.4096, allocations: 36 kB / 0.54 GB, free: 408 kB / 346.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.002991/0.4126, allocations: 2.516 MB / 0.5424 GB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4127, allocations: 8.031 kB / 0.5424 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.4145, allocations: 476.4 kB / 0.5429 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.4162, allocations: 1.035 MB / 0.5439 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004269/0.4167, allocations: 0.5813 MB / 0.5445 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.4171, allocations: 257.8 kB / 0.5447 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.4227, allocations: 4.056 MB / 0.5487 GB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.4228, allocations: 0 / 0.5487 GB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.4231, allocations: 130.8 kB / 0.5488 GB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000219/0.4233, allocations: 160.8 kB / 0.5489 GB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004079/0.4274, allocations: 2.915 MB / 0.5518 GB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.4391, allocations: 8.503 MB / 0.5601 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.443, allocations: 3.689 MB / 0.5637 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/0.4464, allocations: 3.313 MB / 0.5669 GB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.4466, allocations: 121.9 kB / 0.567 GB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002821/0.4494, allocations: 2.099 MB / 0.5691 GB, free: 5.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 2.815e-06/0.4494, allocations: 0 / 0.5691 GB, free: 5.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.005923/0.4553, allocations: 4.045 MB / 0.573 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006775/0.456, allocations: 1.132 MB / 0.5742 GB, free: 15.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.4574, allocations: 0.8499 MB / 0.575 GB, free: 14.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002528/0.4576, allocations: 117.7 kB / 0.5751 GB, free: 14.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/0.4582, allocations: 0.7291 MB / 0.5758 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005033/0.4587, allocations: 494.1 kB / 0.5763 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4589, allocations: 63.98 kB / 0.5763 GB, free: 13.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.4591, allocations: 456.7 kB / 0.5768 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.461, allocations: 1.2 MB / 0.5779 GB, free: 11.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.4635, allocations: 2.079 MB / 0.58 GB, free: 9.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.4655, allocations: 1.971 MB / 0.5819 GB, free: 7.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.4656, allocations: 8 kB / 0.5819 GB, free: 7.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.005974/0.4716, allocations: 4.367 MB / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005222/0.4721, allocations: 0.792 MB / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003289/0.4754, allocations: 2.475 MB / 0.5894 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009895/0.4764, allocations: 372.9 kB / 0.5897 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.4775, allocations: 327.3 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009399/0.4784, allocations: 0.9463 MB / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.4801, allocations: 322 kB / 0.5913 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/0.4805, allocations: 160 kB / 0.5914 GB, free: 12.93 MB / 410.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 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.00168/0.4821, allocations: 1.412 MB / 0.5928 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/0.4826, allocations: 182.5 kB / 0.593 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006367/0.489, allocations: 4.414 MB / 0.5973 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.4891, allocations: 12 kB / 0.5973 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.4891, allocations: 4 kB / 0.5973 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4891, allocations: 7.969 kB / 0.5973 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009585/0.4987, allocations: 6.887 MB / 0.604 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005641/0.5044, allocations: 4.219 MB / 0.6081 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.5047, allocations: 83.83 kB / 0.6082 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.506, allocations: 461.2 kB / 0.6087 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/0.5062, allocations: 107.9 kB / 0.6088 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008505/0.5071, allocations: 0.9191 MB / 0.6097 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.5071, allocations: 7.938 kB / 0.6097 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009378/0.5165, allocations: 6.961 MB / 0.6165 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.5168, allocations: 207.3 kB / 0.6167 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004596/0.5172, allocations: 179.9 kB / 0.6168 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.5184, allocations: 227.8 kB / 0.6171 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009234/0.5194, allocations: 0.6056 MB / 0.6177 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002728/0.5196, allocations: 131.9 kB / 0.6178 GB, free: 1.203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006058/0.5203, allocations: 0.4952 MB / 0.6183 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.373e-06/0.5203, allocations: 0 / 0.6183 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002009/0.5223, allocations: 0.7294 MB / 0.619 GB, free: 15.98 MB / 442.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.000966/0.5233, allocations: 0.5678 MB / 0.6195 GB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006489/0.5298, allocations: 5.718 MB / 0.6251 GB, free: 9.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5298, allocations: 0 / 0.6251 GB, free: 9.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005819/0.5356, allocations: 6.787 MB / 0.6317 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/0.5363, allocations: 162.8 kB / 0.6319 GB, free: 2.215 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.5425, allocations: 3.965 MB / 0.6358 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5437, allocations: 1.545 MB / 0.6373 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008562/0.5445, allocations: 363.4 kB / 0.6376 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.5448, allocations: 99.41 kB / 0.6377 GB, free: 12.18 MB / 458.7 MB Notification: Performance of SimCode: time 4.6e-07/0.5448, allocations: 0 / 0.6377 GB, free: 12.18 MB / 458.7 MB Notification: Performance of Templates: time 0.2153/0.7601, allocations: 29.97 MB / 0.667 GB, free: 137.5 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