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.001059/0.001059, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001037/0.001037, allocations: 183.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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07557/0.07557, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.89 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 53.48 MB / 480.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.004545/0.1068, allocations: 3.51 MB / 484 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005145/0.1119, allocations: 2.707 MB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008149/0.1128, allocations: 19.94 kB / 486.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007928/0.1136, allocations: 313.6 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.1148, allocations: 301.6 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.1175, allocations: 1.219 MB / 488.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003827/0.1214, allocations: 3.343 MB / 491.9 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007724/0.1222, allocations: 0.5178 MB / 492.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.1238, allocations: 1.301 MB / 493.7 MB, free: 7.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.125, allocations: 0.9603 MB / 494.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.1254, allocations: 236 kB / 494.9 MB, free: 6.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009652/0.1264, allocations: 0.6439 MB / 495.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.1268, allocations: 486.4 kB / 496 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009992/0.1278, allocations: 1.042 MB / 497 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.1304, allocations: 2.742 MB / 499.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1305, allocations: 0 / 499.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1305, allocations: 0 / 499.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.1305, allocations: 3.938 kB / 499.8 MB, free: 1.586 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.003364/0.1339, allocations: 2.74 MB / 0.4907 GB, free: 14.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1339, allocations: 15.83 kB / 0.4908 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.1356, allocations: 406.4 kB / 0.4911 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.1371, allocations: 0.8837 MB / 0.492 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/0.1374, allocations: 0.4958 MB / 0.4925 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.1378, allocations: 228 kB / 0.4927 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005799/0.1436, allocations: 3.791 MB / 0.4964 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.1436, allocations: 7.938 kB / 0.4964 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.1439, allocations: 104 kB / 0.4965 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002903/0.1442, allocations: 215 kB / 0.4967 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.1486, allocations: 2.757 MB / 0.4994 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2303/0.3789, allocations: 7.48 MB / 0.5067 GB, free: 29.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/0.383, allocations: 3.638 MB / 0.5103 GB, free: 28.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.3861, allocations: 3.209 MB / 0.5134 GB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/0.3878, allocations: 3.074 MB / 0.5164 GB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002948/0.3907, allocations: 1.985 MB / 0.5184 GB, free: 22.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=177): time 3.606e-06/0.3908, allocations: 0 / 0.5184 GB, free: 22.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=177): time 0.01095/0.4017, allocations: 6.381 MB / 0.5246 GB, free: 20.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005369/0.4023, allocations: 1.155 MB / 0.5257 GB, free: 19.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.4035, allocations: 0.8627 MB / 0.5266 GB, free: 18.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002048/0.4037, allocations: 119.9 kB / 0.5267 GB, free: 18.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.4042, allocations: 0.6419 MB / 0.5273 GB, free: 18.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.4046, allocations: 482.5 kB / 0.5278 GB, free: 17.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000785/0.4054, allocations: 0.5741 MB / 0.5283 GB, free: 17.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.4055, allocations: 334.9 kB / 0.5286 GB, free: 17.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.4071, allocations: 1.09 MB / 0.5297 GB, free: 16.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.409, allocations: 1.959 MB / 0.5316 GB, free: 15.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003942/0.413, allocations: 4.235 MB / 0.5357 GB, free: 12.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.902e-05/0.413, allocations: 7.938 kB / 0.5358 GB, free: 12.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.005066/0.4181, allocations: 4.494 MB / 0.5401 GB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.4184, allocations: 0.7732 MB / 0.5409 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002692/0.4211, allocations: 2.644 MB / 0.5435 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.4224, allocations: 418.6 kB / 0.5439 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.4231, allocations: 279.3 kB / 0.5441 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007475/0.4238, allocations: 0.9888 MB / 0.5451 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.425, allocations: 323.9 kB / 0.5454 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.4252, allocations: 148 kB / 0.5456 GB, free: 4.023 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.0016/0.4268, allocations: 1.679 MB / 0.5472 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.4272, allocations: 174.6 kB / 0.5474 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006357/0.4335, allocations: 5.037 MB / 0.5523 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4335, allocations: 3.984 kB / 0.5523 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006526/0.4401, allocations: 4.893 MB / 0.5571 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.4403, allocations: 207.3 kB / 0.5573 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004207/0.4407, allocations: 175.9 kB / 0.5574 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009831/0.4417, allocations: 159.9 kB / 0.5576 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005813/0.4423, allocations: 388.6 kB / 0.558 GB, free: 7.02 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.00183/0.4441, allocations: 1.872 MB / 0.5598 GB, free: 4.938 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