Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.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.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001361/0.001361, allocations: 190.7 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.331/1.331, 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.07945/0.07945, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.91 kB / 427 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08902, allocations: 53.48 MB / 480.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.004242/0.0933, allocations: 2.723 MB / 483.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.09781, allocations: 2.254 MB / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006144/0.09845, allocations: 15.98 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.099, allocations: 218.2 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000614/0.09962, allocations: 222.2 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.1017, allocations: 1.032 MB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.1041, allocations: 2.641 MB / 489.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.1046, allocations: 363.3 kB / 489.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009123/0.1055, allocations: 0.9777 MB / 490.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000816/0.1063, allocations: 0.7816 MB / 491.7 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002741/0.1066, allocations: 204 kB / 491.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008309/0.1075, allocations: 0.6087 MB / 492.5 MB, free: 8.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.1078, allocations: 378.7 kB / 492.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008457/0.1086, allocations: 0.879 MB / 493.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.1107, allocations: 2.326 MB / 496.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1108, allocations: 3.938 kB / 496.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1108, allocations: 0 / 496.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1108, allocations: 4 kB / 496.1 MB, free: 5.344 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.002819/0.1136, allocations: 2.363 MB / 498.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1137, allocations: 15.89 kB / 498.4 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.1152, allocations: 350.9 kB / 498.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.1164, allocations: 0.7479 MB / 499.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.1167, allocations: 389.8 kB / 499.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/0.117, allocations: 188 kB / 0.4884 GB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/0.1213, allocations: 3.048 MB / 0.4914 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.1214, allocations: 11.94 kB / 0.4914 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.1216, allocations: 87.95 kB / 0.4915 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/0.1218, allocations: 166.4 kB / 0.4916 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.1253, allocations: 2.22 MB / 0.4938 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00766/0.133, allocations: 5.734 MB / 0.4994 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.1363, allocations: 2.918 MB / 0.5022 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1968/0.3331, allocations: 2.751 MB / 0.5049 GB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002585/0.3357, allocations: 5.814 MB / 0.5106 GB, free: 28.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002674/0.3384, allocations: 1.72 MB / 0.5123 GB, free: 27.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 2.865e-06/0.3384, allocations: 1.562 kB / 0.5123 GB, free: 27.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.00774/0.3462, allocations: 5.435 MB / 0.5176 GB, free: 25.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003828/0.3465, allocations: 1.075 MB / 0.5186 GB, free: 24.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.3474, allocations: 0.685 MB / 0.5193 GB, free: 24.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.3476, allocations: 104.8 kB / 0.5194 GB, free: 24.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.3479, allocations: 0.5126 MB / 0.5199 GB, free: 24.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.3482, allocations: 392.7 kB / 0.5203 GB, free: 23.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005511/0.3488, allocations: 472.8 kB / 0.5207 GB, free: 23.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.3488, allocations: 334.7 kB / 0.521 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.3502, allocations: 0.9053 MB / 0.5219 GB, free: 23.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.3519, allocations: 1.636 MB / 0.5235 GB, free: 21.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/0.3549, allocations: 3.615 MB / 0.5271 GB, free: 18.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/0.355, allocations: 10.53 kB / 0.5271 GB, free: 18.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004421/0.3594, allocations: 3.559 MB / 0.5305 GB, free: 17.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.3596, allocations: 0.6947 MB / 0.5312 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002701/0.3623, allocations: 1.957 MB / 0.5331 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.3634, allocations: 286.8 kB / 0.5334 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/0.3641, allocations: 234.9 kB / 0.5336 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005846/0.3647, allocations: 0.8186 MB / 0.5344 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009801/0.3657, allocations: 258.9 kB / 0.5347 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.3658, allocations: 122.9 kB / 0.5348 GB, free: 14.82 MB / 382.1 MB Warning: Assuming fixed start value for the following 36 variables: 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 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: 96 * Number of states: 0 () * Number of discrete variables: 231 ($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,$whenCondition6,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.P2.enableIn.disTAin[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.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],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P2.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.vec[1],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,P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[2],P2.delayPassedIn.vec[1],T1.activation.disPlaceOut[2],T1.activation.maxTokensInt[2],T1.activation.tIntOut[2],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],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],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[2],T1.activation.emptied[1],T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,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[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 21 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001402/0.3672, allocations: 1.472 MB / 0.5362 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.3676, allocations: 145.1 kB / 0.5364 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/0.3725, allocations: 4.362 MB / 0.5406 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3725, allocations: 3.984 kB / 0.5406 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004777/0.3773, allocations: 4.267 MB / 0.5448 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.3776, allocations: 175.7 kB / 0.545 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/0.3779, allocations: 159.9 kB / 0.5451 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.3788, allocations: 147.7 kB / 0.5453 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004787/0.3793, allocations: 343.4 kB / 0.5456 GB, free: 5.137 MB / 382.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 (2): ($OMC$CF$sim2, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(1, 1, P1.t_, P1.minMarks, P1.maxMarks, T1.inPlaces[1].speedSum, T1.outPlaces[1].speedSum, {1.0}, {1.0}, {P2.inTransition[1].prelimSpeed}, {P2.inTransition[1].prelimSpeed}, {2.0}, {3.0}, P1.fireIn and not {false}, P1.fireOut and not {false}) Variables: 1: $OMC$CF$sim3[1]:VARIABLE() type: Real [1] 2: P2.inTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous input transitions" 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[1] = T1.outPlaces[1].decreasingFactor 2/2 (1): $cse2 = min(T1.outPlaces[1].decreasingFactor, P2.inTransition[1].decreasingFactor) 3/3 (1): $OMC$CF$sim1[1] = P2.inTransition[1].decreasingFactor 4/4 (1): ($OMC$CF$sim1, _) = PNlib.Functions.decreasingFactor(1, 0, P2.t_, P2.minMarks, P2.maxMarks, P2.conMarkChange, 0.0, {1.0}, {}, {P2.inTransition[1].prelimSpeed}, {}, {2.0}, {}, P2.fireIn and not {false}, {} and not {}) 5/5 (2): ($OMC$CF$sim2, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(1, 1, P1.t_, P1.minMarks, P1.maxMarks, T1.inPlaces[1].speedSum, T1.outPlaces[1].speedSum, {1.0}, {1.0}, {P2.inTransition[1].prelimSpeed}, {P2.inTransition[1].prelimSpeed}, {2.0}, {3.0}, P1.fireIn and not {false}, P1.fireOut and not {false}) 6/7 (1): $OMC$CF$sim3[1] = T1.inPlaces[1].decreasingFactor 7/8 (1): $cse1 = min(T1.inPlaces[1].decreasingFactor, $cse2) 8/9 (1): P2.inTransition[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 2, {3.0}, {2.0, 2.0}, {T1.inPlaces[1].speedSum}, {T1.outPlaces[1].speedSum, 0.0}, 1.0, T1.activation.weaklyInputActiveVec, T1.activation.weaklyOutputActiveVec) 9/10 (1): T1.inPlaces[1].speedSum = if P1.feeding.vec[1] then 2.0 * T1.instantaneousSpeed else 0.0 10/11 (1): T1.instantaneousSpeed = min($cse1, P2.inTransition[1].prelimSpeed) 11/12 (1): P2.conMarkChange = if P2.feeding.vec[1] then 2.0 * T1.instantaneousSpeed else 0.0 12/13 (1): T1.outPlaces[1].speedSum = if P1.emptying.vec[1] then 3.0 * T1.instantaneousSpeed else 0.0 Variables: 1: T1.outPlaces[1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [2] 2: P2.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 3: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 4: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 5: T1.inPlaces[1].speedSum:VARIABLE(flow=false ) "Input speeds of continuous input places" type: Real [1] 6: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 7: T1.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 8: $OMC$CF$sim3[1]:VARIABLE() type: Real [1] 9: P2.inTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous input transitions" type: Real [1] 10: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 11: P2.inTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [1] 12: T1.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [2] 13: $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.001484/0.3808, allocations: 1.488 MB / 0.547 GB, free: 3.496 MB / 382.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.ConTest.LoopAndArcweight could not be translated