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.001423/0.001423, allocations: 110.2 kB / 16.42 MB, free: 6.484 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.001553/0.001553, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07683/0.07683, allocations: 16.74 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 427 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 53.48 MB / 480.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.IAwithPCtoTC): time 0.00444/0.1067, allocations: 4.031 MB / 484.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.1123, allocations: 3.113 MB / 487.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008157/0.1131, allocations: 31.88 kB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007814/0.1139, allocations: 353.2 kB / 488 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.115, allocations: 353.2 kB / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.1181, allocations: 1.456 MB / 489.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004857/0.1229, allocations: 4.135 MB / 493.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009313/0.1239, allocations: 0.5953 MB / 494.5 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.1262, allocations: 1.558 MB / 496.1 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.1282, allocations: 1.135 MB / 497.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006154/0.1288, allocations: 284 kB / 497.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.13, allocations: 0.6752 MB / 498.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005583/0.1306, allocations: 0.5684 MB / 498.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.1319, allocations: 1.244 MB / 500 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003772/0.1357, allocations: 3.198 MB / 0.4914 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.1358, allocations: 8 kB / 0.4914 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1358, allocations: 0 / 0.4914 GB, free: 14.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.489e-05/0.1358, allocations: 0 / 0.4914 GB, free: 14.14 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.004936/0.1407, allocations: 3.374 MB / 0.4947 GB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.1408, allocations: 12.03 kB / 0.4947 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.1426, allocations: 461.5 kB / 0.4952 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.1443, allocations: 1.006 MB / 0.4961 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005425/0.1448, allocations: 0.5818 MB / 0.4967 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.1452, allocations: 275.9 kB / 0.497 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006263/0.1514, allocations: 4.405 MB / 0.5013 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-05/0.1515, allocations: 7.938 kB / 0.5013 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/0.1518, allocations: 131.9 kB / 0.5014 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003132/0.1521, allocations: 223.5 kB / 0.5016 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2117/0.3638, allocations: 3.184 MB / 0.5047 GB, free: 33.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.377, allocations: 9.129 MB / 0.5136 GB, free: 28.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/0.3817, allocations: 4.28 MB / 0.5178 GB, free: 25.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00379/0.3855, allocations: 3.689 MB / 0.5214 GB, free: 23.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/0.3871, allocations: 2.989 MB / 0.5243 GB, free: 20.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0035/0.3906, allocations: 2.39 MB / 0.5267 GB, free: 19.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=226): time 4.067e-06/0.3907, allocations: 0 / 0.5267 GB, free: 19.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.009739/0.4004, allocations: 7.25 MB / 0.5338 GB, free: 15.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004943/0.4009, allocations: 1.555 MB / 0.5353 GB, free: 14.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.4021, allocations: 1.007 MB / 0.5363 GB, free: 13.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.4023, allocations: 145.9 kB / 0.5364 GB, free: 13.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.4027, allocations: 0.7543 MB / 0.5371 GB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.4031, allocations: 0.584 MB / 0.5377 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006754/0.4038, allocations: 0.6981 MB / 0.5384 GB, free: 11.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.4039, allocations: 351.4 kB / 0.5387 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.4056, allocations: 1.391 MB / 0.5401 GB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.4078, allocations: 2.464 MB / 0.5425 GB, free: 8.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/0.4119, allocations: 5.446 MB / 0.5478 GB, free: 2.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-05/0.4119, allocations: 8 kB / 0.5478 GB, free: 2.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007387/0.4193, allocations: 5.775 MB / 0.5535 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006179/0.4199, allocations: 1.057 MB / 0.5545 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004273/0.4242, allocations: 3.12 MB / 0.5575 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/0.4252, allocations: 331.2 kB / 0.5578 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4262, allocations: 371.1 kB / 0.5582 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009465/0.4272, allocations: 0.9364 MB / 0.5591 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.4289, allocations: 415.5 kB / 0.5595 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.4292, allocations: 172 kB / 0.5597 GB, free: 5.605 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.002883/0.4321, allocations: 2.115 MB / 0.5617 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/0.4326, allocations: 210.3 kB / 0.5619 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008322/0.441, allocations: 5.592 MB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.441, allocations: 7.969 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007278/0.4483, allocations: 5.347 MB / 0.5726 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.4487, allocations: 226.9 kB / 0.5728 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006031/0.4493, allocations: 227.5 kB / 0.5731 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.4506, allocations: 219.8 kB / 0.5733 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009129/0.4515, allocations: 0.5746 MB / 0.5738 GB, free: 6.668 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.002384/0.4539, allocations: 2.763 MB / 0.5765 GB, free: 3.605 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