Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TCwithPD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.HybTest.TCwithPD,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TCwithPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TCwithPD,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TCwithPD",fmuType="me",version="2.0",platforms={"static"}) [: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.00241/0.00241, allocations: 185.7 kB / 7.464 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.9826/0.9826, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0008328/0.0008328, allocations: 93.47 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06566/0.06566, allocations: 16.72 MB / 325.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1491/0.2148, allocations: 57.81 MB / 383.5 MB, free: 71.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06306/0.2779, allocations: 51.68 MB / 435.2 MB, free: 19.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.4736, allocations: 81.96 MB / 0.5051 GB, free: 9.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001593/0.4738, allocations: 64.75 kB / 0.5051 GB, free: 9.625 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.08081/0.5546, allocations: 35.64 MB / 0.5399 GB, free: 1.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.5546, allocations: 8 kB / 0.5399 GB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/0.5569, allocations: 492.5 kB / 0.5404 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.5589, allocations: 1.079 MB / 0.5415 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.5592, allocations: 348.2 kB / 0.5418 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003719/0.5596, allocations: 179.9 kB / 0.542 GB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003944/0.5635, allocations: 2.96 MB / 0.5449 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005001/0.5686, allocations: 3.911 MB / 0.5487 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.5686, allocations: 7.938 kB / 0.5487 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.5689, allocations: 55.27 kB / 0.5487 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.569, allocations: 159.2 kB / 0.5489 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009396/0.5785, allocations: 7.266 MB / 0.556 GB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/0.5822, allocations: 4.33 MB / 0.5602 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/0.5856, allocations: 4.188 MB / 0.5643 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.855e-05/0.5857, allocations: 32.64 kB / 0.5643 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002998/0.5887, allocations: 2.458 MB / 0.5667 GB, free: 8.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=207): time 2.856e-06/0.5888, allocations: 0 / 0.5667 GB, free: 8.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=207): time 0.00543/0.5942, allocations: 3.55 MB / 0.5702 GB, free: 4.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007233/0.5949, allocations: 1.47 MB / 0.5716 GB, free: 2.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000785/0.5957, allocations: 0.7436 MB / 0.5724 GB, free: 2.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.596, allocations: 109.7 kB / 0.5725 GB, free: 1.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.5964, allocations: 0.6301 MB / 0.5731 GB, free: 1.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.5968, allocations: 0.5008 MB / 0.5736 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.5969, allocations: 24.06 kB / 0.5736 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5971, allocations: 461.7 kB / 0.574 GB, free: 292 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.5987, allocations: 1.197 MB / 0.5752 GB, free: 15.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.6009, allocations: 2.207 MB / 0.5774 GB, free: 12.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.6027, allocations: 1.266 MB / 0.5786 GB, free: 11.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.6027, allocations: 8 kB / 0.5786 GB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=420) (initialization): time 0.004707/0.6074, allocations: 3.382 MB / 0.5819 GB, free: 7.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6074, allocations: 8 kB / 0.5819 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.086e-05/0.6075, allocations: 35.98 kB / 0.5819 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008479/0.6083, allocations: 213.5 kB / 0.5822 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.6093, allocations: 355.1 kB / 0.5825 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004891/0.6098, allocations: 0.9942 MB / 0.5835 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.611, allocations: 237.9 kB / 0.5837 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.6112, allocations: 164 kB / 0.5838 GB, free: 5.699 MB / 394.7 MB Warning: Assuming fixed start value for the following 58 variables: P3.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P3.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P3.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P3.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P3.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P3.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P3.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P3.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer 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 P3.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P3.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: P1.decFactorOut[1]:VARIABLE(protected = true ) "decreasing factors for output transitions" type: Real [1] P2.decFactorIn[1]:VARIABLE(protected = true ) "decreasing factors for input transitions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 349 ($PRE.P3.enableIn.valid,P3.enableIn.valid,$PRE.P3.enableIn.benefitLimit,P3.enableIn.benefitLimit,$PRE.P3.enableIn.benefitMax,P3.enableIn.benefitMax,$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,$PRE.P3.enableIn.state128[1],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[4],$PRE.P3.enableIn.randNum,P3.enableIn.randNum,$PRE.P3.enableIn.cumEnablingProb[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,$PRE.P3.enableIn.remTAin[1],P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableOut.valid,P3.enableOut.valid,$PRE.P3.enableOut.benefitLimit,P3.enableOut.benefitLimit,$PRE.P3.enableOut.benefitMax,P3.enableOut.benefitMax,$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.state128[1],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[4],$PRE.P3.enableOut.randNum,P3.enableOut.randNum,$PRE.P3.enableOut.cumEnablingProb[1],P3.enableOut.cumEnablingProb[1],$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.remTAout[1],P3.enableOut.remTAout[1],$PRE.P3.enableOut.Index,P3.enableOut.Index,$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[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[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$whenCondition9,$PRE.P3.reStart,$whenCondition8,$whenCondition7,P3.tokeninout,$PRE.P3.firingSumIn.firingSum,$PRE.P3.firingSumOut.firingSum,$PRE.P3.tokeninout,P3.outTransition[1].tokenInOut,$whenCondition11,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$whenCondition10,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$whenCondition2,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$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.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,T1.outPlaces[2].enabledByInPlaces,P3.inTransition[1].emptied,T1.outPlaces[2].disTransition,P3.inTransition[1].disPlace,P3.outTransition[1].testValueint,P3.outTransition[1].normalArc,P3.outTransition[1].fed,T1.inPlaces[2].disTransition,P3.outTransition[1].disPlace,P3.outTransition[1].arcType,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P3.enableIn.enablingPrio[1],P3.enableOut.enablingPrio[1],P3.reStart,T1.firingCon,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[1],P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],P3.enableIn.disTransition[1],$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.tIntIn[2],T1.activation.tIntOut[2],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntOut[2],T1.activation.minTokensInt[2],T1.activation.maxTokensInt[2],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,$PRE.P3.t,P3.t,$PRE.P3.activeOut[1],P3.activeOut[1],P3.activeConOut.vec[1],P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.firingSumIn.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumOut.arcWeight[1],P3.firingSumOut.firingSum,P3.enableOut.TAout[1],P3.enableOut.TEout_[1],$PRE.P3.enableOut.TEout[1],P3.enableOut.TEout[1],$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,P3.enableIn.TAein[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin[1],$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.arcType[2],T1.activation.disPlaceIn[2],P3.enableOut.disTransition[1],T1.activation.fed[2],T1.activation.normalArc[2],T1.activation.testValueInt[2],T1.activation.disPlaceOut[2],T1.activation.emptied[2],P3.firingSumOut.fire[1],P3.firingSumIn.fire[1],P3.delayPassedIn.vec[1],P3.delayPassedOut.vec[1],P3.enableIn.arcWeight[1],T1.activation.arcWeightIntOut[1],P3.enableOut.arcWeight[1],T1.activation.arcWeightIntIn[1],P2.delayPassedIn.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (363): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 30 * 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 {2 3} Notification: Performance of prepare postOptimizeDAE: time 0.001731/0.6129, allocations: 1.586 MB / 0.5854 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.6134, allocations: 194.6 kB / 0.5856 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005867/0.6193, allocations: 3.843 MB / 0.5893 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.6193, allocations: 8 kB / 0.5893 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6193, allocations: 0 / 0.5893 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.6193, allocations: 11.97 kB / 0.5894 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009191/0.6285, allocations: 6.266 MB / 0.5955 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.6286, allocations: 11.98 kB / 0.5955 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.6289, allocations: 75.89 kB / 0.5956 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/0.6293, allocations: 140.8 kB / 0.5957 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/0.6296, allocations: 123.2 kB / 0.5958 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004328/0.63, allocations: 0.9515 MB / 0.5967 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.63, allocations: 4 kB / 0.5967 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009387/0.6394, allocations: 6.709 MB / 0.6033 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01256/0.652, allocations: 9.655 MB / 0.6127 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.6522, allocations: 191.3 kB / 0.6129 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/0.6528, allocations: 227.9 kB / 0.6131 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.654, allocations: 211.7 kB / 0.6133 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000757/0.6548, allocations: 0.5348 MB / 0.6138 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003135/0.6551, allocations: 155.9 kB / 0.614 GB, free: 6.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004273/0.6555, allocations: 407.1 kB / 0.6144 GB, free: 6.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003166/0.6587, allocations: 0.8459 MB / 0.6152 GB, free: 5.238 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 180 ($whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition2,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.disMarksInOut,$cse1[1],$cse1[2],$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.disMarksInOut,P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.tIntIn[2],T1.activation.tIntOut[2],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntOut[2],T1.activation.minTokensInt[2],T1.activation.maxTokensInt[2],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,P3.t,P3.tokeninout,P3.activeOut[1],P3.activeConOut.vec[1],P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.firingSumIn.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumOut.arcWeight[1],P3.firingSumOut.firingSum,P3.enableOut.TAout[1],P3.enableOut.TEout_[1],P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.TEout[1],P3.enableOut.remTAout[1],P3.enableOut.cumEnablingProb[1],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.enableOut.benefitMax,P3.enableOut.valid,P3.enableOut.benefitLimit,P3.enableIn.TAein[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.enableIn.benefitMax,P3.enableIn.valid,P3.enableIn.benefitLimit,P3.outTransition[1].tokenInOut) * Number of discrete states: 153 (P3.firingSumOut.firingSum,P3.firingSumIn.firingSum,P3.t,P3.tokeninout,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeOut[1],P3.activeConOut.anychange,i,P3.activeConOut.vec[i],P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P3.enableIn.TEin_[1],P3.enableIn.valid,P3.enableIn.benefitLimit,P3.enableIn.benefitMax,P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,$whenCondition6,P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition4,P2.enableIn.TEin[1],P3.enableOut.TEout_[1],P3.enableOut.valid,P3.enableOut.benefitLimit,P3.enableOut.benefitMax,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.endWhile,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.cumEnablingProb[1],P3.enableOut.sumEnablingProbTAout,P3.enableOut.nTAout,P3.enableOut.nremTAout,P3.enableOut.remTAout[1],P3.enableOut.Index,$whenCondition5,P3.enableOut.arcWeightSum,P3.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition3,P1.enableOut.TEout[1],P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,$whenCondition2,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 56 * Array equations: 1 * Algorithm blocks: 24 * Record equations: 0 * When equations: 1 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001324/0.66, allocations: 0.7942 MB / 0.616 GB, free: 4.469 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00583/0.6659, allocations: 5.516 MB / 0.6214 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6659, allocations: 0 / 0.6214 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006347/0.6722, allocations: 8.396 MB / 0.6296 GB, free: 6.215 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.6729, allocations: 131 kB / 0.6297 GB, free: 6.082 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/0.6796, allocations: 4.296 MB / 0.6339 GB, free: 1.742 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.6808, allocations: 1.611 MB / 0.6355 GB, free: 100 kB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6808, allocations: 4 kB / 0.6355 GB, free: 96 kB / 442.7 MB (rm -f PNlib_PNlib.Examples.HybTest.TCwithPD.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TCwithPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TCwithPD.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TCwithPD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.HybTest.TCwithPD_res.mat --tempDir=temp_PNlib_PNlib_Examples_HybTest_TCwithPD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_HybTest_TCwithPD.fmu > PNlib_PNlib.Examples.HybTest.TCwithPD.pipe 2>&1)