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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.HybTest.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") translateModel(PNlib.Examples.HybTest.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 118.1 kB / 16.42 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 183.4 kB / 17.35 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07614/0.07614, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 59.89 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1409, allocations: 53.48 MB / 480.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TCwithPD): time 0.004829/0.1458, allocations: 3.409 MB / 483.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007403/0.1532, allocations: 3.482 MB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.1546, allocations: 19.88 kB / 487.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1557, allocations: 285.7 kB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.1572, allocations: 273.8 kB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.1612, allocations: 1.73 MB / 489.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004777/0.166, allocations: 3.816 MB / 493.5 MB, free: 7.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007458/0.1667, allocations: 0.5335 MB / 494 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.1686, allocations: 1.387 MB / 495.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.1703, allocations: 1.058 MB / 496.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004638/0.1707, allocations: 280 kB / 496.7 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.1726, allocations: 1.174 MB / 497.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.173, allocations: 486.2 kB / 498.4 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.1743, allocations: 1.186 MB / 499.6 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.1784, allocations: 3.393 MB / 0.4912 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.1784, allocations: 0 / 0.4912 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.049e-06/0.1784, allocations: 4 kB / 0.4912 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.038e-05/0.1784, allocations: 3.938 kB / 0.4912 GB, free: 14.38 MB / 382.1 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.004082/0.1825, allocations: 3.183 MB / 0.4943 GB, free: 10.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1826, allocations: 11.89 kB / 0.4943 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.184, allocations: 370.4 kB / 0.4947 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.1856, allocations: 0.9642 MB / 0.4956 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.1859, allocations: 404.9 kB / 0.496 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/0.1863, allocations: 248 kB / 0.4962 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006489/0.1928, allocations: 4.189 MB / 0.5003 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.1928, allocations: 7.938 kB / 0.5003 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.1931, allocations: 123.9 kB / 0.5004 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003037/0.1934, allocations: 203.1 kB / 0.5006 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.1984, allocations: 3.066 MB / 0.5036 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2518/0.4502, allocations: 7.52 MB / 0.511 GB, free: 29.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.4546, allocations: 4.707 MB / 0.5156 GB, free: 27.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00399/0.4586, allocations: 4.514 MB / 0.52 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002858/0.4615, allocations: 5.605 MB / 0.5254 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003876/0.4654, allocations: 2.602 MB / 0.528 GB, free: 16.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=211): time 3.727e-06/0.4654, allocations: 0 / 0.528 GB, free: 16.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=211): time 0.01062/0.476, allocations: 7.837 MB / 0.5356 GB, free: 13.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005526/0.4766, allocations: 1.562 MB / 0.5372 GB, free: 12.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009838/0.4776, allocations: 0.9475 MB / 0.5381 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.4778, allocations: 136.1 kB / 0.5382 GB, free: 11.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.4781, allocations: 0.6599 MB / 0.5389 GB, free: 10.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.4785, allocations: 0.5368 MB / 0.5394 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006311/0.4791, allocations: 0.6453 MB / 0.54 GB, free: 10.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.4792, allocations: 343.8 kB / 0.5403 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.4807, allocations: 1.283 MB / 0.5416 GB, free: 9.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.4826, allocations: 2.325 MB / 0.5439 GB, free: 6.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/0.4864, allocations: 5.075 MB / 0.5488 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.4864, allocations: 8 kB / 0.5488 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.006541/0.4929, allocations: 4.959 MB / 0.5537 GB, free: 11.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005784/0.4935, allocations: 0.9793 MB / 0.5546 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003515/0.4971, allocations: 2.532 MB / 0.5571 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008328/0.4979, allocations: 184.7 kB / 0.5573 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009407/0.4989, allocations: 343.1 kB / 0.5576 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006584/0.4995, allocations: 0.7222 MB / 0.5583 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.5009, allocations: 352.9 kB / 0.5587 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.5012, allocations: 156 kB / 0.5588 GB, free: 6.051 MB / 398.1 MB Warning: Assuming fixed start value for the following 58 variables: P3.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer 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 P3.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P3.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 138 * Number of states: 0 () * Number of discrete variables: 345 ($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,P3.enableIn.randNum,$PRE.P3.enableIn.randNum,P3.enableIn.state128[4],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[1],P3.enableIn.cumEnablingProb[1],$PRE.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,P3.enableIn.remTAin[1],$PRE.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,P3.enableOut.randNum,$PRE.P3.enableOut.randNum,P3.enableOut.state128[4],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[1],P3.enableOut.cumEnablingProb[1],$PRE.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,P3.enableOut.remTAout[1],$PRE.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,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.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,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P3.reStart,$whenCondition9,$PRE.P3.tokeninout,P3.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P3.firingSumOut.firingSum,$PRE.P3.firingSumIn.firingSum,P3.tokeninout,$whenCondition7,$whenCondition8,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition11,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition10,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition2,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P3.outTransition[1].normalArc,P3.outTransition[1].testValueint,P3.outTransition[1].fed,P3.outTransition[1].arcType,P3.outTransition[1].disPlace,T1.inPlaces[2].disTransition,P3.inTransition[1].emptied,P3.inTransition[1].disPlace,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P3.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P3.enableIn.disTransition[1],P1.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[2],P3.delayPassedOut.vec[1],P3.delayPassedIn.vec[1],P3.firingSumIn.fire[1],P3.firingSumOut.fire[1],T1.activation.normalArc[2],T1.activation.testValueInt[2],T1.activation.fed[2],T1.activation.arcType[2],T1.activation.disPlaceIn[2],P3.enableOut.disTransition[1],T1.activation.emptied[2],T1.activation.disPlaceOut[2],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P3.enableIn.arcWeightSum,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.enableIn.TAein[1],P3.enableIn.arcWeight[1],P3.enableOut.arcWeightSum,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.TEout[1],$PRE.P3.enableOut.TEout[1],P3.enableOut.TEout_[1],P3.enableOut.TAout[1],P3.enableOut.arcWeight[1],P3.firingSumOut.firingSum,P3.firingSumOut.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumIn.arcWeight[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,P3.activeConOut.vec[1],P3.activeOut[1],$PRE.P3.activeOut[1],P3.t,$PRE.P3.t,T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[1],T1.activation.fed[1],T1.activation.maxTokensInt[2],T1.activation.minTokensInt[2],T1.activation.tIntOut[2],T1.activation.tIntIn[2],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$PRE.P1.fireOut[1],$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 323 * Array equations: 1 * Algorithm blocks: 30 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.003683/0.5049, allocations: 2.047 MB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007803/0.5057, allocations: 206.4 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.5187, allocations: 6.348 MB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.5188, allocations: 3.984 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01019/0.529, allocations: 6.133 MB / 0.5732 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.5295, allocations: 219.1 kB / 0.5734 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000928/0.5304, allocations: 232.7 kB / 0.5736 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.5323, allocations: 199.8 kB / 0.5738 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/0.5334, allocations: 0.5003 MB / 0.5743 GB, free: 5.777 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): (_, $OMC$CF$sim2) = PNlib.Functions.decreasingFactor(0, 1, P1.t_, P1.minMarks, P1.maxMarks, 0.0, -P1.conMarkChange, {}, {1.0}, {}, {T1.outPlaces[2].prelimSpeed}, {}, {2.0}, {} and not {}, P1.fireOut and not {false}) Variables: 1: $OMC$CF$sim2[1]:VARIABLE() type: Real [1] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): ($OMC$CF$sim1, _) = PNlib.Functions.decreasingFactor(1, 0, P2.t_, P2.minMarks, P2.maxMarks, P2.conMarkChange, 0.0, {1.0}, {}, {T1.outPlaces[2].prelimSpeed}, {}, {1.0}, {}, P2.fireIn and not {false}, {} and not {}) 2/2 (1): P2.conMarkChange = if P2.feeding.vec[1] then T1.instantaneousSpeed else 0.0 3/3 (1): T1.instantaneousSpeed = min($cse1, T1.outPlaces[2].prelimSpeed) 4/4 (1): $cse1 = min($cse2, $cse3) 5/5 (1): $cse3 = min(T1.outPlaces[1].decreasingFactor, 1.0) 6/6 (1): $OMC$CF$sim1[1] = T1.outPlaces[1].decreasingFactor 7/7 (1): -P1.conMarkChange = if P1.emptying.vec[1] then 2.0 * T1.instantaneousSpeed else 0.0 8/8 (1): (_, $OMC$CF$sim2) = PNlib.Functions.decreasingFactor(0, 1, P1.t_, P1.minMarks, P1.maxMarks, 0.0, -P1.conMarkChange, {}, {1.0}, {}, {T1.outPlaces[2].prelimSpeed}, {}, {2.0}, {} and not {}, P1.fireOut and not {false}) 9/9 (1): $OMC$CF$sim2[1] = T1.inPlaces[1].decreasingFactor 10/10 (1): $cse2 = min(T1.inPlaces[1].decreasingFactor, 1.0) Variables: 1: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 2: T1.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [2] 3: $OMC$CF$sim2[1]:VARIABLE() type: Real [1] 4: P1.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 5: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 6: T1.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [2] 7: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 9: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 10: P2.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002866/0.5363, allocations: 2.295 MB / 0.5765 GB, free: 3.203 MB / 414.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.HybTest.TCwithPD could not be translated