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 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.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.0009487/0.0009484, allocations: 99.2 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 175.4 kB / 16.58 MB, free: 6.418 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.546/1.546, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2712/0.2712, allocations: 16.72 MB / 308.4 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 8 kB / 373.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4552, allocations: 54.47 MB / 427.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.003897/0.4592, allocations: 3.082 MB / 431 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006421/0.4656, allocations: 2.67 MB / 433.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.467, allocations: 13.62 kB / 433.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.4677, allocations: 240.5 kB / 433.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009464/0.4686, allocations: 222.1 kB / 434.1 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.4715, allocations: 0.852 MB / 435 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.475, allocations: 2.605 MB / 437.6 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007068/0.4757, allocations: 438 kB / 438 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.4778, allocations: 1.018 MB / 439 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.4793, allocations: 0.7817 MB / 439.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.4796, allocations: 88.97 kB / 439.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.4809, allocations: 432.3 kB / 440.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000505/0.4814, allocations: 383 kB / 440.7 MB, free: 33.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006863/0.4821, allocations: 400.8 kB / 441.1 MB, free: 33.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.4846, allocations: 1.876 MB / 442.9 MB, free: 32.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.4846, allocations: 3.062 kB / 442.9 MB, free: 32.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4846, allocations: 4 kB / 442.9 MB, free: 32.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.4846, allocations: 0 / 442.9 MB, free: 32.78 MB / 350.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.003406/0.4881, allocations: 2.339 MB / 445.3 MB, free: 31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4881, allocations: 7.375 kB / 445.3 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.4898, allocations: 402 kB / 445.7 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.4911, allocations: 0.879 MB / 446.6 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/0.4915, allocations: 0.4925 MB / 447.1 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.4919, allocations: 227.7 kB / 447.3 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006064/0.4979, allocations: 3.83 MB / 451.1 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-05/0.498, allocations: 10.59 kB / 451.1 MB, free: 28.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.4983, allocations: 106.1 kB / 451.2 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004471/0.4988, allocations: 207.1 kB / 451.4 MB, free: 28.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004756/0.5035, allocations: 2.807 MB / 454.2 MB, free: 27.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.5155, allocations: 7.578 MB / 461.8 MB, free: 22.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00587/0.5214, allocations: 3.687 MB / 465.5 MB, free: 20.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00471/0.5262, allocations: 3.257 MB / 468.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.5264, allocations: 125.2 kB / 468.9 MB, free: 18.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004059/0.5305, allocations: 2.035 MB / 470.9 MB, free: 17.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=177): time 4.118e-06/0.5305, allocations: 0 / 470.9 MB, free: 17.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=177): time 0.01391/0.5444, allocations: 6.304 MB / 477.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001092/0.5456, allocations: 1.161 MB / 478.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.5476, allocations: 0.8516 MB / 479.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003028/0.548, allocations: 116 kB / 479.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008116/0.5488, allocations: 0.6475 MB / 480 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006352/0.5494, allocations: 477.8 kB / 480.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.5496, allocations: 61.83 kB / 480.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003579/0.55, allocations: 446.7 kB / 480.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002655/0.5526, allocations: 1.09 MB / 482 MB, free: 11.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00308/0.5557, allocations: 1.967 MB / 484 MB, free: 10.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.5586, allocations: 1.917 MB / 485.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.613e-05/0.5587, allocations: 6.812 kB / 485.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.007108/0.5658, allocations: 4.508 MB / 490.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005175/0.5663, allocations: 0.7685 MB / 491.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003407/0.5697, allocations: 2.644 MB / 493.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008847/0.5706, allocations: 356.5 kB / 494.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/0.5714, allocations: 287.3 kB / 494.5 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009479/0.5724, allocations: 0.906 MB / 495.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.574, allocations: 337.2 kB / 495.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.5743, allocations: 140 kB / 495.9 MB, free: 15.04 MB / 366.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.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.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,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$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,$whenCondition6,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],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,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.disTAin[1],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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[2],$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[2],$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,T3.inPlaces[1].tokenInOut,$whenCondition5,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition4,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,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.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[2],P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireIn[2],P1.fireIn[2],$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[2],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.fire_,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.disPlaceOut[1],T3.activation.tIntIn[1],T3.activation.minTokensInt[1],T3.activation.disPlaceIn[1],T3.activation.arcType[1],T3.activation.testValueInt[1],T3.activation.normalArc[1],T3.activation.tIntOut[1],T3.activation.maxTokensInt[1],T3.activation.disPlaceOut[1],P2.delayPassedIn.vec[1],T3.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_,T2.fire_) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.003571/0.5779, allocations: 1.692 MB / 497.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000857/0.5787, allocations: 166.7 kB / 497.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009249/0.588, allocations: 5.251 MB / 0.4912 GB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/0.5881, allocations: 8 kB / 0.4912 GB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5881, allocations: 4 kB / 0.4912 GB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5881, allocations: 3.984 kB / 0.4912 GB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.6, allocations: 7.427 MB / 0.4984 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007068/0.6071, allocations: 4.988 MB / 0.5033 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.6075, allocations: 63.89 kB / 0.5034 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.6085, allocations: 424 kB / 0.5038 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/0.6088, allocations: 103.9 kB / 0.5039 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009128/0.6097, allocations: 0.8861 MB / 0.5047 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6097, allocations: 0 / 0.5047 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/0.6212, allocations: 7.698 MB / 0.5123 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.6216, allocations: 203.3 kB / 0.5125 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005764/0.6222, allocations: 175.9 kB / 0.5126 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.6233, allocations: 187.9 kB / 0.5128 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007189/0.6241, allocations: 396.6 kB / 0.5132 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/0.6244, allocations: 115.9 kB / 0.5133 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008243/0.6252, allocations: 471 kB / 0.5137 GB, free: 92 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6252, allocations: 0 / 0.5137 GB, free: 92 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002863/0.6281, allocations: 0.6822 MB / 0.5144 GB, free: 15.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 133 (P2.disMarksInOut,$cse5[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.disMarksInOut,P1.fireIn[1],P1.fireIn[2],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.disTAin[1],P1.enableIn.disTAin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.fire_,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$whenCondition6,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue) * Number of discrete states: 117 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[2],P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition3,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 52 * Array equations: 1 * Algorithm blocks: 19 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.001502/0.6296, allocations: 0.5374 MB / 0.5149 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007893/0.6375, allocations: 5.304 MB / 0.5201 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.6376, allocations: 3.938 kB / 0.5201 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00815/0.6457, allocations: 6.662 MB / 0.5266 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.6476, allocations: 212.8 kB / 0.5268 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009807/0.6574, allocations: 4.825 MB / 0.5315 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.6589, allocations: 1.406 MB / 0.5329 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.6594, allocations: 103.4 kB / 0.533 GB, free: 11.77 MB / 414.1 MB Notification: Performance of SimCode: time 1.442e-06/0.6594, allocations: 0 / 0.533 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Templates: time 0.06479/0.7242, allocations: 34.06 MB / 0.5663 GB, free: 9.602 MB / 446.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPNlib_PNlib.Examples.ConTest.SpeedCalcHelperMain.o] Error 1