Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.InputConflictType3.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.InputConflictType3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.active|T2.fire|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|Time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.InputConflictType3") translateModel(PNlib.Examples.HybTest.InputConflictType3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.active|T2.fire|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|Time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.InputConflictType3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 109.1 kB / 16.41 MB, free: 6.387 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.001275/0.001276, allocations: 187.7 kB / 17.34 MB, free: 5.84 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07726/0.07726, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 55.91 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08236/0.08365, allocations: 53.48 MB / 480.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.InputConflictType3): time 0.005156/0.08882, allocations: 4.216 MB / 484.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006956/0.09581, allocations: 3.886 MB / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007745/0.0966, allocations: 27.94 kB / 488.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008436/0.09747, allocations: 381 kB / 489 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.09862, allocations: 457 kB / 489.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004139/0.1028, allocations: 1.89 MB / 491.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004982/0.1078, allocations: 4.474 MB / 495.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008927/0.1087, allocations: 0.6345 MB / 496.4 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.1109, allocations: 1.706 MB / 498.1 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.1127, allocations: 1.275 MB / 499.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007712/0.1135, allocations: 336 kB / 499.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.1152, allocations: 0.9873 MB / 0.489 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007204/0.1159, allocations: 0.6034 MB / 0.4896 GB, free: 32 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.1179, allocations: 1.431 MB / 0.491 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004377/0.1223, allocations: 3.831 MB / 0.4947 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1223, allocations: 0 / 0.4947 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1223, allocations: 0 / 0.4947 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.132e-05/0.1224, allocations: 0 / 0.4947 GB, free: 10.75 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: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.004803/0.1272, allocations: 3.72 MB / 0.4983 GB, free: 6.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1273, allocations: 8.031 kB / 0.4984 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.1292, allocations: 0.4948 MB / 0.4988 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.1308, allocations: 1.123 MB / 0.4999 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004474/0.1313, allocations: 0.5727 MB / 0.5005 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004455/0.1317, allocations: 315.9 kB / 0.5008 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1852/0.3169, allocations: 5.159 MB / 0.5058 GB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.185e-05/0.317, allocations: 6.453 kB / 0.5058 GB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003259/0.3173, allocations: 149.2 kB / 0.506 GB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004042/0.3177, allocations: 266.3 kB / 0.5062 GB, free: 32.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005883/0.3236, allocations: 3.752 MB / 0.5099 GB, free: 31.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.3352, allocations: 9.984 MB / 0.5196 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.3399, allocations: 5.18 MB / 0.5247 GB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003892/0.3438, allocations: 4.767 MB / 0.5294 GB, free: 19.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.3452, allocations: 3.081 MB / 0.5324 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00341/0.3486, allocations: 2.923 MB / 0.5352 GB, free: 13.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=247): time 3.357e-06/0.3486, allocations: 0 / 0.5352 GB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=247): time 0.01145/0.3601, allocations: 9.001 MB / 0.544 GB, free: 7.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004911/0.3606, allocations: 1.662 MB / 0.5456 GB, free: 5.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3617, allocations: 1.136 MB / 0.5467 GB, free: 4.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002066/0.3619, allocations: 157.7 kB / 0.5469 GB, free: 4.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.3623, allocations: 0.8444 MB / 0.5477 GB, free: 3.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004111/0.3627, allocations: 0.6688 MB / 0.5484 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008125/0.3636, allocations: 0.7881 MB / 0.5491 GB, free: 1.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.3636, allocations: 353.9 kB / 0.5495 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.3657, allocations: 1.615 MB / 0.5511 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/0.3689, allocations: 2.857 MB / 0.5539 GB, free: 12.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.3796, allocations: 9.058 MB / 0.5627 GB, free: 2.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.58e-05/0.3796, allocations: 12 kB / 0.5627 GB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.008873/0.3885, allocations: 6.49 MB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005814/0.3891, allocations: 1.088 MB / 0.5701 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005599/0.3947, allocations: 3.867 MB / 0.5739 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.396, allocations: 352.5 kB / 0.5742 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.3972, allocations: 407 kB / 0.5746 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008563/0.398, allocations: 0.8961 MB / 0.5755 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.3999, allocations: 473.2 kB / 0.5759 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/0.4002, allocations: 207.8 kB / 0.5761 GB, free: 4.117 MB / 414.1 MB Warning: Assuming fixed start value for the following 61 variables: 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 ) type: Integer P3.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * Number of states: 0 () * Number of discrete variables: 393 ($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.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,P3.enableOut.disTAout[1],$PRE.P3.enableOut.disTAout[1],$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,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],P2.enableOut.cumEnablingProb[1],$PRE.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,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$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.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],$PRE.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,P1.enableIn.remTAin[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P2.reStart,$whenCondition9,$PRE.P3.disMarksInOut,P3.outTransition[1].tokenInOut,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P3.disMarksIn.anytrue,$PRE.P3.disMarksOut.anytrue,P3.disMarksInOut,$whenCondition13,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition7,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition12,P3.disMarksIn.numtrue,P3.disMarksIn.anytrue,P2.firingSumIn.firingSum,$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,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],$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,$whenCondition2,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,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],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.arcWeightSum,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,$whenCondition1,P3.outTransition[1].normalArc,P3.outTransition[1].testValueint,P3.outTransition[1].arcType,P3.outTransition[1].disPlace,P3.outTransition[1].minTokensint,P3.outTransition[1].tint,T3.inPlaces[1].disTransition,P3.reStart,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,T2.inPlaces[1].disTransition,P2.reStart,T3.firingCon,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P1.inTransition[2].disPlace,P1.inTransition[2].maxTokensint,P1.inTransition[2].tint,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.firingCon,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,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P3.disMarksOut.vec[1],P3.disMarksOut.numtrue,P3.disMarksOut.anytrue,$PRE.P3.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,$PRE.P2.enableOut.TEout[1],$PRE.T2.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[2],P1.disMarksIn.vec[2],P1.feeding.vec[1],T1.activation.arcWeightIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],P3.delayPassedOut.vec[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P2.enableOut.disTransition[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.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.emptying.numtrue,P3.emptying.anytrue,P3.emptying.vec[1],P3.feeding.numtrue,P3.feeding.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.enableOut.TEout[1],P3.enableOut.TEout_[1],P3.enableOut.TAout[1],P3.fireOut[1],$PRE.P3.fireOut[1],P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableOut.arcWeight[1],P2.firingSumOut.firingSum,P2.firingSumOut.arcWeight[1],P2.firingSumOut.fire[1],P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.delayPassedOut.vec[1],P2.activeConOut.anychange,P2.activeConOut.vec[1],P2.activeOut[1],$PRE.P2.activeOut[1],P2.t,$PRE.P2.t,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.emptied[1],T3.activation.fed[1],T2.activation.active,T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.outPlaces[1].enabledByInPlaces,T2.active,T1.fire_,T1.activation.NoTokens,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[2],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[2],$PRE.P1.fireIn[2],P1.fireIn[1],$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition10,$whenCondition11,P2.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 390 * Array equations: 1 * Algorithm blocks: 32 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002806/0.403, allocations: 2.333 MB / 0.5784 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005751/0.4036, allocations: 247 kB / 0.5786 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.4142, allocations: 7.087 MB / 0.5856 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.4143, allocations: 7.984 kB / 0.5856 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01017/0.4244, allocations: 6.911 MB / 0.5923 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.4248, allocations: 247.6 kB / 0.5926 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006937/0.4255, allocations: 247.9 kB / 0.5928 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.427, allocations: 255.8 kB / 0.593 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001458/0.4284, allocations: 0.8973 MB / 0.5939 GB, free: 1.461 MB / 430.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$sim1) = PNlib.Functions.decreasingFactor(0, 1, P3.t_, P3.minMarks, P3.maxMarks, 0.0, -P3.conMarkChange, {}, {2.0}, {}, {P3.outTransition[1].prelimSpeed}, {}, {1.0}, {} and not {}, P3.fireOut and not {false}) Variables: 1: $OMC$CF$sim1[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$sim2[2] = T3.outPlaces[1].decreasingFactor 2/2 (1): $cse2 = min(P3.outTransition[1].decreasingFactor, T3.outPlaces[1].decreasingFactor) 3/3 (1): T3.instantaneousSpeed = min($cse2 * 2.0, P3.outTransition[1].prelimSpeed) 4/4 (3): ($OMC$CF$sim2, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(2, 1, P1.t_, P1.minMarks, P1.maxMarks, T1.inPlaces[1].speedSum, T3.outPlaces[1].speedSum, {0.0, 2.0}, {1.0}, {0.0, P3.outTransition[1].prelimSpeed}, {T1.inPlaces[1].prelimSpeed}, {1.0, 1.0}, {1.0}, P1.fireIn and not {true, false}, P1.fireOut and not {false}) 5/7 (1): T1.inPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 0, {1.0}, {}, {T1.inPlaces[1].speedSum}, {}, 1.0, T1.activation.weaklyInputActiveVec, {}) 6/8 (1): T1.inPlaces[1].speedSum = if P1.feeding.vec[2] then T3.instantaneousSpeed else 0.0 7/9 (1): -P3.conMarkChange = if P3.emptying.vec[1] then T3.instantaneousSpeed else 0.0 8/10 (1): (_, $OMC$CF$sim1) = PNlib.Functions.decreasingFactor(0, 1, P3.t_, P3.minMarks, P3.maxMarks, 0.0, -P3.conMarkChange, {}, {2.0}, {}, {P3.outTransition[1].prelimSpeed}, {}, {1.0}, {} and not {}, P3.fireOut and not {false}) 9/11 (1): $OMC$CF$sim1[1] = P3.outTransition[1].decreasingFactor 10/12 (1): T1.instantaneousSpeed = min($cse1, T1.inPlaces[1].prelimSpeed) 11/13 (1): $cse1 = min(T1.inPlaces[1].decreasingFactor, 8.777798510069901e304) 12/14 (1): $OMC$CF$sim3[1] = T1.inPlaces[1].decreasingFactor 13/15 (1): P3.outTransition[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 1, {1.0}, {1.0}, {0.0}, {T3.outPlaces[1].speedSum}, 2.0, T3.activation.weaklyInputActiveVec, T3.activation.weaklyOutputActiveVec) 14/16 (1): T3.outPlaces[1].speedSum = if P1.emptying.vec[1] then T1.instantaneousSpeed else 0.0 Variables: 1: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 2: T3.outPlaces[1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1] 3: $OMC$CF$sim3[1]:VARIABLE() type: Real [1] 4: T1.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 5: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 6: P3.outTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [1] 7: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 8: P3.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 9: T3.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 10: T1.inPlaces[1].speedSum:VARIABLE(flow=false ) "Input speeds of continuous input places" type: Real [1] 11: T1.inPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 12: $OMC$CF$sim2[1]:VARIABLE() type: Real [2] 13: P3.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" type: Real [1] 14: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 15: T3.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 16: $OMC$CF$sim2[2]:VARIABLE() type: Real [2] [/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.002511/0.431, allocations: 2.714 MB / 0.5966 GB, free: 14.44 MB / 446.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.HybTest.InputConflictType3 could not be translated