Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.IAwithPCtoTC.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.IAwithPCtoTC,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.IAwithPCtoTC") translateModel(PNlib.Examples.ExtTest.IAwithPCtoTC,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.IAwithPCtoTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 109.6 kB / 16.42 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.001098/0.001098, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.329/1.329, allocations: 222.9 MB / 241 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.08778/0.08778, allocations: 16.74 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.91 kB / 427 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09616, allocations: 53.47 MB / 480.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.IAwithPCtoTC): time 0.004886/0.1011, allocations: 4.032 MB / 484.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005828/0.1069, allocations: 3.117 MB / 487.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009763/0.1079, allocations: 23.94 kB / 487.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008632/0.1088, allocations: 357.1 kB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.1102, allocations: 421.2 kB / 488.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.1133, allocations: 1.469 MB / 489.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004813/0.1181, allocations: 4.128 MB / 494 MB, free: 7.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.119, allocations: 0.5953 MB / 494.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.1212, allocations: 1.562 MB / 496.2 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.123, allocations: 1.135 MB / 497.3 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007259/0.1237, allocations: 284 kB / 497.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.1251, allocations: 0.6791 MB / 498.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007581/0.1259, allocations: 0.5606 MB / 498.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.1277, allocations: 1.244 MB / 0.4883 GB, free: 1.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003553/0.1312, allocations: 3.209 MB / 0.4915 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1312, allocations: 0 / 0.4915 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1313, allocations: 0 / 0.4915 GB, free: 14.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.149e-05/0.1313, allocations: 0 / 0.4915 GB, free: 14.05 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: 644 * Number of variables: 644 Notification: Performance of Generate backend data structure: time 0.004529/0.1359, allocations: 3.378 MB / 0.4948 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.1359, allocations: 8.031 kB / 0.4948 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.1378, allocations: 465.4 kB / 0.4952 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.1395, allocations: 0.9944 MB / 0.4962 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004321/0.1399, allocations: 0.5896 MB / 0.4968 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/0.1403, allocations: 272 kB / 0.497 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006426/0.1467, allocations: 4.417 MB / 0.5014 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.1468, allocations: 3.938 kB / 0.5014 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.1471, allocations: 128 kB / 0.5015 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003199/0.1474, allocations: 231.5 kB / 0.5017 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2312/0.3786, allocations: 3.179 MB / 0.5048 GB, free: 32.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.3929, allocations: 9.125 MB / 0.5137 GB, free: 28.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/0.3972, allocations: 4.279 MB / 0.5179 GB, free: 25.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/0.4009, allocations: 3.699 MB / 0.5215 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.4025, allocations: 2.987 MB / 0.5244 GB, free: 20 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003371/0.4059, allocations: 2.386 MB / 0.5268 GB, free: 19.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=226): time 3.838e-06/0.4059, allocations: 0 / 0.5268 GB, free: 19.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.009951/0.4159, allocations: 7.25 MB / 0.5338 GB, free: 15.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006195/0.4165, allocations: 1.554 MB / 0.5354 GB, free: 13.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.4178, allocations: 1.015 MB / 0.5363 GB, free: 13.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.4181, allocations: 148.7 kB / 0.5365 GB, free: 13.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.4185, allocations: 0.7434 MB / 0.5372 GB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.4189, allocations: 0.5891 MB / 0.5378 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006946/0.4196, allocations: 0.6889 MB / 0.5385 GB, free: 11.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.4197, allocations: 350.7 kB / 0.5388 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.4215, allocations: 1.393 MB / 0.5402 GB, free: 10.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/0.4238, allocations: 2.47 MB / 0.5426 GB, free: 8.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004491/0.4283, allocations: 5.437 MB / 0.5479 GB, free: 1.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.954e-05/0.4283, allocations: 15.98 kB / 0.5479 GB, free: 1.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008028/0.4364, allocations: 5.781 MB / 0.5535 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006276/0.437, allocations: 1.057 MB / 0.5546 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004522/0.4416, allocations: 3.116 MB / 0.5576 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4426, allocations: 324.5 kB / 0.5579 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.4439, allocations: 375.1 kB / 0.5583 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009673/0.4448, allocations: 0.9372 MB / 0.5592 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.4467, allocations: 408.6 kB / 0.5596 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002759/0.447, allocations: 182.9 kB / 0.5598 GB, free: 5.141 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: 144 * Number of states: 0 () * Number of discrete variables: 343 ($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,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$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[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].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].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].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,T2.activation.testValueInt[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P2.delayPassedIn.vec[1],P3.delayPassedIn.vec[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.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],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.emptied[1],T1.activation.fed[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],TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],$whenCondition6,$whenCondition5,$whenCondition4,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (363): * Single equations (assignments): 330 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.002742/0.4498, allocations: 2.109 MB / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/0.4503, allocations: 214.3 kB / 0.562 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008186/0.4585, allocations: 5.594 MB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.4586, allocations: 7.984 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00743/0.466, allocations: 5.344 MB / 0.5727 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.4663, allocations: 230.9 kB / 0.5729 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006277/0.467, allocations: 231.9 kB / 0.5732 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.4683, allocations: 210.3 kB / 0.5734 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009019/0.4692, allocations: 0.5825 MB / 0.5739 GB, free: 6.195 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 (2): (_, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(0, 2, P1.t_, P1.minMarks, P1.maxMarks, 0.0, -P1.conMarkChange, {}, {1.0, P1.outTransition[2].maxSpeed}, {}, {T1.outPlaces[1].prelimSpeed, P1.outTransition[2].prelimSpeed}, {}, {1.0, P1.enableOut.arcWeight[2]}, {} and not {}, P1.fireOut and not {false, false}) Variables: 1: $OMC$CF$sim3[1]:VARIABLE() type: Real [2] 2: T2.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" 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): P2.conMarkChange = if P2.feeding.vec[1] then T1.instantaneousSpeed else 0.0 6/6 (1): P1.firingSumOut.vec1[1] = if P1.emptying.vec[1] then T1.instantaneousSpeed else 0.0 7/7 (1): -P1.conMarkChange = P1.firingSumOut.vec1[1] + P1.firingSumOut.vec1[2] 8/8 (1): $OMC$CF$sim3[2] = T2.inPlaces[1].decreasingFactor 9/9 (1): $cse2 = min(T2.inPlaces[1].decreasingFactor, T2.outPlaces[1].decreasingFactor) 10/10 (1): T2.instantaneousSpeed = min($cse2, T2.outPlaces[1].prelimSpeed) 11/11 (1): P1.outTransition[2].instSpeed = if TA1.normalArc then 0.0 else T2.instantaneousSpeed 12/12 (1): P1.firingSumOut.vec1[2] = if P1.emptying.vec[2] then P1.enableOut.arcWeight[2] * P1.outTransition[2].instSpeed else 0.0 13/13 (1): P3.conMarkChange = if P3.feeding.vec[1] then T2.instantaneousSpeed else 0.0 14/14 (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 {}) 15/15 (1): $OMC$CF$sim1[1] = T2.outPlaces[1].decreasingFactor 16/16 (2): (_, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(0, 2, P1.t_, P1.minMarks, P1.maxMarks, 0.0, -P1.conMarkChange, {}, {1.0, P1.outTransition[2].maxSpeed}, {}, {T1.outPlaces[1].prelimSpeed, P1.outTransition[2].prelimSpeed}, {}, {1.0, P1.enableOut.arcWeight[2]}, {} and not {}, P1.fireOut and not {false, false}) 17/18 (1): $OMC$CF$sim3[1] = T1.inPlaces[1].decreasingFactor Variables: 1: T1.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 2: $OMC$CF$sim3[1]:VARIABLE() type: Real [2] 3: T2.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 4: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 5: P3.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 6: P1.firingSumOut.vec1[2]:VARIABLE(protected = true ) type: Real [2] 7: P1.outTransition[2].instSpeed:VARIABLE(flow=false ) "Instantaneous speeds of continuous output transitions" type: Real [2] 8: T2.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 9: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 10: T2.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 11: $OMC$CF$sim3[2]:VARIABLE() type: Real [2] 12: P1.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 13: P1.firingSumOut.vec1[1]:VARIABLE(protected = true ) type: Real [2] 14: P2.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 15: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 16: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 17: T1.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 18: $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.002398/0.4716, allocations: 2.756 MB / 0.5766 GB, free: 3.145 MB / 414.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.ExtTest.IAwithPCtoTC could not be translated