Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.IATest.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.IATest,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|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|Time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.IATest") translateModel(PNlib.Examples.ExtTest.IATest,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|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|Time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.IATest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 109.9 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.001521/0.001522, allocations: 187.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.421/1.421, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07747/0.07747, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 427 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09361, allocations: 53.46 MB / 480.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.IATest): time 0.00554/0.09918, allocations: 4.634 MB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.1056, allocations: 3.4 MB / 488.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008454/0.1065, allocations: 27.88 kB / 488.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008708/0.1074, allocations: 420.6 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1085, allocations: 436.5 kB / 489.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.1115, allocations: 1.566 MB / 490.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004833/0.1163, allocations: 4.74 MB / 495.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.1174, allocations: 0.9104 MB / 496.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.1194, allocations: 1.865 MB / 498.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.121, allocations: 1.54 MB / 500 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005904/0.1216, allocations: 400 kB / 0.4887 GB, free: 0.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1227, allocations: 0.7806 MB / 0.4894 GB, free: 180 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006977/0.1234, allocations: 0.798 MB / 0.4902 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.125, allocations: 1.723 MB / 0.4919 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003911/0.1289, allocations: 4.385 MB / 0.4962 GB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1289, allocations: 0 / 0.4962 GB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1289, allocations: 0 / 0.4962 GB, free: 9.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.323e-05/0.129, allocations: 0 / 0.4962 GB, free: 9.246 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.00509/0.1341, allocations: 4.158 MB / 0.5002 GB, free: 4.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1341, allocations: 11.89 kB / 0.5002 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.1368, allocations: 0.6483 MB / 0.5009 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.1389, allocations: 1.325 MB / 0.5022 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000705/0.1396, allocations: 0.8858 MB / 0.503 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004975/0.1401, allocations: 391.9 kB / 0.5034 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2139/0.354, allocations: 6.273 MB / 0.5095 GB, free: 31.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.166e-05/0.3541, allocations: 6.75 kB / 0.5095 GB, free: 31.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/0.3545, allocations: 184.9 kB / 0.5097 GB, free: 31.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005065/0.355, allocations: 336.2 kB / 0.51 GB, free: 31.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008746/0.3637, allocations: 4.621 MB / 0.5145 GB, free: 30.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.38, allocations: 12.23 MB / 0.5265 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00632/0.3864, allocations: 6.069 MB / 0.5324 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004542/0.391, allocations: 5.49 MB / 0.5378 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.3925, allocations: 3.09 MB / 0.5408 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003591/0.3961, allocations: 3.26 MB / 0.544 GB, free: 7.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=274): time 4.148e-06/0.3961, allocations: 0 / 0.544 GB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=274): time 0.0161/0.4123, allocations: 10.34 MB / 0.5541 GB, free: 12.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001258/0.4135, allocations: 1.755 MB / 0.5558 GB, free: 10.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.4158, allocations: 1.319 MB / 0.5571 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003768/0.4162, allocations: 162.3 kB / 0.5572 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.4173, allocations: 1.027 MB / 0.5582 GB, free: 8.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009374/0.4183, allocations: 0.7323 MB / 0.5589 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001481/0.4198, allocations: 0.8843 MB / 0.5598 GB, free: 6.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.42, allocations: 361.9 kB / 0.5602 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003156/0.4231, allocations: 1.85 MB / 0.562 GB, free: 4.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/0.4272, allocations: 3.165 MB / 0.5651 GB, free: 492 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007651/0.4349, allocations: 6.415 MB / 0.5713 GB, free: 9.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-05/0.435, allocations: 12 kB / 0.5713 GB, free: 9.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=525) (initialization): time 0.01048/0.4454, allocations: 6.849 MB / 0.578 GB, free: 2.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007912/0.4463, allocations: 1.121 MB / 0.5791 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005771/0.452, allocations: 4.104 MB / 0.5831 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/0.4549, allocations: 0.7602 MB / 0.5839 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.4565, allocations: 450.9 kB / 0.5843 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.458, allocations: 1.278 MB / 0.5855 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.4606, allocations: 0.4958 MB / 0.586 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007017/0.4613, allocations: 219.9 kB / 0.5862 GB, free: 9.367 MB / 430.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.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 170 * Number of states: 0 () * Number of discrete variables: 411 ($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.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$PRE.P2.enableOut.disTAout[1],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.P2.enableIn.disTAin[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],$PRE.P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P2.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,$PRE.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,$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,$whenCondition1,T3.firingCon,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P3.inTransition[1].disPlace,P3.inTransition[1].maxTokensint,P3.inTransition[1].tint,T3.inPlaces[2].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P3.reStart,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P3.disMarksIn.vec[1],P3.disMarksIn.numtrue,P3.disMarksIn.anytrue,IA2.outTransition.arcType,T2.fire_,IA1.outTransition.arcType,T1.activation.testValueInt[1],T3.activation.testValueInt[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],P3.delayPassedIn.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntIn[2],T3.activation.arcWeightIntOut[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],T3.activation.normalArc[2],T3.activation.testValueInt[2],T3.activation.arcType[2],T3.activation.disPlaceIn[2],T3.activation.minTokensInt[2],T3.activation.tIntIn[2],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P2.outTransition[1].arcWeightint,P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.normalArc[1],T3.activation.emptied[1],T3.activation.fed[2],T3.activation.fed[1],T3.activation.arcType[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.normalArc[1],T1.activation.emptied[1],T1.activation.fed[1],T1.activation.arcType[1],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.emptying.vec[1],P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireOut[1],$PRE.P2.fireOut[1],P2.fireIn[1],$PRE.P2.fireIn[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[2],P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],IA2.testColor[3],IA2.testColor[2],IA2.testColor[1],IA1.testColor[3],IA1.testColor[2],IA1.testColor[1],$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (440): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 33 * 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 {(5,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004221/0.4656, allocations: 2.5 MB / 0.5887 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/0.4667, allocations: 265.8 kB / 0.5889 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/0.4795, allocations: 8.065 MB / 0.5968 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.4796, allocations: 11.97 kB / 0.5968 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01144/0.491, allocations: 7.846 MB / 0.6045 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.4915, allocations: 262.4 kB / 0.6047 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009/0.4924, allocations: 271.9 kB / 0.605 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/0.4942, allocations: 275.7 kB / 0.6053 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/0.4955, allocations: 0.7622 MB / 0.606 GB, free: 4.543 MB / 446.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, P2.t_, P2.minMarks, P2.maxMarks, T3.inPlaces[1].speedSum, T1.outPlaces[1].speedSum, {1.0}, {P2.outTransition[1].maxSpeed}, {T1.outPlaces[1].prelimSpeed}, {P2.outTransition[1].prelimSpeed}, {1.0}, {P2.enableOut.arcWeight[1]}, P2.fireIn and not {false}, P2.fireOut and not {false}) Variables: 1: P2.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" type: Real [1] 2: P1.firingSumOut.vec1[1]:VARIABLE(protected = true ) type: Real [2] [/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$sim3[1] = T3.inPlaces[1].decreasingFactor 2/2 (1): $cse4 = min(T3.inPlaces[1].decreasingFactor, T3.inPlaces[2].decreasingFactor) 3/3 (1): $cse3 = min($cse4, T3.outPlaces[1].decreasingFactor) 4/4 (1): $OMC$CF$sim1[1] = T3.outPlaces[1].decreasingFactor 5/5 (1): ($OMC$CF$sim1, _) = PNlib.Functions.decreasingFactor(1, 0, P3.t_, P3.minMarks, P3.maxMarks, P3.conMarkChange, 0.0, {2.0}, {}, {T3.outPlaces[1].prelimSpeed}, {}, {1.0}, {}, P3.fireIn and not {false}, {} and not {}) 6/6 (1): $OMC$CF$sim4[1] = T2.outPlaces[1].decreasingFactor 7/7 (1): $cse2 = min(8.777798510069901e304, T2.outPlaces[1].decreasingFactor) 8/8 (1): T2.instantaneousSpeed = min($cse2 * 1.5, T2.outPlaces[1].prelimSpeed) 9/9 (1): T3.inPlaces[2].speedSum = if P1.feeding.vec[1] then T2.instantaneousSpeed else 0.0 10/10 (1): $OMC$CF$sim5[1] = T1.inPlaces[1].decreasingFactor 11/11 (1): $cse1 = min(T1.inPlaces[1].decreasingFactor, T1.outPlaces[1].decreasingFactor) 12/12 (1): T1.instantaneousSpeed = min($cse1, T1.outPlaces[1].prelimSpeed) 13/13 (2): ($OMC$CF$sim2, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(1, 1, P2.t_, P2.minMarks, P2.maxMarks, T3.inPlaces[1].speedSum, T1.outPlaces[1].speedSum, {1.0}, {P2.outTransition[1].maxSpeed}, {T1.outPlaces[1].prelimSpeed}, {P2.outTransition[1].prelimSpeed}, {1.0}, {P2.enableOut.arcWeight[1]}, P2.fireIn and not {false}, P2.fireOut and not {false}) 14/15 (1): $OMC$CF$sim2[1] = T1.outPlaces[1].decreasingFactor 15/16 (1): T1.outPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 1, {1.0}, {1.0}, {T3.inPlaces[2].speedSum}, {T1.outPlaces[1].speedSum}, 1.0, T1.activation.weaklyInputActiveVec, T1.activation.weaklyOutputActiveVec) 16/17 (1): T1.outPlaces[1].speedSum = if P2.emptying.vec[1] then P2.enableOut.arcWeight[1] * P2.outTransition[1].instSpeed else 0.0 17/18 (1): P2.outTransition[1].instSpeed = if IA2.normalArc then 0.0 else T3.instantaneousSpeed 18/19 (1): T3.instantaneousSpeed = min($cse3 * 2.0, T3.outPlaces[1].prelimSpeed) 19/20 (1): P3.conMarkChange = if P3.feeding.vec[1] then T3.instantaneousSpeed else 0.0 20/21 (1): P1.firingSumOut.vec1[2] = if P1.emptying.vec[2] then 2.0 * T3.instantaneousSpeed else 0.0 21/22 (1): T2.outPlaces[1].speedSum = P1.firingSumOut.vec1[1] + P1.firingSumOut.vec1[2] 22/23 (3): ($OMC$CF$sim4, $OMC$CF$sim5) = PNlib.Functions.decreasingFactor(1, 2, P1.t_, P1.minMarks, P1.maxMarks, T3.inPlaces[2].speedSum, T2.outPlaces[1].speedSum, {1.5}, {P1.outTransition[1].maxSpeed, 2.0}, {T2.outPlaces[1].prelimSpeed}, {P1.outTransition[1].prelimSpeed, T3.outPlaces[1].prelimSpeed}, {1.0}, {P1.enableOut.arcWeight[1], 2.0}, P1.fireIn and not {false}, P1.fireOut and not {false, false}) 23/26 (1): $OMC$CF$sim5[2] = T3.inPlaces[2].decreasingFactor 24/27 (1): T2.outPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(0, 1, {}, {1.0}, {}, {T2.outPlaces[1].speedSum}, 1.5, {}, T2.activation.weaklyOutputActiveVec) 25/28 (1): P1.outTransition[1].prelimSpeed = if IA1.normalArc then 0.0 else T1.outPlaces[1].prelimSpeed 26/29 (1): T3.outPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(2, 1, {1.0, 2.0}, {1.0}, {T3.inPlaces[1].speedSum, T3.inPlaces[2].speedSum}, {0.0}, 2.0, T3.activation.weaklyInputActiveVec, T3.activation.weaklyOutputActiveVec) 27/30 (1): T3.inPlaces[1].speedSum = if P2.feeding.vec[1] then T1.instantaneousSpeed else 0.0 28/31 (1): P1.outTransition[1].instSpeed = if IA1.normalArc then 0.0 else T1.instantaneousSpeed 29/32 (1): P1.firingSumOut.vec1[1] = if P1.emptying.vec[1] then P1.enableOut.arcWeight[1] * P1.outTransition[1].instSpeed else 0.0 30/33 (1): P2.outTransition[1].prelimSpeed = if IA2.normalArc then 0.0 else T3.outPlaces[1].prelimSpeed Variables: 1: P2.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" type: Real [1] 2: P1.firingSumOut.vec1[1]:VARIABLE(protected = true ) type: Real [2] 3: P1.outTransition[1].instSpeed:VARIABLE(flow=false ) "Instantaneous speeds of continuous output transitions" type: Real [2] 4: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 5: T3.inPlaces[1].speedSum:VARIABLE(flow=false ) "Input speeds of continuous input places" type: Real [2] 6: P1.outTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous output transitions" type: Real [2] 7: T2.outPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 8: T3.inPlaces[2].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [2] 9: $OMC$CF$sim5[2]:VARIABLE() type: Real [2] 10: T2.outPlaces[1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1] 11: P1.firingSumOut.vec1[2]:VARIABLE(protected = true ) type: Real [2] 12: P3.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 13: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 14: T3.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 15: P2.outTransition[1].instSpeed:VARIABLE(flow=false ) "Instantaneous speeds of continuous output transitions" type: Real [1] 16: T1.outPlaces[1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1] 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] 19: T1.outPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 20: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 21: T1.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 22: $OMC$CF$sim5[1]:VARIABLE() type: Real [2] 23: T3.inPlaces[2].speedSum:VARIABLE(flow=false ) "Input speeds of continuous input places" type: Real [2] 24: T2.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 25: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 26: T2.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 27: $OMC$CF$sim4[1]:VARIABLE() type: Real [1] 28: T3.outPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 29: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 30: T3.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 31: $cse4:VARIABLE(protected = true ) type: Real unreplaceable 32: T3.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [2] 33: $OMC$CF$sim3[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.0031/0.4987, allocations: 3.328 MB / 0.6092 GB, free: 0.7266 MB / 446.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.ExtTest.IATest could not be translated