Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") translateModel(PNlib.Examples.ConTest.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001689/0.001689, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.0787/0.0787, allocations: 16.73 MB / 307.9 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.0797, allocations: 53.47 MB / 480.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.003965/0.0837, allocations: 3.514 MB / 484 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.08775, allocations: 2.699 MB / 486.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.08806, allocations: 23.88 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.08858, allocations: 313.6 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007301/0.08932, allocations: 361.6 kB / 487.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.09118, allocations: 1.216 MB / 488.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.09391, allocations: 3.355 MB / 491.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.09449, allocations: 0.5178 MB / 492.5 MB, free: 8.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.09554, allocations: 1.305 MB / 493.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009101/0.09646, allocations: 0.9487 MB / 494.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.09679, allocations: 240 kB / 494.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008198/0.09762, allocations: 0.6438 MB / 495.6 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.09805, allocations: 490.3 kB / 496.1 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000901/0.09896, allocations: 1.038 MB / 497.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.1013, allocations: 2.76 MB / 499.9 MB, free: 1.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1013, allocations: 0 / 499.9 MB, free: 1.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1013, allocations: 0 / 499.9 MB, free: 1.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.1013, allocations: 0 / 499.9 MB, free: 1.488 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.003143/0.1045, allocations: 2.791 MB / 0.4909 GB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1045, allocations: 11.89 kB / 0.4909 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.1062, allocations: 415.4 kB / 0.4913 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.1074, allocations: 0.8802 MB / 0.4921 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.1078, allocations: 0.4958 MB / 0.4926 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/0.1081, allocations: 228 kB / 0.4928 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005202/0.1133, allocations: 3.787 MB / 0.4965 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.1134, allocations: 11.94 kB / 0.4966 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.1136, allocations: 107.9 kB / 0.4967 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000292/0.1139, allocations: 211.1 kB / 0.4969 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.1181, allocations: 2.757 MB / 0.4995 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.183/0.3011, allocations: 7.514 MB / 0.5069 GB, free: 29.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.3046, allocations: 3.63 MB / 0.5104 GB, free: 28.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.3073, allocations: 3.205 MB / 0.5136 GB, free: 26.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.3087, allocations: 3.076 MB / 0.5166 GB, free: 23.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002574/0.3113, allocations: 1.982 MB / 0.5185 GB, free: 22.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=177): time 2.996e-06/0.3113, allocations: 0 / 0.5185 GB, free: 22.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=177): time 0.01011/0.3214, allocations: 6.391 MB / 0.5247 GB, free: 20.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004018/0.3218, allocations: 1.156 MB / 0.5259 GB, free: 18.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009372/0.3228, allocations: 0.8642 MB / 0.5267 GB, free: 18.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.3229, allocations: 112 kB / 0.5268 GB, free: 18.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.3233, allocations: 0.6703 MB / 0.5275 GB, free: 18.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.3236, allocations: 0.4891 MB / 0.528 GB, free: 17.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006967/0.3243, allocations: 0.5704 MB / 0.5285 GB, free: 17.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.3244, allocations: 340.6 kB / 0.5288 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.326, allocations: 1.084 MB / 0.5299 GB, free: 16.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.3278, allocations: 1.964 MB / 0.5318 GB, free: 15.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.3312, allocations: 4.24 MB / 0.536 GB, free: 12.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.3312, allocations: 7.156 kB / 0.536 GB, free: 12.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.004816/0.336, allocations: 4.511 MB / 0.5404 GB, free: 9.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002575/0.3363, allocations: 0.7701 MB / 0.5411 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002909/0.3392, allocations: 2.647 MB / 0.5437 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.3406, allocations: 417.6 kB / 0.5441 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.3413, allocations: 287.3 kB / 0.5444 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007797/0.3421, allocations: 0.9776 MB / 0.5453 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.3432, allocations: 322.1 kB / 0.5456 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.3434, allocations: 142.8 kB / 0.5458 GB, free: 3.922 MB / 382.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 265 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.P2.enableIn.disTAin[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[2],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[2],$PRE.P1.enableIn.remTAin[2],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[2],$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P2.reStart,T3.firingCon,T3.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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[2].disPlace,P1.inTransition[2].maxTokensint,P1.inTransition[2].tint,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.vec[2],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,T2.fire_,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],P2.delayPassedIn.vec[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[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],T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.emptied[1],T3.activation.fed[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[2],P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[2],$PRE.P1.fireIn[2],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 23 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.001377/0.3447, allocations: 1.684 MB / 0.5474 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.3451, allocations: 179.2 kB / 0.5476 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006802/0.3519, allocations: 5.029 MB / 0.5525 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3519, allocations: 11.92 kB / 0.5525 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007109/0.359, allocations: 4.901 MB / 0.5573 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.3592, allocations: 196 kB / 0.5575 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/0.3597, allocations: 179.9 kB / 0.5577 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.3607, allocations: 167.8 kB / 0.5578 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006478/0.3613, allocations: 387.8 kB / 0.5582 GB, free: 6.898 MB / 398.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 (1): ($OMC$CF$sim1, _) = PNlib.Functions.decreasingFactor(1, 0, P2.t_, P2.minMarks, P2.maxMarks, P2.conMarkChange, 0.0, {1.0}, {}, {P2.inTransition[1].prelimSpeed}, {}, {4.0}, {}, P2.fireIn and not {false}, {} and not {}) Variables: 1: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): $OMC$CF$sim2[1] = P1.inTransition[1].decreasingFactor 2/2 (1): $cse1 = min(8.777798510069901e304, P1.inTransition[1].decreasingFactor) 3/3 (1): T1.instantaneousSpeed = min($cse1 * 2.0, P1.inTransition[1].prelimSpeed) 4/4 (1): P1.inTransition[1].prelimSpeed = PNlib.Functions.preliminarySpeed(0, 1, {}, {1.0}, {}, {T2.outPlaces[1].speedSum}, 2.0, {}, T1.activation.weaklyOutputActiveVec) 5/5 (1): $OMC$CF$sim2[2] = T2.outPlaces[1].decreasingFactor 6/6 (1): $cse2 = min(8.777798510069901e304, T2.outPlaces[1].decreasingFactor) 7/7 (1): T2.instantaneousSpeed = min($cse2, T2.outPlaces[1].prelimSpeed) 8/8 (1): P1.firingSumIn.vec1[2] = if P1.feeding.vec[2] then 2.0 * T2.instantaneousSpeed else 0.0 9/9 (1): T3.inPlaces[1].speedSum = P1.firingSumIn.vec1[1] + P1.firingSumIn.vec1[2] 10/10 (1): P1.firingSumIn.vec1[1] = if P1.feeding.vec[1] then T1.instantaneousSpeed else 0.0 11/11 (3): ($OMC$CF$sim2, $OMC$CF$sim3) = PNlib.Functions.decreasingFactor(2, 1, P1.t_, P1.minMarks, P1.maxMarks, T3.inPlaces[1].speedSum, T2.outPlaces[1].speedSum, {2.0, 1.0}, {1.0}, {P1.inTransition[1].prelimSpeed, T2.outPlaces[1].prelimSpeed}, {P2.inTransition[1].prelimSpeed}, {1.0, 2.0}, {4.0}, P1.fireIn and not {false, false}, P1.fireOut and not {false}) 12/14 (1): $OMC$CF$sim3[1] = T3.inPlaces[1].decreasingFactor 13/15 (1): $cse3 = min(T3.inPlaces[1].decreasingFactor, P2.inTransition[1].decreasingFactor) 14/16 (1): T3.instantaneousSpeed = min($cse3, P2.inTransition[1].prelimSpeed) 15/17 (1): P2.inTransition[1].prelimSpeed = PNlib.Functions.preliminarySpeed(1, 1, {4.0}, {4.0}, {T3.inPlaces[1].speedSum}, {0.0}, 1.0, T3.activation.weaklyInputActiveVec, T3.activation.weaklyOutputActiveVec) 16/18 (1): ($OMC$CF$sim1, _) = PNlib.Functions.decreasingFactor(1, 0, P2.t_, P2.minMarks, P2.maxMarks, P2.conMarkChange, 0.0, {1.0}, {}, {P2.inTransition[1].prelimSpeed}, {}, {4.0}, {}, P2.fireIn and not {false}, {} and not {}) 17/19 (1): $OMC$CF$sim1[1] = P2.inTransition[1].decreasingFactor 18/20 (1): T2.outPlaces[1].prelimSpeed = PNlib.Functions.preliminarySpeed(0, 1, {}, {2.0}, {}, {T2.outPlaces[1].speedSum}, 1.0, {}, T2.activation.weaklyOutputActiveVec) 19/21 (1): T2.outPlaces[1].speedSum = if P1.emptying.vec[1] then 4.0 * T3.instantaneousSpeed else 0.0 20/22 (1): P2.conMarkChange = if P2.feeding.vec[1] then 4.0 * T3.instantaneousSpeed else 0.0 Variables: 1: P2.conMarkChange:VARIABLE(protected = true ) "continuous mark change" type: Real 2: T3.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 3: T2.outPlaces[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speed of a continuous transition" type: Real [1] 4: P2.inTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [1] 5: $OMC$CF$sim1[1]:VARIABLE() type: Real [1] 6: T3.inPlaces[1].speedSum:VARIABLE(flow=false ) "Input speeds of continuous input places" type: Real [1] 7: P2.inTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous input transitions" type: Real [1] 8: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 9: T3.inPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous input places for decreasing the speed" type: Real [1] 10: $OMC$CF$sim3[1]:VARIABLE() type: Real [1] 11: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 12: P1.firingSumIn.vec1[1]:VARIABLE(protected = true ) type: Real [2] 13: P1.firingSumIn.vec1[2]:VARIABLE(protected = true ) type: Real [2] 14: T2.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real 15: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 16: T2.outPlaces[1].decreasingFactor:VARIABLE(flow=false ) "Factor of continuous output places for decreasing the speed" type: Real [1] 17: $OMC$CF$sim2[2]:VARIABLE() type: Real [2] 18: T2.outPlaces[1].speedSum:VARIABLE(flow=false ) "Output speeds of continuous output places" type: Real [1] 19: P1.inTransition[1].prelimSpeed:VARIABLE(flow=false ) "Preliminary speeds of continuous input transitions" type: Real [2] 20: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 21: P1.inTransition[1].decreasingFactor:VARIABLE(flow=false ) "Factor for decreasing the speed of continuous input transitions" type: Real [2] 22: $OMC$CF$sim2[1]:VARIABLE() type: Real [2] [/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.001904/0.3632, allocations: 1.877 MB / 0.56 GB, free: 4.809 MB / 398.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PNlib.Examples.ConTest.Speed could not be translated