Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TATest.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.TATest,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.TATest") translateModel(PNlib.Examples.ExtTest.TATest,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.TATest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 173.5 kB / 7.642 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0007776/0.0007775, allocations: 87.17 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06869/0.06869, allocations: 16.73 MB / 326.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.689e-05, allocations: 4 kB / 384 MB, free: 70.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 51.7 MB / 435.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.4883, allocations: 79.81 MB / 0.5034 GB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4886, allocations: 62.95 kB / 0.5035 GB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07682/0.5654, allocations: 33.41 MB / 0.5361 GB, free: 5.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5655, allocations: 0 / 0.5361 GB, free: 5.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.013e-05/0.5655, allocations: 47.94 kB / 0.5361 GB, free: 5.715 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.00413/0.5697, allocations: 2.835 MB / 0.5389 GB, free: 3.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5697, allocations: 8.031 kB / 0.5389 GB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.572, allocations: 0.5463 MB / 0.5394 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.5742, allocations: 1.22 MB / 0.5406 GB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006089/0.5749, allocations: 0.678 MB / 0.5413 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/0.5754, allocations: 219.9 kB / 0.5415 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005479/0.5808, allocations: 3.565 MB / 0.545 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008541/0.5894, allocations: 4.648 MB / 0.5495 GB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.5895, allocations: 7.938 kB / 0.5495 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003511/0.5899, allocations: 52 kB / 0.5496 GB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003381/0.5902, allocations: 212.6 kB / 0.5498 GB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/0.6079, allocations: 9.629 MB / 0.5592 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006038/0.614, allocations: 4.632 MB / 0.5637 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004801/0.6189, allocations: 4.129 MB / 0.5677 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.6191, allocations: 114.4 kB / 0.5679 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003952/0.6231, allocations: 2.476 MB / 0.5703 GB, free: 4.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=207): time 2.686e-06/0.6231, allocations: 0 / 0.5703 GB, free: 4.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=207): time 0.006761/0.6299, allocations: 3.754 MB / 0.5739 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008886/0.6308, allocations: 1.205 MB / 0.5751 GB, free: 15.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.6322, allocations: 0.8489 MB / 0.5759 GB, free: 14.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002372/0.6324, allocations: 97.67 kB / 0.576 GB, free: 14.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007638/0.6332, allocations: 0.9077 MB / 0.5769 GB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005316/0.6337, allocations: 0.5162 MB / 0.5774 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.6339, allocations: 20 kB / 0.5774 GB, free: 12.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.6341, allocations: 473.6 kB / 0.5779 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.6361, allocations: 1.388 MB / 0.5792 GB, free: 11.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/0.6388, allocations: 2.362 MB / 0.5816 GB, free: 8.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.6408, allocations: 1.339 MB / 0.5829 GB, free: 6.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/0.6409, allocations: 12 kB / 0.5829 GB, free: 6.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.006054/0.6469, allocations: 3.876 MB / 0.5867 GB, free: 3.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005456/0.6475, allocations: 0.8037 MB / 0.5874 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00355/0.6511, allocations: 2.329 MB / 0.5897 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.6524, allocations: 476.2 kB / 0.5902 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.6537, allocations: 379.1 kB / 0.5905 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.6551, allocations: 1.18 MB / 0.5917 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.6569, allocations: 293.9 kB / 0.592 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003174/0.6572, allocations: 184 kB / 0.5921 GB, free: 13.25 MB / 410.7 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T3.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [2] T3.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real T1.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] P2.prelimSpeedIn[1]:VARIABLE(protected = true ) "preliminary speed of input transitions" type: Real [1] T2.speedSumOut[1]:VARIABLE(protected = true ) "Output speeds of continuous output places" type: Real [1] P1.prelimSpeedOut[2]:VARIABLE(protected = true ) "preliminary speed of output transitions" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 319 ($PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$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.cumEnablingProb[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.remTAout[1],P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.disTAout[1],P2.enableOut.disTAout[1],$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,$PRE.P2.disMarksInOut,T3.inPlaces[1].tokenInOut,$whenCondition5,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,T1.inPlaces[1].tokenInOut,P1.outTransition[2].tint,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,P1.outTransition[2].minTokensint,T3.inPlaces[2].disTransition,P1.outTransition[2].disPlace,P1.outTransition[2].arcType,P2.outTransition[1].tint,P2.outTransition[1].minTokensint,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].minTokensint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T3.firingCon,T2.firingCon,T1.firingCon,P2.enableOut.enablingPrio[1],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.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksOut.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition1,$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],$PRE.P2.fireOut[1],P2.fireOut[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.enableOut.TAout[1],P2.enableOut.TEout_[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],TA2.testColor[1],TA2.testColor[2],TA2.testColor[3],T1.activation.arcType[1],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.normalArc[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.arcType[1],T3.activation.fed[1],T3.activation.fed[2],T3.activation.normalArc[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyInputActiveVec[2],T3.activation.NoTokens,T3.fire_,P1.outTransition[1].arcWeightint,P2.outTransition[1].arcWeightint,T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T3.activation.arcType[2],T3.activation.disPlaceIn[2],T3.activation.minTokensInt[2],T3.activation.normalArc[2],T3.activation.testValueInt[2],T3.activation.tIntIn[2],T3.activation.arcWeightIntIn[2],T3.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T3.activation.testValueInt[1],T1.activation.testValueInt[1],P2.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],T2.fire_,TA1.outTransition.arcType,TA2.outTransition.arcType,P2.outTransition[1].testValueint,P2.outTransition[1].normalArc,P2.outTransition[1].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 (351): * Single equations (assignments): 327 * 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 {6 15} Notification: Performance of prepare postOptimizeDAE: time 0.002006/0.6593, allocations: 1.447 MB / 0.5936 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005372/0.6598, allocations: 190.5 kB / 0.5937 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006961/0.6668, allocations: 4.248 MB / 0.5979 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.6668, allocations: 12 kB / 0.5979 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.6668, allocations: 11.95 kB / 0.5979 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.6669, allocations: 7.969 kB / 0.5979 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009528/0.6764, allocations: 6.121 MB / 0.6039 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006285/0.6827, allocations: 4.027 MB / 0.6078 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.6832, allocations: 103.8 kB / 0.6079 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.6845, allocations: 0.5557 MB / 0.6085 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/0.6848, allocations: 111.9 kB / 0.6086 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.6862, allocations: 1.138 MB / 0.6097 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6862, allocations: 0 / 0.6097 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.6976, allocations: 7.134 MB / 0.6167 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.6979, allocations: 211.2 kB / 0.6169 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006011/0.6985, allocations: 187.9 kB / 0.617 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.7, allocations: 239.8 kB / 0.6173 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/0.7012, allocations: 0.7306 MB / 0.618 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003406/0.7015, allocations: 155.4 kB / 0.6181 GB, free: 2.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005795/0.7021, allocations: 443.1 kB / 0.6185 GB, free: 2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7021, allocations: 0 / 0.6185 GB, free: 2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002758/0.7049, allocations: 0.768 MB / 0.6193 GB, free: 1.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 158 ($cse1[1],$cse5[1],$cse5[2],$whenCondition6,$whenCondition5,$whenCondition1,$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.disMarksInOut,P2.fireIn[1],P2.fireOut[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.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.disTAout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.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.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],TA2.testColor[1],TA2.testColor[2],TA2.testColor[3],T1.activation.arcType[1],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.normalArc[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T1.inPlaces[1].tokenInOut,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.arcType[1],T3.activation.fed[1],T3.activation.fed[2],T3.activation.normalArc[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyInputActiveVec[2],T3.activation.NoTokens,T3.fire_,T3.inPlaces[1].tokenInOut) * Number of discrete states: 125 (P2.fireIn[1],P2.fireOut[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P2.disMarksInOut,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P1.fireIn[1],P1.fireOut[2],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.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],$whenCondition3,P2.enableIn.TEin[1],T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P2.enableOut.TEout_[1],P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$whenCondition4,P2.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.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],$whenCondition2,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],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 70 * 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 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/0.7061, allocations: 0.5829 MB / 0.6199 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008199/0.7143, allocations: 6.521 MB / 0.6262 GB, free: 9.844 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7144, allocations: 0 / 0.6262 GB, free: 9.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008634/0.723, allocations: 8.055 MB / 0.6341 GB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.7243, allocations: 148.5 kB / 0.6342 GB, free: 1.406 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.7346, allocations: 4.806 MB / 0.6389 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/0.7367, allocations: 1.734 MB / 0.6406 GB, free: 10.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001315/0.7381, allocations: 436.1 kB / 0.641 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.7384, allocations: 103.4 kB / 0.6411 GB, free: 10.26 MB / 458.7 MB Notification: Performance of SimCode: time 1.432e-06/0.7384, allocations: 0 / 0.6411 GB, free: 10.26 MB / 458.7 MB Notification: Performance of Templates: time 0.2573/0.9957, allocations: 32.92 MB / 0.6733 GB, free: 137.9 MB / 458.7 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TATest.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TATest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TATest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TATest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TATest.sim & ./PNlib_PNlib.Examples.ExtTest.TATest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TATest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TATest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TATest.mat","../files/PNlib_PNlib.Examples.ExtTest.TATest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches