Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TATest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/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.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TATest") translateModel(PNlib.Examples.ExtTest.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TATest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001721/0.001721, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.348/1.348, 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.07679/0.07679, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09507, allocations: 53.48 MB / 480.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.004515/0.09962, allocations: 3.914 MB / 484.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004777/0.1044, allocations: 2.801 MB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000521/0.105, allocations: 19.94 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.1056, allocations: 349.2 kB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008349/0.1065, allocations: 357.2 kB / 487.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.1088, allocations: 1.236 MB / 489.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.1123, allocations: 3.639 MB / 492.8 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009853/0.1133, allocations: 0.8138 MB / 493.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.115, allocations: 1.48 MB / 495.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.1164, allocations: 1.252 MB / 496.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005101/0.1169, allocations: 332 kB / 496.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.1182, allocations: 0.7259 MB / 497.4 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005874/0.1188, allocations: 0.6618 MB / 498 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.1201, allocations: 1.419 MB / 499.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.1235, allocations: 3.692 MB / 0.4913 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1235, allocations: 8 kB / 0.4914 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1235, allocations: 0 / 0.4914 GB, free: 14.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.869e-05/0.1235, allocations: 0 / 0.4914 GB, free: 14.19 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.004212/0.1277, allocations: 3.377 MB / 0.4947 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1278, allocations: 15.89 kB / 0.4947 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.1299, allocations: 0.524 MB / 0.4952 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.1318, allocations: 1.113 MB / 0.4963 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005805/0.1323, allocations: 0.7628 MB / 0.497 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.1328, allocations: 327.9 kB / 0.4973 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008404/0.1412, allocations: 5.251 MB / 0.5025 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.416e-05/0.1413, allocations: 7.938 kB / 0.5025 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004154/0.1417, allocations: 155.9 kB / 0.5026 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003775/0.1421, allocations: 284.5 kB / 0.5029 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2229/0.365, allocations: 3.883 MB / 0.5067 GB, free: 33.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.3798, allocations: 10.19 MB / 0.5166 GB, free: 27.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005463/0.3853, allocations: 5.094 MB / 0.5216 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00442/0.3898, allocations: 4.5 MB / 0.526 GB, free: 22.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.3901, allocations: 302.4 kB / 0.5263 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003426/0.3935, allocations: 2.678 MB / 0.5289 GB, free: 20.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=212): time 3.877e-06/0.3935, allocations: 0 / 0.5289 GB, free: 20.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=212): time 0.01245/0.406, allocations: 8.44 MB / 0.5371 GB, free: 15.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005014/0.4065, allocations: 1.301 MB / 0.5384 GB, free: 13.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.4078, allocations: 1.116 MB / 0.5395 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.408, allocations: 129.7 kB / 0.5396 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.4085, allocations: 0.8792 MB / 0.5405 GB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.4089, allocations: 0.5723 MB / 0.541 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007533/0.4096, allocations: 0.72 MB / 0.5417 GB, free: 10.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.4097, allocations: 341.9 kB / 0.5421 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.4116, allocations: 1.558 MB / 0.5436 GB, free: 8.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/0.4139, allocations: 2.562 MB / 0.5461 GB, free: 5.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004488/0.4184, allocations: 4.927 MB / 0.5509 GB, free: 15.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/0.4184, allocations: 11.94 kB / 0.5509 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.00812/0.4266, allocations: 5.486 MB / 0.5563 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005452/0.4271, allocations: 0.8076 MB / 0.5571 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005372/0.4325, allocations: 3.545 MB / 0.5605 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/0.4349, allocations: 0.6134 MB / 0.5611 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.4361, allocations: 359.1 kB / 0.5615 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.4377, allocations: 1.181 MB / 0.5626 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.4396, allocations: 412.6 kB / 0.563 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004814/0.4401, allocations: 164 kB / 0.5632 GB, free: 2.703 MB / 398.1 MB Warning: Assuming fixed start value for the following 36 variables: 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 ) type: Integer P2.enableOut.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 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 314 ($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.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$PRE.P2.enableOut.disTAout[1],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,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],$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[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[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P2.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T3.firingCon,T3.inPlaces[2].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[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[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,TA2.outTransition.arcType,T2.fire_,TA1.outTransition.arcType,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],T1.activation.testValueInt[1],T3.activation.testValueInt[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntIn[2],T3.activation.normalArc[2],T3.activation.testValueInt[2],T3.activation.arcType[2],T3.activation.disPlaceIn[2],T3.activation.minTokensInt[2],T3.activation.tIntIn[2],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[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],P2.outTransition[1].arcWeightint,P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.normalArc[1],T3.activation.fed[2],T3.activation.fed[1],T3.activation.arcType[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[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],TA2.testColor[3],TA2.testColor[2],TA2.testColor[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.emptying.vec[1],P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireOut[1],$PRE.P2.fireOut[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.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.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.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].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 (343): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 23 * 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 {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.003669/0.4438, allocations: 1.945 MB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008522/0.4447, allocations: 210.3 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.4552, allocations: 6.657 MB / 0.5718 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.4553, allocations: 3.984 kB / 0.5718 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.009525/0.4648, allocations: 6.439 MB / 0.5781 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004185/0.4652, allocations: 226.9 kB / 0.5783 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006393/0.4659, allocations: 199.9 kB / 0.5785 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.4674, allocations: 235.8 kB / 0.5787 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/0.4685, allocations: 0.6992 MB / 0.5794 GB, free: 1.742 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 (3): ($OMC$CF$sim3, $OMC$CF$sim4) = PNlib.Functions.decreasingFactor(1, 2, P1.t_, P1.minMarks, P1.maxMarks, T3.inPlaces[2].speedSum, T2.outPlaces[1].speedSum, {1.5}, {P1.outTransition[1].maxSpeed, 1.0}, {T2.outPlaces[1].prelimSpeed}, {P1.outTransition[1].prelimSpeed, T3.inPlaces[2].prelimSpeed}, {1.0}, {P1.enableOut.arcWeight[1], 2.0}, P1.fireIn and not {false}, P1.fireOut and not {false, false}) Variables: 1: P1.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" type: Real [2] 2: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 3: T1.outPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" 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 (2): ($OMC$CF$sim1, $OMC$CF$sim2) = PNlib.Functions.decreasingFactor(1, 1, P2.t_, P2.minMarks, P2.maxMarks, T3.inPlaces[1].speedSum, T1.outPlaces[1].speedSum, {1.0}, {P2.outTransition[1].maxSpeed}, {T1.outPlaces[1].prelimSpeed}, {P2.outTransition[1].prelimSpeed}, {1.0}, {P2.enableOut.arcWeight[1]}, P2.fireIn and not {false}, P2.fireOut and not {false}) 2/3 (1): T3.inPlaces[2].prelimSpeed = PNlib.Functions.preliminarySpeed(2, 0, {1.0, 2.0}, {}, {T3.inPlaces[1].speedSum, T3.inPlaces[2].speedSum}, {}, 1.0, T3.activation.weaklyInputActiveVec, {}) 3/4 (1): $OMC$CF$sim4[1] = T1.inPlaces[1].decreasingFactor 4/5 (1): $cse1 = min(T1.inPlaces[1].decreasingFactor, T1.outPlaces[1].decreasingFactor) 5/6 (1): $OMC$CF$sim1[1] = T1.outPlaces[1].decreasingFactor 6/7 (1): $OMC$CF$sim3[1] = T2.outPlaces[1].decreasingFactor 7/8 (1): $cse2 = min(8.777798510069901e304, T2.outPlaces[1].decreasingFactor) 8/9 (1): T2.instantaneousSpeed = min($cse2 * 1.5, T2.outPlaces[1].prelimSpeed) 9/10 (3): ($OMC$CF$sim3, $OMC$CF$sim4) = PNlib.Functions.decreasingFactor(1, 2, P1.t_, P1.minMarks, P1.maxMarks, T3.inPlaces[2].speedSum, T2.outPlaces[1].speedSum, {1.5}, {P1.outTransition[1].maxSpeed, 1.0}, {T2.outPlaces[1].prelimSpeed}, {P1.outTransition[1].prelimSpeed, T3.inPlaces[2].prelimSpeed}, {1.0}, {P1.enableOut.arcWeight[1], 2.0}, P1.fireIn and not {false}, P1.fireOut and not {false, false}) 10/13 (1): $OMC$CF$sim4[2] = T3.inPlaces[2].decreasingFactor 11/14 (1): $cse4 = min(T3.inPlaces[1].decreasingFactor, T3.inPlaces[2].decreasingFactor) 12/15 (1): $OMC$CF$sim2[1] = T3.inPlaces[1].decreasingFactor 13/16 (1): T2.outPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(0, 1, {}, {1.0}, {}, {T2.outPlaces[1].speedSum}, 1.5, {}, T2.activation.weaklyOutputActiveVec) 14/17 (1): T2.outPlaces[1].speedSum = P1.firingSumOut.vec1[1] + P1.firingSumOut.vec1[2] 15/18 (1): P1.firingSumOut.vec1[2] = if P1.emptying.vec[2] then 2.0 * T3.instantaneousSpeed else 0.0 16/19 (1): T3.instantaneousSpeed = min($cse3, T3.inPlaces[2].prelimSpeed) 17/20 (1): $cse3 = min($cse4, 8.777798510069901e304) 18/21 (1): P2.outTransition[1].instSpeed = if TA2.normalArc then 0.0 else T3.instantaneousSpeed 19/22 (1): T1.outPlaces[1].speedSum = if P2.emptying.vec[1] then P2.enableOut.arcWeight[1] * P2.outTransition[1].instSpeed else 0.0 20/23 (1): T1.outPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 1, {1.0}, {1.0}, {T3.inPlaces[2].speedSum}, {T1.outPlaces[1].speedSum}, 1.0, T1.activation.weaklyInputActiveVec, T1.activation.weaklyOutputActiveVec) 21/24 (1): T1.instantaneousSpeed = min($cse1, T1.outPlaces[1].prelimSpeed) 22/25 (1): P1.outTransition[1].prelimSpeed = if TA1.normalArc then 0.0 else T1.outPlaces[1].prelimSpeed 23/26 (1): T3.inPlaces[2].speedSum = if P1.feeding.vec[1] then T2.instantaneousSpeed else 0.0 24/27 (1): T3.inPlaces[1].speedSum = if P2.feeding.vec[1] then T1.instantaneousSpeed else 0.0 25/28 (1): P1.outTransition[1].instSpeed = if TA1.normalArc then 0.0 else T1.instantaneousSpeed 26/29 (1): P1.firingSumOut.vec1[1] = if P1.emptying.vec[1] then P1.enableOut.arcWeight[1] * P1.outTransition[1].instSpeed else 0.0 27/30 (1): P2.outTransition[1].prelimSpeed = if TA2.normalArc then 0.0 else T3.inPlaces[2].prelimSpeed Variables: 1: T3.inPlaces[2].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [2] 2: P1.firingSumOut.vec1[1]:VARIABLE(protected = true ) type: Real [2] 3: P1.outTransition[1].instSpeed:VARIABLE(flow=false ) "Instantaneous speeds of continuous output transitions" type: Real [2] 4: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 5: T2.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 6: P1.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" type: Real [2] 7: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 8: T1.outPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 9: T1.outPlaces[1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1] 10: P2.outTransition[1].instSpeed:VARIABLE(flow=false ) "Instantaneous speeds of continuous output transitions" type: Real [1] 11: $cse4:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 13: T3.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 14: P1.firingSumOut.vec1[2]:VARIABLE(protected = true ) type: Real [2] 15: T2.outPlaces[1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1] 16: $OMC$CF$sim2[1]:VARIABLE() type: Real [1] 17: T3.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [2] 18: T3.inPlaces[2].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [2] 19: $OMC$CF$sim4[2]:VARIABLE() type: Real [2] 20: T2.outPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 21: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 22: T2.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 23: $OMC$CF$sim3[1]:VARIABLE() type: Real [1] 24: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 25: T1.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 26: T1.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 27: $OMC$CF$sim4[1]:VARIABLE() type: Real [2] 28: T3.inPlaces[2].speedSum:VARIABLE(flow=false ) "Input speeds of continuous input places" type: Real [2] 29: T3.inPlaces[1].speedSum:VARIABLE(flow=false ) "Input speeds of continuous input places" type: Real [2] 30: P2.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" 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.002682/0.4712, allocations: 2.596 MB / 0.5819 GB, free: 14.78 MB / 430.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.ExtTest.TATest could not be translated