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: "" <> buildModelFMU(PNlib.Examples.ExtTest.TAwithWeaklyActivation,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TAwithWeaklyActivation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TAwithWeaklyActivation,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TAwithWeaklyActivation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 175.1 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.443/1.443, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.0008481/0.0008487, allocations: 90.58 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.07198/0.07198, allocations: 16.71 MB / 331.4 MB, free: 8.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.92e-05, allocations: 4 kB / 391 MB, free: 65.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08701/0.08705, allocations: 51.69 MB / 442.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3351/0.4222, allocations: 80.47 MB / 0.5109 GB, free: 8.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001448/0.4224, allocations: 73.02 kB / 0.511 GB, free: 8.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07045/0.4928, allocations: 29.71 MB / 0.54 GB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4929, allocations: 0 / 0.54 GB, free: 376 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.204e-05/0.493, allocations: 36 kB / 0.54 GB, free: 340 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.00359/0.4966, allocations: 2.52 MB / 0.5425 GB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4966, allocations: 8.031 kB / 0.5425 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006614/0.4973, allocations: 382.2 kB / 0.5429 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.4994, allocations: 480.8 kB / 0.5433 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.5015, allocations: 1.03 MB / 0.5443 GB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004991/0.502, allocations: 0.5823 MB / 0.5449 GB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004495/0.5025, allocations: 252 kB / 0.5452 GB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007249/0.5097, allocations: 4.051 MB / 0.5491 GB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.5098, allocations: 11.94 kB / 0.5491 GB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003429/0.5101, allocations: 131.3 kB / 0.5492 GB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002655/0.5104, allocations: 160.7 kB / 0.5494 GB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005029/0.5155, allocations: 2.911 MB / 0.5522 GB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.5286, allocations: 8.513 MB / 0.5606 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/0.5328, allocations: 3.693 MB / 0.5642 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003557/0.5364, allocations: 3.298 MB / 0.5674 GB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.5366, allocations: 133.8 kB / 0.5675 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003093/0.5397, allocations: 2.091 MB / 0.5696 GB, free: 4.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 2.875e-06/0.5397, allocations: 0 / 0.5696 GB, free: 4.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.006318/0.5461, allocations: 4.044 MB / 0.5735 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007326/0.5468, allocations: 1.128 MB / 0.5746 GB, free: 15.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.5482, allocations: 0.85 MB / 0.5754 GB, free: 14.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002434/0.5484, allocations: 117.7 kB / 0.5755 GB, free: 14.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/0.549, allocations: 0.733 MB / 0.5763 GB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.5494, allocations: 490.1 kB / 0.5767 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.5496, allocations: 67.98 kB / 0.5768 GB, free: 12.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.5498, allocations: 452.7 kB / 0.5772 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.5518, allocations: 1.208 MB / 0.5784 GB, free: 11.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.5543, allocations: 2.071 MB / 0.5804 GB, free: 8.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.5567, allocations: 1.967 MB / 0.5823 GB, free: 6.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/0.5567, allocations: 8 kB / 0.5824 GB, free: 6.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006636/0.5634, allocations: 4.379 MB / 0.5866 GB, free: 2.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006177/0.564, allocations: 0.792 MB / 0.5874 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003642/0.5677, allocations: 2.475 MB / 0.5898 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.5687, allocations: 368.5 kB / 0.5902 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.5697, allocations: 327.2 kB / 0.5905 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.5708, allocations: 0.9463 MB / 0.5914 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.5725, allocations: 322 kB / 0.5917 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003227/0.5729, allocations: 168 kB / 0.5919 GB, free: 12.49 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.001929/0.5748, allocations: 1.389 MB / 0.5932 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/0.5753, allocations: 182.5 kB / 0.5934 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006659/0.582, allocations: 4.421 MB / 0.5977 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.5821, allocations: 12 kB / 0.5977 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5821, allocations: 3.984 kB / 0.5977 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.5821, allocations: 3.984 kB / 0.5977 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.5929, allocations: 6.899 MB / 0.6045 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006324/0.5992, allocations: 4.211 MB / 0.6086 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.5996, allocations: 87.89 kB / 0.6087 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.6009, allocations: 453.2 kB / 0.6091 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003246/0.6013, allocations: 119.9 kB / 0.6092 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009765/0.6023, allocations: 0.9191 MB / 0.6101 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6023, allocations: 0 / 0.6101 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.6132, allocations: 6.969 MB / 0.6169 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.6136, allocations: 199.3 kB / 0.6171 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000547/0.6142, allocations: 192 kB / 0.6173 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.6155, allocations: 219.8 kB / 0.6175 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001071/0.6166, allocations: 0.6056 MB / 0.6181 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003152/0.6169, allocations: 127.9 kB / 0.6182 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006928/0.6176, allocations: 0.4991 MB / 0.6187 GB, free: 284 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6176, allocations: 3.938 kB / 0.6187 GB, free: 280 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.002526/0.6201, allocations: 0.7255 MB / 0.6194 GB, free: 15.55 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.01245/0.6326, allocations: 8.18 MB / 0.6274 GB, free: 7.215 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008486/0.6411, allocations: 5.715 MB / 0.633 GB, free: 1.219 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.6412, allocations: 4.188 kB / 0.633 GB, free: 1.215 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007377/0.6486, allocations: 6.783 MB / 0.6396 GB, free: 10.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/0.6495, allocations: 162.6 kB / 0.6398 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009104/0.6586, allocations: 4.517 MB / 0.6442 GB, free: 5.457 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.6599, allocations: 1.545 MB / 0.6457 GB, free: 3.879 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009437/0.6608, allocations: 379.3 kB / 0.6461 GB, free: 3.504 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/0.6616, allocations: 0.6047 MB / 0.6466 GB, free: 2.902 MB / 458.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6616, allocations: 0 / 0.6466 GB, free: 2.902 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2538/0.9154, allocations: 43.64 MB / 0.6893 GB, free: 133.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.9156, allocations: 199.6 kB / 0.6895 GB, free: 133.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.559/4.474, allocations: 0 / 0.6895 GB, free: 133.4 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TAwithWeaklyActivation_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TAwithWeaklyActivation.fmu > PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.mat does not exist to compare? outputFormat=mat