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.001096/0.001095, allocations: 173 kB / 16.12 MB, free: 5.691 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.814/1.814, allocations: 205.4 MB / 222.3 MB, free: 9.039 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.0009099/0.00091, allocations: 101 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07219/0.07219, allocations: 16.89 MB / 335.8 MB, free: 6.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 19.94 kB / 398.2 MB, free: 61.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09257, allocations: 51.69 MB / 449.8 MB, free: 9.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3457/0.4383, allocations: 80.6 MB / 0.518 GB, free: 8.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4386, allocations: 75.34 kB / 0.5181 GB, free: 8.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08655/0.5252, allocations: 33.87 MB / 0.5512 GB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5252, allocations: 0 / 0.5512 GB, free: 11.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001091/0.5253, allocations: 51.88 kB / 0.5512 GB, free: 11.73 MB / 378.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.007156/0.5325, allocations: 2.882 MB / 0.554 GB, free: 8.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.5326, allocations: 8.031 kB / 0.554 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003212/0.5358, allocations: 0.5495 MB / 0.5546 GB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.5391, allocations: 1.219 MB / 0.5558 GB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008941/0.54, allocations: 0.7606 MB / 0.5565 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.5414, allocations: 319.3 kB / 0.5568 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.5535, allocations: 5.137 MB / 0.5618 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.052e-05/0.5536, allocations: 7.938 kB / 0.5618 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008762/0.5545, allocations: 148 kB / 0.562 GB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003667/0.5549, allocations: 208.6 kB / 0.5622 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008064/0.563, allocations: 3.821 MB / 0.5659 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02078/0.5838, allocations: 10.18 MB / 0.5758 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006289/0.5901, allocations: 4.981 MB / 0.5807 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005491/0.5956, allocations: 4.335 MB / 0.5849 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.5959, allocations: 114.1 kB / 0.5851 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00456/0.6005, allocations: 2.584 MB / 0.5876 GB, free: 7.133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=207): time 3.416e-06/0.6005, allocations: 0 / 0.5876 GB, free: 7.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=207): time 0.01367/0.6142, allocations: 7.957 MB / 0.5953 GB, free: 15.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007724/0.615, allocations: 1.205 MB / 0.5965 GB, free: 13.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.6168, allocations: 1.14 MB / 0.5976 GB, free: 12.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.6172, allocations: 125.7 kB / 0.5978 GB, free: 12.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000813/0.618, allocations: 0.8847 MB / 0.5986 GB, free: 11.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006258/0.6186, allocations: 0.5521 MB / 0.5992 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.6188, allocations: 71.98 kB / 0.5992 GB, free: 10.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.6191, allocations: 481.6 kB / 0.5997 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/0.6216, allocations: 1.552 MB / 0.6012 GB, free: 8.762 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/0.6248, allocations: 2.562 MB / 0.6037 GB, free: 5.754 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006106/0.6309, allocations: 4.945 MB / 0.6085 GB, free: 136 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.396e-05/0.631, allocations: 8 kB / 0.6085 GB, free: 128 kB / 426.7 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.009188/0.6402, allocations: 5.51 MB / 0.6139 GB, free: 10.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005533/0.6408, allocations: 0.8076 MB / 0.6147 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005131/0.6459, allocations: 3.537 MB / 0.6182 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.6471, allocations: 477.9 kB / 0.6186 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.6484, allocations: 383.1 kB / 0.619 GB, free: 5.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.6497, allocations: 1.129 MB / 0.6201 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.6516, allocations: 369.7 kB / 0.6204 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/0.6519, allocations: 180 kB / 0.6206 GB, free: 3.34 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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.disTAout[1],P2.enableOut.disTAout[1],$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.enableIn.disTAin[1],P2.enableIn.disTAin[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.P1.enableOut.disTAout[2],P1.enableOut.disTAout[2],$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[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.enableIn.disTAin[1],P1.enableIn.disTAin[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.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition6,P2.disMarksInOut,$PRE.P2.disMarksInOut,T3.inPlaces[1].tokenInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition5,P1.disMarksInOut,$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 () * Number of clocked 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.002923/0.6549, allocations: 1.93 MB / 0.6225 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/0.6554, allocations: 214.2 kB / 0.6227 GB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00981/0.6653, allocations: 6.537 MB / 0.6291 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.6653, allocations: 12 kB / 0.6291 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.6653, allocations: 0 / 0.6291 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.6654, allocations: 3.984 kB / 0.6291 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.6778, allocations: 8.772 MB / 0.6377 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1786/0.8564, allocations: 6.256 MB / 0.6438 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.8569, allocations: 109.9 kB / 0.6439 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.8583, allocations: 0.5607 MB / 0.6444 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003808/0.8587, allocations: 123.6 kB / 0.6445 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.8598, allocations: 1.091 MB / 0.6456 GB, free: 139.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8598, allocations: 5.438 kB / 0.6456 GB, free: 139.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.875, allocations: 9.459 MB / 0.6549 GB, free: 138.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.8754, allocations: 219.2 kB / 0.6551 GB, free: 138.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005634/0.876, allocations: 207.1 kB / 0.6553 GB, free: 138.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.8773, allocations: 258.8 kB / 0.6555 GB, free: 138.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009613/0.8783, allocations: 0.73 MB / 0.6562 GB, free: 138.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002953/0.8786, allocations: 156 kB / 0.6564 GB, free: 138.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006598/0.8793, allocations: 0.6024 MB / 0.657 GB, free: 138.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8793, allocations: 0 / 0.657 GB, free: 138.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002348/0.8816, allocations: 0.8317 MB / 0.6578 GB, free: 138.5 MB / 458.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.disTAin[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,$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.disTAout[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,$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.disTAout[2],P1.enableOut.disTAout[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,$whenCondition2,P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.disTAin[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,$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * 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.0009995/0.8827, allocations: 0.6009 MB / 0.6584 GB, free: 138.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007243/0.8899, allocations: 6.887 MB / 0.6651 GB, free: 135.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.89, allocations: 0 / 0.6651 GB, free: 135.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006294/0.8963, allocations: 8.18 MB / 0.6731 GB, free: 129.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.8976, allocations: 260.6 kB / 0.6733 GB, free: 129.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008315/0.9059, allocations: 6.312 MB / 0.6795 GB, free: 127 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009854/0.9069, allocations: 1.704 MB / 0.6811 GB, free: 126.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001005/0.9079, allocations: 458.5 kB / 0.6816 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.9082, allocations: 103.8 kB / 0.6817 GB, free: 126.1 MB / 458.7 MB Notification: Performance of SimCode: time 8.11e-07/0.9082, allocations: 0 / 0.6817 GB, free: 126.1 MB / 458.7 MB Notification: Performance of Templates: time 0.04513/0.9533, allocations: 34.21 MB / 0.7151 GB, free: 100.4 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