Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TCwithPD.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.HybTest.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") translateModel(PNlib.Examples.HybTest.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004738/0.004738, allocations: 101.5 kB / 15.88 MB, free: 6.332 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.001183/0.001183, allocations: 195.3 kB / 16.79 MB, free: 6.258 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.321/1.321, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1826/0.1826, allocations: 16.77 MB / 307.4 MB, free: 15.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 56.09 kB / 371.6 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2844, allocations: 53.46 MB / 425.1 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TCwithPD): time 0.003721/0.2882, allocations: 3.551 MB / 428.6 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005814/0.294, allocations: 4.201 MB / 432.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.2947, allocations: 11.31 kB / 432.9 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005299/0.2952, allocations: 217.7 kB / 433.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005964/0.2959, allocations: 217.6 kB / 433.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.2997, allocations: 1.479 MB / 434.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003211/0.3029, allocations: 3.001 MB / 437.8 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000725/0.3037, allocations: 0.5306 MB / 438.3 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.3054, allocations: 1.12 MB / 439.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.3067, allocations: 0.9876 MB / 440.4 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003586/0.307, allocations: 129 kB / 440.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.3087, allocations: 0.9986 MB / 441.5 MB, free: 31.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.3092, allocations: 449.7 kB / 442 MB, free: 31.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.3103, allocations: 1.059 MB / 443 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.3126, allocations: 2.406 MB / 445.4 MB, free: 30.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3126, allocations: 3.938 kB / 445.4 MB, free: 30.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3126, allocations: 0 / 445.4 MB, free: 30.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.957e-05/0.3127, allocations: 0 / 445.4 MB, free: 30.02 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.003842/0.3165, allocations: 3.18 MB / 448.6 MB, free: 27.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3166, allocations: 9.906 kB / 448.6 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.3181, allocations: 377.6 kB / 449 MB, free: 27.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.3194, allocations: 0.9681 MB / 450 MB, free: 26.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.3197, allocations: 393.6 kB / 450.3 MB, free: 26.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.32, allocations: 251.2 kB / 450.6 MB, free: 26.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005634/0.3256, allocations: 4.192 MB / 454.8 MB, free: 24.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.3257, allocations: 7.219 kB / 454.8 MB, free: 24.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.326, allocations: 117.6 kB / 454.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002692/0.3263, allocations: 204.9 kB / 455.1 MB, free: 24.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005202/0.3315, allocations: 3.071 MB / 458.2 MB, free: 23.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.3438, allocations: 7.567 MB / 465.7 MB, free: 19.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005816/0.3497, allocations: 4.709 MB / 470.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005746/0.3555, allocations: 4.517 MB / 475 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.3557, allocations: 32.75 kB / 475 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004961/0.3606, allocations: 2.6 MB / 477.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=211): time 9.377e-06/0.3607, allocations: 0 / 477.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=211): time 0.01324/0.3739, allocations: 7.841 MB / 485.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006462/0.3746, allocations: 1.567 MB / 487 MB, free: 6.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.376, allocations: 0.9365 MB / 487.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002918/0.3763, allocations: 137.7 kB / 488.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/0.3768, allocations: 0.6675 MB / 488.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/0.3774, allocations: 0.5365 MB / 489.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009076/0.3783, allocations: 0.6365 MB / 489.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.3784, allocations: 345.9 kB / 490.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.3801, allocations: 1.282 MB / 491.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/0.3827, allocations: 2.318 MB / 493.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007483/0.3903, allocations: 5.096 MB / 498.9 MB, free: 9.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-05/0.3904, allocations: 8 kB / 499 MB, free: 9.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.008832/0.3992, allocations: 4.945 MB / 0.4921 GB, free: 4.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008185/0.4001, allocations: 0.9738 MB / 0.493 GB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/0.4002, allocations: 35.98 kB / 0.4931 GB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009784/0.4012, allocations: 177.3 kB / 0.4932 GB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.4025, allocations: 347.1 kB / 0.4936 GB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008008/0.4033, allocations: 0.6848 MB / 0.4942 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.4054, allocations: 356.9 kB / 0.4946 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005093/0.4059, allocations: 164 kB / 0.4947 GB, free: 1.137 MB / 366.1 MB Warning: Assuming fixed start value for the following 58 variables: P3.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P3.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer 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 P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 138 * Number of states: 0 () * Number of discrete variables: 345 ($PRE.P3.enableIn.valid,P3.enableIn.valid,$PRE.P3.enableIn.benefitLimit,P3.enableIn.benefitLimit,$PRE.P3.enableIn.benefitMax,P3.enableIn.benefitMax,$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,P3.enableIn.randNum,$PRE.P3.enableIn.randNum,P3.enableIn.state128[4],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],$PRE.P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableOut.valid,P3.enableOut.valid,$PRE.P3.enableOut.benefitLimit,P3.enableOut.benefitLimit,$PRE.P3.enableOut.benefitMax,P3.enableOut.benefitMax,$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,P3.enableOut.randNum,$PRE.P3.enableOut.randNum,P3.enableOut.state128[4],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[1],P3.enableOut.cumEnablingProb[1],$PRE.P3.enableOut.cumEnablingProb[1],$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,P3.enableOut.remTAout[1],$PRE.P3.enableOut.remTAout[1],$PRE.P3.enableOut.Index,P3.enableOut.Index,$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.P3.reStart,$whenCondition9,$PRE.P3.tokeninout,P3.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P3.firingSumOut.firingSum,$PRE.P3.firingSumIn.firingSum,P3.tokeninout,$whenCondition7,$whenCondition8,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition11,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition10,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition2,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P3.outTransition[1].normalArc,P3.outTransition[1].testValueint,P3.outTransition[1].fed,P3.outTransition[1].arcType,P3.outTransition[1].disPlace,T1.inPlaces[2].disTransition,P3.inTransition[1].emptied,P3.inTransition[1].disPlace,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P3.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P3.enableIn.disTransition[1],P1.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[2],P3.delayPassedOut.vec[1],P3.delayPassedIn.vec[1],P3.firingSumIn.fire[1],P3.firingSumOut.fire[1],T1.activation.normalArc[2],T1.activation.testValueInt[2],T1.activation.fed[2],T1.activation.arcType[2],T1.activation.disPlaceIn[2],P3.enableOut.disTransition[1],T1.activation.emptied[2],T1.activation.disPlaceOut[2],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P3.enableIn.arcWeightSum,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.enableIn.TAein[1],P3.enableIn.arcWeight[1],P3.enableOut.arcWeightSum,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.TEout[1],$PRE.P3.enableOut.TEout[1],P3.enableOut.TEout_[1],P3.enableOut.TAout[1],P3.enableOut.arcWeight[1],P3.firingSumOut.firingSum,P3.firingSumOut.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumIn.arcWeight[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,P3.activeConOut.vec[1],P3.activeOut[1],$PRE.P3.activeOut[1],P3.t,$PRE.P3.t,T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[1],T1.activation.fed[1],T1.activation.maxTokensInt[2],T1.activation.minTokensInt[2],T1.activation.tIntOut[2],T1.activation.tIntIn[2],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.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.fireOut[1],$PRE.P1.fireOut[1],$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 323 * Array equations: 1 * Algorithm blocks: 30 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.003992/0.4099, allocations: 2.036 MB / 0.4967 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.411, allocations: 206.4 kB / 0.4969 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.422, allocations: 6.352 MB / 0.5031 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.013e-05/0.422, allocations: 12 kB / 0.5031 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.4221, allocations: 4 kB / 0.5031 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4221, allocations: 3.984 kB / 0.5031 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.4375, allocations: 8.986 MB / 0.5119 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/0.4376, allocations: 11.98 kB / 0.5119 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.438, allocations: 79.83 kB / 0.512 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.4384, allocations: 128.7 kB / 0.5121 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003747/0.4388, allocations: 115.9 kB / 0.5122 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006134/0.4395, allocations: 0.6459 MB / 0.5129 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4395, allocations: 4.031 kB / 0.5129 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/0.4553, allocations: 9.459 MB / 0.5221 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.4557, allocations: 223 kB / 0.5223 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007869/0.4565, allocations: 231.9 kB / 0.5225 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.458, allocations: 203.9 kB / 0.5227 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009357/0.459, allocations: 0.5005 MB / 0.5232 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000381/0.4594, allocations: 139.9 kB / 0.5234 GB, free: 3.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008366/0.4602, allocations: 0.5107 MB / 0.5239 GB, free: 2.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4602, allocations: 0 / 0.5239 GB, free: 2.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003725/0.464, allocations: 0.9049 MB / 0.5247 GB, free: 1.684 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: 180 ($whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition2,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,P2.disMarksInOut,$cse4[1],$cse4[2],$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[1],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.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,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,T1.activation.tIntIn[2],T1.activation.tIntOut[2],T1.activation.minTokensInt[2],T1.activation.maxTokensInt[2],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,P3.t,P3.outTransition[1].tokenInOut,P3.tokeninout,P3.activeOut[1],P3.activeConOut.vec[1],P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.firingSumIn.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumOut.arcWeight[1],P3.firingSumOut.firingSum,P3.enableOut.arcWeight[1],P3.enableOut.TAout[1],P3.enableOut.TEout_[1],P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.TEout[1],P3.enableOut.remTAout[1],P3.enableOut.cumEnablingProb[1],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.enableOut.benefitMax,P3.enableOut.valid,P3.enableOut.benefitLimit,P3.enableIn.arcWeight[1],P3.enableIn.TAein[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.enableIn.benefitMax,P3.enableIn.valid,P3.enableIn.benefitLimit) * Number of discrete states: 153 (P3.firingSumOut.firingSum,P3.firingSumIn.firingSum,P3.tokeninout,P1.disMarksInOut,P3.t,P3.activeOut[1],P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,i,P3.activeConOut.vec[i],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,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P3.enableIn.TEin_[1],P3.enableIn.valid,P3.enableIn.benefitLimit,P3.enableIn.benefitMax,P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,$whenCondition6,P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],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],$whenCondition4,P2.enableIn.TEin[1],P3.enableOut.TEout_[1],P3.enableOut.valid,P3.enableOut.benefitLimit,P3.enableOut.benefitMax,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.endWhile,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.cumEnablingProb[1],P3.enableOut.sumEnablingProbTAout,P3.enableOut.nTAout,P3.enableOut.nremTAout,P3.enableOut.remTAout[1],P3.enableOut.Index,$whenCondition5,P3.enableOut.arcWeightSum,P3.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,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],$whenCondition3,P1.enableOut.TEout[1],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,$whenCondition2,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 59 * Array equations: 2 * Algorithm blocks: 24 * Record equations: 0 * When equations: 1 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002351/0.4663, allocations: 0.7636 MB / 0.5255 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01012/0.4765, allocations: 6.751 MB / 0.5321 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.4765, allocations: 1.812 kB / 0.5321 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01031/0.4868, allocations: 9.307 MB / 0.5412 GB, free: 188 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.4889, allocations: 275.4 kB / 0.5414 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.5007, allocations: 6.019 MB / 0.5473 GB, free: 9.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.5022, allocations: 1.432 MB / 0.5487 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.5027, allocations: 119.3 kB / 0.5488 GB, free: 8.281 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5027, allocations: 4 kB / 0.5488 GB, free: 8.277 MB / 430.1 MB Notification: Performance of Templates: time 0.06502/0.5677, allocations: 39.94 MB / 0.5878 GB, free: 192 kB / 462.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TCwithPD.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TCwithPD.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop454.cpp:100:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp322, tmp323, _system->_P2_P_prelimSpeedIn_, tmp324, tmp325, tmp326, (_system->_P2_P_fireIn_ && (!tmp327)), (tmp328 && (!tmp329)), tmp330); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop454.cpp:100:272: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp322, tmp323, _system->_P2_P_prelimSpeedIn_, tmp324, tmp325, tmp326, (_system->_P2_P_fireIn_ && (!tmp327)), (tmp328 && (!tmp329)), tmp330); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop454.cpp:134:236: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp332, tmp333, tmp334, _system->_P2_P_prelimSpeedIn_, tmp335, tmp336, (tmp337 && (!tmp338)), (_system->_P1_P_fireOut_ && (!tmp339)), tmp340); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop454.cpp:134:276: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp332, tmp333, tmp334, _system->_P2_P_prelimSpeedIn_, tmp335, tmp336, (tmp337 && (!tmp338)), (_system->_P1_P_fireOut_ && (!tmp339)), tmp340); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop117.cpp:99:236: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp342, tmp343, tmp344, _system->_P2_P_prelimSpeedIn_, tmp345, tmp346, (tmp347 && (!tmp348)), (_system->_P1_P_fireOut_ && (!tmp349)), tmp350); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop117.cpp:99:276: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp342, tmp343, tmp344, _system->_P2_P_prelimSpeedIn_, tmp345, tmp346, (tmp347 && (!tmp348)), (_system->_P1_P_fireOut_ && (!tmp349)), tmp350); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop117.cpp:132:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp352, tmp353, _system->_P2_P_prelimSpeedIn_, tmp354, tmp355, tmp356, (_system->_P2_P_fireIn_ && (!tmp357)), (tmp358 && (!tmp359)), tmp360); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop117.cpp:132:272: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp352, tmp353, _system->_P2_P_prelimSpeedIn_, tmp354, tmp355, tmp356, (_system->_P2_P_fireIn_ && (!tmp357)), (tmp358 && (!tmp359)), tmp360); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDInitialize.cpp:1899:62: error: invalid argument type 'StatArrayDim1' to unary expression _P3_P_activeConOut_P_vec_.assign((_P3_P_activeOut__pre && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDInitialize.cpp:1934:113: error: no matching function for call to object of type 'WrapArray' _P3_P_activeConOut_P_anychange_ = (_P3_P_activeConOut_P_anychange_ || ((!_P3_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P3_P_activeConOut_P_vec_)(i_)) || (_P3_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P3_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDInitialize.cpp:1934:205: error: no matching function for call to object of type 'WrapArray' _P3_P_activeConOut_P_anychange_ = (_P3_P_activeConOut_P_anychange_ || ((!_P3_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P3_P_activeConOut_P_vec_)(i_)) || (_P3_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P3_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDInitialize.cpp:2046:57: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp90,(!_functions->_OMC_LIT5),tmp91); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPD.cpp:831:81: error: invalid argument type 'StatArrayDim1' to unary expression _P3_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P3_P_activeOut_) && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPD.cpp:2758:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp544,(!tmp545),tmp546); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPD.cpp:3179:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp588),tmp589); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPD.cpp:3390:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp627,(!_functions->_OMC_LIT5),tmp628); ^~~~~~~~~~~~~~~~~~~~~~ 16 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.o] Error 1