Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.DoubleArcwithPCtoTC.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.ExtTest.DoubleArcwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPCtoTC") translateModel(PNlib.Examples.ExtTest.DoubleArcwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPCtoTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 109.1 kB / 16.42 MB, free: 6.516 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.001629/0.001629, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.324/1.324, 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.07595/0.07595, allocations: 16.74 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.0995, allocations: 53.48 MB / 480.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.DoubleArcwithPCtoTC): time 0.006989/0.1065, allocations: 4.226 MB / 484.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006724/0.1133, allocations: 3.172 MB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.1147, allocations: 23.94 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009966/0.1157, allocations: 365 kB / 488.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.1171, allocations: 369.1 kB / 488.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.1205, allocations: 1.478 MB / 490.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005318/0.1258, allocations: 4.209 MB / 494.3 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.1269, allocations: 0.6321 MB / 494.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.1293, allocations: 1.616 MB / 496.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.1312, allocations: 1.19 MB / 497.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008308/0.132, allocations: 303.9 kB / 498 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.1334, allocations: 0.6947 MB / 498.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008101/0.1342, allocations: 0.6034 MB / 499.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.1361, allocations: 1.314 MB / 0.4889 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.1402, allocations: 3.384 MB / 0.4922 GB, free: 13.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1402, allocations: 4 kB / 0.4922 GB, free: 13.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1402, allocations: 0 / 0.4922 GB, free: 13.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.817e-05/0.1403, allocations: 0 / 0.4922 GB, free: 13.3 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: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.005299/0.1456, allocations: 3.516 MB / 0.4957 GB, free: 9.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1457, allocations: 11.89 kB / 0.4957 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.1475, allocations: 476.8 kB / 0.4961 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.1492, allocations: 1.037 MB / 0.4971 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005418/0.1497, allocations: 0.6675 MB / 0.4978 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/0.1502, allocations: 292 kB / 0.4981 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006988/0.1572, allocations: 4.6 MB / 0.5026 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-05/0.1573, allocations: 7.938 kB / 0.5026 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000362/0.1576, allocations: 143.9 kB / 0.5027 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003919/0.158, allocations: 243.9 kB / 0.5029 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2115/0.3695, allocations: 3.318 MB / 0.5062 GB, free: 33.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.3814, allocations: 9.94 MB / 0.5159 GB, free: 27.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004908/0.3863, allocations: 4.462 MB / 0.5202 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003499/0.3899, allocations: 3.839 MB / 0.524 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.3915, allocations: 2.994 MB / 0.5269 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003014/0.3945, allocations: 2.465 MB / 0.5293 GB, free: 18.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=234): time 3.487e-06/0.3945, allocations: 1.25 kB / 0.5293 GB, free: 18.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=234): time 0.009391/0.4039, allocations: 7.363 MB / 0.5365 GB, free: 14.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004635/0.4044, allocations: 1.586 MB / 0.5381 GB, free: 12.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.4055, allocations: 1.068 MB / 0.5391 GB, free: 11.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.4058, allocations: 146.5 kB / 0.5392 GB, free: 11.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/0.4062, allocations: 0.7969 MB / 0.54 GB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/0.4066, allocations: 0.6055 MB / 0.5406 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006976/0.4073, allocations: 0.7124 MB / 0.5413 GB, free: 9.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.74e-05/0.4073, allocations: 349.9 kB / 0.5416 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.4092, allocations: 1.442 MB / 0.5431 GB, free: 8.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.4113, allocations: 2.506 MB / 0.5455 GB, free: 5.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00464/0.416, allocations: 5.523 MB / 0.5509 GB, free: 14.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-05/0.416, allocations: 8 kB / 0.5509 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=438) (initialization): time 0.008267/0.4243, allocations: 5.88 MB / 0.5566 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000602/0.4249, allocations: 1.049 MB / 0.5577 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004608/0.4295, allocations: 3.214 MB / 0.5608 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4306, allocations: 360.3 kB / 0.5611 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.4317, allocations: 391.1 kB / 0.5615 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.4328, allocations: 0.9749 MB / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.4345, allocations: 425.6 kB / 0.5629 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.4348, allocations: 176 kB / 0.563 GB, free: 1.852 MB / 398.1 MB Warning: Assuming fixed start value for the following 54 variables: 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.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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 P3.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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: 143 * Number of states: 0 () * Number of discrete variables: 348 ($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.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,P3.enableIn.disTAin[1],$PRE.P3.enableIn.disTAin[1],$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[2],$PRE.P1.enableOut.cumEnablingProb[2],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[2],$PRE.P1.enableOut.remTAout[2],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[2],$PRE.P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],T2.inPlaces[1].tokenInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P3.disMarksIn.anytrue,$PRE.P3.disMarksOut.anytrue,P3.disMarksInOut,$whenCondition9,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition8,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition7,P3.disMarksOut.numtrue,P3.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,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],$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,$whenCondition3,$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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P3.inTransition[1].disPlace,P3.inTransition[1].maxTokensint,P3.inTransition[1].tint,T2.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,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[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,P3.reStart,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P3.disMarksIn.vec[1],P3.disMarksIn.numtrue,P3.disMarksIn.anytrue,TA1.outTransition.arcType,IA1.outTransition.arcType,T1.activation.testValueInt[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P2.delayPassedIn.vec[1],P3.delayPassedIn.vec[1],T2.activation.testValueInt[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P1.outTransition[1].arcWeightint,P1.outTransition[2].arcWeightint,T2.fire_,T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.normalArc[1],T2.activation.emptied[1],T2.activation.fed[1],T2.activation.arcType[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.normalArc[1],T1.activation.emptied[1],T1.activation.fed[1],T1.activation.arcType[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P3.emptying.numtrue,P3.emptying.anytrue,P3.feeding.numtrue,P3.feeding.anytrue,P3.feeding.vec[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.enableIn.TEin[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.fireIn[1],$PRE.P3.fireIn[1],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[2],P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],IA1.testColor[3],IA1.testColor[2],IA1.testColor[1],$whenCondition6,$whenCondition5,$whenCondition4,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 337 * Array equations: 0 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002652/0.4374, allocations: 2.129 MB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005439/0.438, allocations: 222.1 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008328/0.4463, allocations: 5.721 MB / 0.5709 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.4463, allocations: 7.984 kB / 0.5709 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007835/0.4542, allocations: 5.464 MB / 0.5763 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.4545, allocations: 237.6 kB / 0.5765 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006078/0.4551, allocations: 223.9 kB / 0.5767 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.4565, allocations: 223.8 kB / 0.5769 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000921/0.4574, allocations: 0.5928 MB / 0.5775 GB, free: 2.621 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$sim1, _) = PNlib.Functions.decreasingFactor(1, 0, P3.t_, P3.minMarks, P3.maxMarks, P3.conMarkChange, 0.0, {1.0}, {}, {T2.outPlaces[1].prelimSpeed}, {}, {1.0}, {}, P3.fireIn and not {false}, {} and not {}) 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, _) = PNlib.Functions.decreasingFactor(1, 0, P2.t_, P2.minMarks, P2.maxMarks, P2.conMarkChange, 0.0, {1.0}, {}, {T1.outPlaces[1].prelimSpeed}, {}, {1.0}, {}, P2.fireIn and not {false}, {} and not {}) 2/2 (1): $OMC$CF$sim2[1] = T1.outPlaces[1].decreasingFactor 3/3 (1): $cse1 = min(T1.inPlaces[1].decreasingFactor, T1.outPlaces[1].decreasingFactor) 4/4 (1): T1.instantaneousSpeed = min($cse1, T1.outPlaces[1].prelimSpeed) 5/5 (1): P1.outTransition[2].instSpeed = if IA1.normalArc then 0.0 else T1.instantaneousSpeed 6/6 (1): P1.firingSumOut.vec1[2] = if P1.emptying.vec[2] then P1.enableOut.arcWeight[2] * P1.outTransition[2].instSpeed else 0.0 7/7 (1): -P1.conMarkChange = P1.firingSumOut.vec1[1] + P1.firingSumOut.vec1[2] 8/8 (1): P1.firingSumOut.vec1[1] = if P1.emptying.vec[1] then P1.enableOut.arcWeight[1] * P1.outTransition[1].instSpeed else 0.0 9/9 (1): P1.outTransition[1].instSpeed = if TA1.normalArc then 0.0 else T2.instantaneousSpeed 10/10 (1): T2.instantaneousSpeed = min($cse2, T2.outPlaces[1].prelimSpeed) 11/11 (1): $cse2 = min(T2.inPlaces[1].decreasingFactor, T2.outPlaces[1].decreasingFactor) 12/12 (1): $OMC$CF$sim3[1] = T2.inPlaces[1].decreasingFactor 13/13 (1): $OMC$CF$sim3[2] = T1.inPlaces[1].decreasingFactor 14/14 (2): (_, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(0, 2, P1.t_, P1.minMarks, P1.maxMarks, 0.0, -P1.conMarkChange, {}, {P1.outTransition[1].maxSpeed, P1.outTransition[2].maxSpeed}, {}, {P1.outTransition[1].prelimSpeed, P1.outTransition[2].prelimSpeed}, {}, {P1.enableOut.arcWeight[1], P1.enableOut.arcWeight[2]}, {} and not {}, P1.fireOut and not {false, false}) 15/16 (1): P3.conMarkChange = if P3.feeding.vec[1] then T2.instantaneousSpeed else 0.0 16/17 (1): ($OMC$CF$sim1, _) = PNlib.Functions.decreasingFactor(1, 0, P3.t_, P3.minMarks, P3.maxMarks, P3.conMarkChange, 0.0, {1.0}, {}, {T2.outPlaces[1].prelimSpeed}, {}, {1.0}, {}, P3.fireIn and not {false}, {} and not {}) 17/18 (1): $OMC$CF$sim1[1] = T2.outPlaces[1].decreasingFactor 18/19 (1): P2.conMarkChange = if P2.feeding.vec[1] then T1.instantaneousSpeed else 0.0 Variables: 1: P2.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 2: T2.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 3: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 4: P3.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 5: $OMC$CF$sim3[1]:VARIABLE() type: Real [2] 6: P1.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 7: T1.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 8: $OMC$CF$sim3[2]:VARIABLE() type: Real [2] 9: T2.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 10: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 11: T2.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 12: P1.outTransition[1].instSpeed:VARIABLE(flow=false ) "Instantaneous speeds of continuous output transitions" type: Real [2] 13: P1.firingSumOut.vec1[1]:VARIABLE(protected = true ) type: Real [2] 14: P1.firingSumOut.vec1[2]:VARIABLE(protected = true ) type: Real [2] 15: P1.outTransition[2].instSpeed:VARIABLE(flow=false ) "Instantaneous speeds of continuous output transitions" type: Real [2] 16: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 17: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 18: T1.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 19: $OMC$CF$sim2[1]:VARIABLE() type: Real [1] [/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.002548/0.46, allocations: 2.829 MB / 0.5803 GB, free: 15.48 MB / 430.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.ExtTest.DoubleArcwithPCtoTC could not be translated