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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002198/0.002198, allocations: 176.6 kB / 7.452 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9779/0.9779, allocations: 205.2 MB / 213.1 MB, free: 13.88 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.000832/0.0008319, allocations: 97.66 kB / 261.1 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06225/0.06225, allocations: 16.72 MB / 325.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.239e-06/5.32e-06, allocations: 0 / 383.4 MB, free: 71.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06123/0.06125, allocations: 51.69 MB / 435.1 MB, free: 19.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.2552, allocations: 79.73 MB / 0.5028 GB, free: 9.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.2554, allocations: 66.06 kB / 0.5029 GB, free: 9.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06949/0.3249, allocations: 33.37 MB / 0.5354 GB, free: 5.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.649e-05/0.325, allocations: 43.94 kB / 0.5355 GB, free: 5.949 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.003348/0.3284, allocations: 2.848 MB / 0.5383 GB, free: 3.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3284, allocations: 12.03 kB / 0.5383 GB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.3308, allocations: 0.5621 MB / 0.5388 GB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.3329, allocations: 1.251 MB / 0.54 GB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005339/0.3334, allocations: 0.6844 MB / 0.5407 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004173/0.3339, allocations: 219.7 kB / 0.5409 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004982/0.3389, allocations: 3.712 MB / 0.5446 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006368/0.3452, allocations: 4.804 MB / 0.5492 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/0.3453, allocations: 3.938 kB / 0.5492 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/0.3456, allocations: 51.91 kB / 0.5493 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/0.3458, allocations: 224.5 kB / 0.5495 GB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.3586, allocations: 9.794 MB / 0.5591 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004471/0.363, allocations: 4.687 MB / 0.5637 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003684/0.3667, allocations: 4.207 MB / 0.5678 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.3669, allocations: 125.8 kB / 0.5679 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003164/0.3701, allocations: 2.54 MB / 0.5704 GB, free: 4.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=207): time 2.895e-06/0.3701, allocations: 0 / 0.5704 GB, free: 4.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=207): time 0.005876/0.376, allocations: 3.875 MB / 0.5741 GB, free: 284 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007009/0.3767, allocations: 1.209 MB / 0.5753 GB, free: 14.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.3777, allocations: 0.8531 MB / 0.5762 GB, free: 14.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.3779, allocations: 101.7 kB / 0.5763 GB, free: 13.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005662/0.3785, allocations: 0.8661 MB / 0.5771 GB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004503/0.3789, allocations: 0.5236 MB / 0.5776 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3791, allocations: 24 kB / 0.5776 GB, free: 12.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.3793, allocations: 469.7 kB / 0.5781 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.3813, allocations: 1.439 MB / 0.5795 GB, free: 10.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.3836, allocations: 2.416 MB / 0.5818 GB, free: 7.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.3855, allocations: 1.386 MB / 0.5832 GB, free: 6.367 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.3856, allocations: 12 kB / 0.5832 GB, free: 6.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.00512/0.3907, allocations: 3.752 MB / 0.5869 GB, free: 2.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3907, allocations: 11.94 kB / 0.5869 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002776/0.3935, allocations: 2.084 MB / 0.5889 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.3945, allocations: 480.5 kB / 0.5894 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.3955, allocations: 391.1 kB / 0.5898 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.3969, allocations: 1.232 MB / 0.591 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.3982, allocations: 297.9 kB / 0.5912 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.3985, allocations: 176 kB / 0.5914 GB, free: 13.92 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.001538/0.4, allocations: 1.416 MB / 0.5928 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004758/0.4005, allocations: 198.4 kB / 0.593 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006534/0.4071, allocations: 4.401 MB / 0.5973 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/0.4071, allocations: 12 kB / 0.5973 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4071, allocations: 3.938 kB / 0.5973 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.4071, allocations: 7.969 kB / 0.5973 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008352/0.4155, allocations: 6.184 MB / 0.6033 GB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00571/0.4212, allocations: 4.098 MB / 0.6073 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.4216, allocations: 103.9 kB / 0.6074 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.4229, allocations: 0.5846 MB / 0.608 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002583/0.4232, allocations: 119 kB / 0.6081 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.4244, allocations: 1.189 MB / 0.6093 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4245, allocations: 0 / 0.6093 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01025/0.4347, allocations: 7.334 MB / 0.6164 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.4349, allocations: 207.2 kB / 0.6166 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/0.4355, allocations: 195.9 kB / 0.6168 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.4369, allocations: 263.8 kB / 0.6171 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/0.4379, allocations: 0.7573 MB / 0.6178 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003101/0.4383, allocations: 147.9 kB / 0.618 GB, free: 2.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004785/0.4387, allocations: 447.1 kB / 0.6184 GB, free: 2.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002097/0.4409, allocations: 0.751 MB / 0.6191 GB, free: 1.293 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.0009691/0.4418, allocations: 0.5836 MB / 0.6197 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006407/0.4482, allocations: 5.794 MB / 0.6254 GB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4483, allocations: 0 / 0.6254 GB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006213/0.4545, allocations: 7.662 MB / 0.6328 GB, free: 3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.4551, allocations: 131 kB / 0.633 GB, free: 2.871 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.4626, allocations: 4.96 MB / 0.6378 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.4641, allocations: 1.866 MB / 0.6396 GB, free: 11.95 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4642, allocations: 0 / 0.6396 GB, free: 11.95 MB / 458.7 MB Notification: Performance of Templates: time 0.1362/0.6004, allocations: 35.57 MB / 0.6744 GB, free: 179.3 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