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.001825/0.001825, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.002316/0.002316, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.823/2.823, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1522/0.1522, allocations: 16.73 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 67.91 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2238, allocations: 53.47 MB / 480.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TCwithPD): time 0.01225/0.2361, allocations: 3.409 MB / 483.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01649/0.2527, allocations: 3.478 MB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.255, allocations: 19.94 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.2564, allocations: 285.7 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.2585, allocations: 277.8 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.2697, allocations: 1.73 MB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008077/0.2778, allocations: 3.824 MB / 493.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.2796, allocations: 0.5335 MB / 494 MB, free: 7.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008243/0.2879, allocations: 1.383 MB / 495.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/0.2911, allocations: 1.062 MB / 496.5 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.2928, allocations: 276 kB / 496.7 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.2971, allocations: 1.178 MB / 497.9 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.2985, allocations: 482.3 kB / 498.4 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008685/0.3073, allocations: 1.19 MB / 499.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01729/0.3246, allocations: 3.389 MB / 0.4912 GB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.491e-05/0.3247, allocations: 0 / 0.4912 GB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3248, allocations: 0 / 0.4912 GB, free: 14.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001573/0.3249, allocations: 0 / 0.4912 GB, free: 14.4 MB / 382.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.01675/0.3417, allocations: 3.187 MB / 0.4943 GB, free: 10.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.081e-05/0.3418, allocations: 15.89 kB / 0.4943 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/0.3457, allocations: 374.4 kB / 0.4947 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/0.3497, allocations: 0.9603 MB / 0.4956 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009345/0.3507, allocations: 400.8 kB / 0.496 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.3524, allocations: 248 kB / 0.4962 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02698/0.3794, allocations: 4.196 MB / 0.5003 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.3796, allocations: 3.938 kB / 0.5003 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001618/0.3812, allocations: 120 kB / 0.5004 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007508/0.382, allocations: 211.1 kB / 0.5006 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.3945, allocations: 3.07 MB / 0.5036 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5479/0.9425, allocations: 7.509 MB / 0.511 GB, free: 30.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.9563, allocations: 4.704 MB / 0.5155 GB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01271/0.9691, allocations: 4.516 MB / 0.52 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004433/0.9736, allocations: 5.602 MB / 0.5254 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01271/0.9863, allocations: 2.606 MB / 0.528 GB, free: 17.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=211): time 1.045e-05/0.9864, allocations: 1.281 kB / 0.528 GB, free: 17.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=211): time 0.03609/1.023, allocations: 7.848 MB / 0.5356 GB, free: 14.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00152/1.024, allocations: 1.56 MB / 0.5372 GB, free: 12.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/1.027, allocations: 0.9422 MB / 0.5381 GB, free: 11.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007106/1.027, allocations: 141.8 kB / 0.5382 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.029, allocations: 0.65 MB / 0.5389 GB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.03, allocations: 0.5415 MB / 0.5394 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001935/1.032, allocations: 0.6396 MB / 0.54 GB, free: 10.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/1.032, allocations: 343.6 kB / 0.5403 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008715/1.041, allocations: 1.286 MB / 0.5416 GB, free: 9.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005457/1.046, allocations: 2.324 MB / 0.5439 GB, free: 6.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009184/1.056, allocations: 5.082 MB / 0.5488 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/1.056, allocations: 8 kB / 0.5488 GB, free: 0.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01492/1.071, allocations: 4.961 MB / 0.5537 GB, free: 11.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001316/1.072, allocations: 0.9754 MB / 0.5546 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007049/1.079, allocations: 2.531 MB / 0.5571 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/1.081, allocations: 190.1 kB / 0.5573 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/1.083, allocations: 341.3 kB / 0.5576 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/1.084, allocations: 0.7199 MB / 0.5583 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003838/1.088, allocations: 352.9 kB / 0.5586 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/1.09, allocations: 162.1 kB / 0.5588 GB, free: 6.25 MB / 398.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.01175/1.101, allocations: 2.046 MB / 0.5608 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/1.103, allocations: 206.4 kB / 0.561 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0324/1.136, allocations: 6.343 MB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.27e-05/1.136, allocations: 18.17 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/1.136, allocations: 0.75 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/1.136, allocations: 3.984 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04144/1.177, allocations: 8.992 MB / 0.576 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0287/1.206, allocations: 6.089 MB / 0.5819 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008996/1.207, allocations: 87.38 kB / 0.582 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008158/1.208, allocations: 100.8 kB / 0.5821 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001438/1.209, allocations: 131.4 kB / 0.5822 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/1.211, allocations: 0.685 MB / 0.5829 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.211, allocations: 4 kB / 0.5829 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04519/1.256, allocations: 9.496 MB / 0.5922 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/1.257, allocations: 219 kB / 0.5924 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002029/1.259, allocations: 227.9 kB / 0.5926 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/1.262, allocations: 203.9 kB / 0.5928 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/1.264, allocations: 0.5005 MB / 0.5933 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001895/1.27, allocations: 142.4 kB / 0.5934 GB, free: 2.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001759/1.272, allocations: 0.5068 MB / 0.5939 GB, free: 1.512 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.32e-07/1.272, allocations: 0 / 0.5939 GB, free: 1.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007056/1.279, allocations: 0.9085 MB / 0.5948 GB, free: 0.6289 MB / 430.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.004008/1.283, allocations: 0.7657 MB / 0.5956 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02625/1.31, allocations: 6.768 MB / 0.6022 GB, free: 8.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/1.31, allocations: 4 kB / 0.6022 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02591/1.336, allocations: 9.312 MB / 0.6113 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/1.339, allocations: 295.7 kB / 0.6116 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/1.365, allocations: 5.422 MB / 0.6169 GB, free: 9.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/1.367, allocations: 1.435 MB / 0.6183 GB, free: 7.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/1.368, allocations: 119.4 kB / 0.6184 GB, free: 7.848 MB / 462.1 MB Notification: Performance of SimCode: time 1.563e-06/1.368, allocations: 0 / 0.6184 GB, free: 7.848 MB / 462.1 MB Notification: Performance of Templates: time 0.1322/1.5, allocations: 40.28 MB / 0.6577 GB, free: 15.39 MB / 0.4981 GB 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