Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.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.TAwithWeaklyActivation,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.TAwithWeaklyActivation") translateModel(PNlib.Examples.ExtTest.TAwithWeaklyActivation,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.TAwithWeaklyActivation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001249/0.001249, allocations: 183.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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07874/0.07874, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 427 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/0.09372, allocations: 53.48 MB / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithWeaklyActivation): time 0.00495/0.09872, allocations: 3.727 MB / 484.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00507/0.1038, allocations: 2.75 MB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000782/0.1046, allocations: 23.88 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.1054, allocations: 325.4 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.1065, allocations: 321.5 kB / 487.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.1091, allocations: 1.231 MB / 488.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.1129, allocations: 3.444 MB / 492.3 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008391/0.1138, allocations: 0.5713 MB / 492.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.1156, allocations: 1.367 MB / 494.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.1172, allocations: 1.05 MB / 495.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006661/0.1178, allocations: 268 kB / 495.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.1189, allocations: 0.6673 MB / 496.2 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004939/0.1194, allocations: 0.5333 MB / 496.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.1205, allocations: 1.159 MB / 497.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.1232, allocations: 3.042 MB / 0.4892 GB, free: 412 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1233, allocations: 4 kB / 0.4892 GB, free: 408 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1233, allocations: 0 / 0.4892 GB, free: 408 kB / 366.1 MB Notification: Performance of Transformations before backend: time 2.855e-05/0.1233, allocations: 0 / 0.4892 GB, free: 408 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 594 * Number of variables: 594 Notification: Performance of Generate backend data structure: time 0.003481/0.1268, allocations: 2.945 MB / 0.4921 GB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1268, allocations: 11.89 kB / 0.4921 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.1285, allocations: 429.9 kB / 0.4925 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.13, allocations: 0.9494 MB / 0.4934 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004479/0.1305, allocations: 0.5778 MB / 0.494 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/0.1308, allocations: 259.9 kB / 0.4942 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005794/0.1366, allocations: 4.19 MB / 0.4983 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.1367, allocations: 7.938 kB / 0.4983 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/0.137, allocations: 123.9 kB / 0.4985 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000303/0.1373, allocations: 219.5 kB / 0.4987 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004966/0.1422, allocations: 3.079 MB / 0.5017 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2296/0.3719, allocations: 8.478 MB / 0.5099 GB, free: 28.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.3763, allocations: 3.972 MB / 0.5138 GB, free: 26.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003351/0.3797, allocations: 3.522 MB / 0.5173 GB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/0.3813, allocations: 3.162 MB / 0.5204 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003616/0.3849, allocations: 2.199 MB / 0.5225 GB, free: 20.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=189): time 5.009e-06/0.385, allocations: 3.844 kB / 0.5225 GB, free: 20.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=189): time 0.01214/0.3971, allocations: 7.065 MB / 0.5294 GB, free: 17.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004478/0.3976, allocations: 1.206 MB / 0.5306 GB, free: 16.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.3987, allocations: 0.9387 MB / 0.5315 GB, free: 16.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.3989, allocations: 119.3 kB / 0.5316 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.3993, allocations: 0.7094 MB / 0.5323 GB, free: 15.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.3996, allocations: 0.5035 MB / 0.5328 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000758/0.4004, allocations: 0.6133 MB / 0.5334 GB, free: 14.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.99e-05/0.4005, allocations: 342.8 kB / 0.5337 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.4024, allocations: 1.279 MB / 0.535 GB, free: 14.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.4045, allocations: 2.161 MB / 0.5371 GB, free: 12.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.4082, allocations: 4.455 MB / 0.5414 GB, free: 8.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/0.4082, allocations: 6.562 kB / 0.5414 GB, free: 8.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.005616/0.4139, allocations: 4.99 MB / 0.5463 GB, free: 3.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.4141, allocations: 0.7886 MB / 0.5471 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00354/0.4177, allocations: 3.108 MB / 0.5501 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.4194, allocations: 462.3 kB / 0.5506 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/0.4203, allocations: 307.3 kB / 0.5509 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.4215, allocations: 1.053 MB / 0.5519 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.423, allocations: 361 kB / 0.5522 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.4232, allocations: 144 kB / 0.5524 GB, free: 13.4 MB / 398.1 MB Warning: Assuming fixed start value for the following 36 variables: 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 276 ($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,T2.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition1,T3.firingCon,T3.inPlaces[1].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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.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,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[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.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,TA1.outTransition.arcType,T1.fire_,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedIn.vec[1],T2.activation.testValueInt[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[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.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],P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.fed[1],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.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[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.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,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 (300): * Single equations (assignments): 276 * 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 {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.002257/0.4255, allocations: 1.745 MB / 0.5541 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/0.4259, allocations: 182.5 kB / 0.5542 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008019/0.434, allocations: 5.5 MB / 0.5596 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.434, allocations: 7.922 kB / 0.5596 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007472/0.4415, allocations: 5.269 MB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.4419, allocations: 211.1 kB / 0.565 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005345/0.4424, allocations: 185.2 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.4436, allocations: 203.8 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009102/0.4445, allocations: 0.5737 MB / 0.5659 GB, free: 15.23 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$sim2, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(1, 2, P1.t_, P1.minMarks, P1.maxMarks, T3.inPlaces[1].speedSum, T1.outPlaces[1].speedSum, {T1.maximumSpeed}, {P1.outTransition[1].maxSpeed, T3.maximumSpeed}, {T1.outPlaces[1].prelimSpeed}, {P1.outTransition[1].prelimSpeed, T3.inPlaces[1].prelimSpeed}, {1.0}, {P1.enableOut.arcWeight[1], 1.0}, P1.fireIn and not {false}, P1.fireOut and not {false, false}) Variables: 1: T3.inPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 2: P1.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" type: Real [2] 3: T2.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 (1): ($OMC$CF$sim1, _) = PNlib.Functions.decreasingFactor(1, 0, P2.t_, P2.minMarks, P2.maxMarks, P2.conMarkChange, 0.0, {1.0}, {}, {T2.outPlaces[1].prelimSpeed}, {}, {1.0}, {}, P2.fireIn and not {false}, {} and not {}) 2/2 (1): P2.conMarkChange = if P2.feeding.vec[1] then T2.instantaneousSpeed else 0.0 3/3 (1): T2.instantaneousSpeed = min($cse2, T2.outPlaces[1].prelimSpeed) 4/4 (1): $cse2 = min(T2.inPlaces[1].decreasingFactor, T2.outPlaces[1].decreasingFactor) 5/5 (1): $OMC$CF$sim1[1] = T2.outPlaces[1].decreasingFactor 6/6 (1): P1.outTransition[1].instSpeed = if TA1.normalArc then 0.0 else T2.instantaneousSpeed 7/7 (1): P1.firingSumOut.vec1[1] = if P1.emptying.vec[1] then P1.enableOut.arcWeight[1] * P1.outTransition[1].instSpeed else 0.0 8/8 (1): T1.outPlaces[1].speedSum = P1.firingSumOut.vec1[1] + P1.firingSumOut.vec1[2] 9/9 (1): P1.firingSumOut.vec1[2] = if P1.emptying.vec[2] then T3.instantaneousSpeed else 0.0 10/10 (1): T3.instantaneousSpeed = min($cse3 * T3.maximumSpeed, T3.inPlaces[1].prelimSpeed) 11/11 (1): $cse3 = min(T3.inPlaces[1].decreasingFactor, 8.777798510069901e304) 12/12 (1): $OMC$CF$sim3[2] = T3.inPlaces[1].decreasingFactor 13/13 (1): $OMC$CF$sim3[1] = T2.inPlaces[1].decreasingFactor 14/14 (1): $OMC$CF$sim2[1] = T1.outPlaces[1].decreasingFactor 15/15 (1): $cse1 = min(8.777798510069901e304, T1.outPlaces[1].decreasingFactor) 16/16 (1): T1.instantaneousSpeed = min($cse1 * T1.maximumSpeed, T1.outPlaces[1].prelimSpeed) 17/17 (1): T3.inPlaces[1].speedSum = if P1.feeding.vec[1] then T1.instantaneousSpeed else 0.0 18/18 (3): ($OMC$CF$sim2, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(1, 2, P1.t_, P1.minMarks, P1.maxMarks, T3.inPlaces[1].speedSum, T1.outPlaces[1].speedSum, {T1.maximumSpeed}, {P1.outTransition[1].maxSpeed, T3.maximumSpeed}, {T1.outPlaces[1].prelimSpeed}, {P1.outTransition[1].prelimSpeed, T3.inPlaces[1].prelimSpeed}, {1.0}, {P1.enableOut.arcWeight[1], 1.0}, P1.fireIn and not {false}, P1.fireOut and not {false, false}) 19/21 (1): T1.outPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(0, 1, {}, {1.0}, {}, {T1.outPlaces[1].speedSum}, T1.maximumSpeed, {}, T1.activation.weaklyOutputActiveVec) 20/22 (1): T2.outPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 1, {1.0}, {1.0}, {T3.inPlaces[1].speedSum}, {0.0}, 1.0, T2.activation.weaklyInputActiveVec, T2.activation.weaklyOutputActiveVec) 21/23 (1): P1.outTransition[1].prelimSpeed = if TA1.normalArc then 0.0 else T2.outPlaces[1].prelimSpeed 22/24 (1): T3.inPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 0, {1.0}, {}, {T3.inPlaces[1].speedSum}, {}, T3.maximumSpeed, T3.activation.weaklyInputActiveVec, {}) Variables: 1: T3.inPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 2: P1.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" type: Real [2] 3: T2.outPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 4: T1.outPlaces[1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1] 5: T1.outPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 6: $OMC$CF$sim3[2]:VARIABLE() type: Real [2] 7: T3.inPlaces[1].speedSum:VARIABLE(flow=false ) "Input speeds of continuous input places" type: Real [1] 8: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 9: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 10: T1.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 11: $OMC$CF$sim2[1]:VARIABLE() type: Real [1] 12: T2.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 13: $OMC$CF$sim3[1]:VARIABLE() type: Real [2] 14: T3.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 15: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 16: T3.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 17: P1.firingSumOut.vec1[2]:VARIABLE(protected = true ) type: Real [2] 18: P1.firingSumOut.vec1[1]:VARIABLE(protected = true ) type: Real [2] 19: P1.outTransition[1].instSpeed:VARIABLE(flow=false ) "Instantaneous speeds of continuous output transitions" type: Real [2] 20: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 21: T2.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 22: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 23: T2.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 24: P2.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00214/0.4467, allocations: 2.274 MB / 0.5681 GB, free: 12.69 MB / 414.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.ExtTest.TAwithWeaklyActivation could not be translated