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.00133/0.00133, allocations: 101.5 kB / 16.27 MB, free: 6.348 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.001428/0.001428, allocations: 188.7 kB / 17.2 MB, free: 5.949 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.0729/0.0729, allocations: 16.73 MB / 307.8 MB, free: 14.31 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 65.66 kB / 372.3 MB, free: 48.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.106, allocations: 53.46 MB / 425.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TCwithPD): time 0.004121/0.1101, allocations: 3.42 MB / 429.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005174/0.1153, allocations: 3.473 MB / 432.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.1159, allocations: 15.94 kB / 432.6 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.1165, allocations: 285.7 kB / 432.9 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005932/0.1171, allocations: 273.8 kB / 433.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.1196, allocations: 1.739 MB / 434.9 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002535/0.1222, allocations: 3.804 MB / 438.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006415/0.1228, allocations: 0.5335 MB / 439.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.1242, allocations: 1.379 MB / 440.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.1253, allocations: 1.042 MB / 441.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000364/0.1256, allocations: 280 kB / 442 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.1272, allocations: 1.155 MB / 443.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000464/0.1277, allocations: 474.4 kB / 443.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.1289, allocations: 1.182 MB / 444.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.1321, allocations: 3.281 MB / 448 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.1321, allocations: 4 kB / 448 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1321, allocations: 0 / 448 MB, free: 6.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.1322, allocations: 4 kB / 448 MB, free: 6.098 MB / 318.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.004224/0.1364, allocations: 3.183 MB / 451.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1365, allocations: 11.89 kB / 451.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.138, allocations: 374.4 kB / 451.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.1394, allocations: 0.9681 MB / 452.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.1398, allocations: 396.9 kB / 453 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/0.1402, allocations: 251.9 kB / 453.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006032/0.1462, allocations: 4.192 MB / 457.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.1463, allocations: 7.938 kB / 457.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.1465, allocations: 120 kB / 457.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003019/0.1468, allocations: 207.1 kB / 457.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005012/0.1519, allocations: 3.07 MB / 460.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.1621, allocations: 7.583 MB / 468.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004943/0.167, allocations: 4.706 MB / 473.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004407/0.1714, allocations: 4.523 MB / 477.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004084/0.1756, allocations: 5.599 MB / 483.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003809/0.1794, allocations: 2.599 MB / 485.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=211): time 4.018e-06/0.1794, allocations: 0 / 485.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=211): time 0.01152/0.1909, allocations: 7.844 MB / 493.6 MB, free: 6.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008803/0.1918, allocations: 1.564 MB / 495.2 MB, free: 4.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.1932, allocations: 0.9365 MB / 496.1 MB, free: 3.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000262/0.1934, allocations: 137.7 kB / 496.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006794/0.1941, allocations: 0.6636 MB / 496.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006399/0.1948, allocations: 0.5405 MB / 497.5 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.1958, allocations: 0.6404 MB / 498.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1959, allocations: 341.9 kB / 498.5 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.198, allocations: 1.282 MB / 499.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/0.2008, allocations: 2.322 MB / 0.4903 GB, free: 13.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005542/0.2063, allocations: 5.076 MB / 0.4953 GB, free: 7.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.624e-05/0.2064, allocations: 8 kB / 0.4953 GB, free: 7.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.006898/0.2133, allocations: 4.961 MB / 0.5001 GB, free: 2.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006137/0.2139, allocations: 0.9793 MB / 0.5011 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2465/0.4605, allocations: 2.518 MB / 0.5035 GB, free: 79.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.4616, allocations: 188.4 kB / 0.5037 GB, free: 79.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.4631, allocations: 340.1 kB / 0.504 GB, free: 79.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007655/0.4639, allocations: 0.7215 MB / 0.5047 GB, free: 79.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.466, allocations: 356.4 kB / 0.5051 GB, free: 79.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000414/0.4664, allocations: 164.3 kB / 0.5052 GB, free: 79.38 MB / 382.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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002875/0.4693, allocations: 2.042 MB / 0.5072 GB, free: 78.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005792/0.4699, allocations: 204.4 kB / 0.5074 GB, free: 78.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.4812, allocations: 6.353 MB / 0.5136 GB, free: 76.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.296e-05/0.4813, allocations: 16.92 kB / 0.5136 GB, free: 76.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.4813, allocations: 1.094 kB / 0.5136 GB, free: 76.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.4813, allocations: 13.11 kB / 0.5136 GB, free: 76.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.493, allocations: 8.992 MB / 0.5224 GB, free: 72.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006596/0.4997, allocations: 6.094 MB / 0.5284 GB, free: 65.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.5, allocations: 87.69 kB / 0.5285 GB, free: 65.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/0.5003, allocations: 104.4 kB / 0.5286 GB, free: 65.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/0.5006, allocations: 131.9 kB / 0.5287 GB, free: 65.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004469/0.501, allocations: 0.6805 MB / 0.5294 GB, free: 64.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.501, allocations: 0 / 0.5294 GB, free: 64.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.5118, allocations: 9.498 MB / 0.5386 GB, free: 55.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.5121, allocations: 212.1 kB / 0.5388 GB, free: 55.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00054/0.5126, allocations: 227.9 kB / 0.5391 GB, free: 54.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.5138, allocations: 200.5 kB / 0.5392 GB, free: 54.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006841/0.5145, allocations: 0.5032 MB / 0.5397 GB, free: 54.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/0.5147, allocations: 143.8 kB / 0.5399 GB, free: 54.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005007/0.5153, allocations: 0.5068 MB / 0.5404 GB, free: 53.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5153, allocations: 0 / 0.5404 GB, free: 53.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002632/0.5179, allocations: 0.913 MB / 0.5413 GB, free: 52.69 MB / 382.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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.5191, allocations: 0.7583 MB / 0.542 GB, free: 51.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00782/0.5269, allocations: 7.234 MB / 0.5491 GB, free: 44.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5269, allocations: 0 / 0.5491 GB, free: 44.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00551/0.5325, allocations: 9.311 MB / 0.5582 GB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.5336, allocations: 292.1 kB / 0.5584 GB, free: 34.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/0.5408, allocations: 5.469 MB / 0.5638 GB, free: 29.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.5415, allocations: 1.436 MB / 0.5652 GB, free: 27.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.5419, allocations: 119.4 kB / 0.5653 GB, free: 27.49 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5419, allocations: 0 / 0.5653 GB, free: 27.49 MB / 382.1 MB Notification: Performance of Templates: time 0.04757/0.5894, allocations: 40.1 MB / 0.6044 GB, free: 3.223 MB / 398.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TCwithPD.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TCwithPD.makefile clang++ -std=c++17 -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.TCwithPDAlgloop458.cpp:102:213: 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_), tmp322, tmp323, tmp324, tmp325, tmp326, tmp327, (tmp328 && (!tmp329)), (_system->_P1_P_fireOut_ && (!tmp330)), tmp331); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop458.cpp:102:253: 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_), tmp322, tmp323, tmp324, tmp325, tmp326, tmp327, (tmp328 && (!tmp329)), (_system->_P1_P_fireOut_ && (!tmp330)), tmp331); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop458.cpp:138:226: 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, tmp333, tmp334, tmp335, tmp336, tmp337, tmp338, (_system->_P2_P_fireIn_ && (!tmp339)), (tmp340 && (!tmp341)), tmp342); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop458.cpp:138: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, tmp333, tmp334, tmp335, tmp336, tmp337, tmp338, (_system->_P2_P_fireIn_ && (!tmp339)), (tmp340 && (!tmp341)), tmp342); ^~~~~~~ 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.TCwithPDAlgloop119.cpp:101:226: 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, tmp344, tmp345, tmp346, tmp347, tmp348, tmp349, (_system->_P2_P_fireIn_ && (!tmp350)), (tmp351 && (!tmp352)), tmp353); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop119.cpp:101: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, tmp344, tmp345, tmp346, tmp347, tmp348, tmp349, (_system->_P2_P_fireIn_ && (!tmp350)), (tmp351 && (!tmp352)), tmp353); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop119.cpp:136:213: 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_), tmp355, tmp356, tmp357, tmp358, tmp359, tmp360, (tmp361 && (!tmp362)), (_system->_P1_P_fireOut_ && (!tmp363)), tmp364); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPDAlgloop119.cpp:136:253: 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_), tmp355, tmp356, tmp357, tmp358, tmp359, tmp360, (tmp361 && (!tmp362)), (_system->_P1_P_fireOut_ && (!tmp363)), tmp364); ^~~~~~~ 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:830: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:2757:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp548,(!tmp549),tmp550); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPD.cpp:3178:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp592),tmp593); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TCwithPD.cpp:3389:58: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(tmp631,(!_functions->_OMC_LIT5),tmp632); ^~~~~~~~~~~~~~~~~~~~~~ 16 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TCwithPDCalcHelperMain.o] Error 1