Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SixConflictProb.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.DisTest.SixConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SixConflictProb") translateModel(PNlib.Examples.DisTest.SixConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|T6.active|T6.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SixConflictProb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001823, allocations: 106.9 kB / 16.41 MB, free: 6.488 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.002367/0.002366, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.391/2.391, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1711/0.1711, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 63.91 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.189, allocations: 53.48 MB / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SixConflictProb): time 0.008056/0.1972, allocations: 3.719 MB / 484.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009334/0.2066, allocations: 2.814 MB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.2084, allocations: 23.88 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.2101, allocations: 317.6 kB / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.2124, allocations: 313.5 kB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00556/0.218, allocations: 1.251 MB / 488.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.2289, allocations: 2.932 MB / 491.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.2312, allocations: 0.8476 MB / 492.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.2348, allocations: 1.316 MB / 494 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006777/0.2416, allocations: 0.9677 MB / 495 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.2432, allocations: 251.9 kB / 495.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.246, allocations: 0.6401 MB / 495.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.2474, allocations: 0.5449 MB / 496.4 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007169/0.2546, allocations: 1.15 MB / 497.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.2656, allocations: 3.119 MB / 0.4889 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.2657, allocations: 0 / 0.4889 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2657, allocations: 7.938 kB / 0.4889 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000122/0.2659, allocations: 0 / 0.4889 GB, free: 0.6523 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.01427/0.2801, allocations: 2.996 MB / 0.4919 GB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.903e-05/0.2802, allocations: 11.89 kB / 0.4919 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.2823, allocations: 285.2 kB / 0.4922 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007748/0.29, allocations: 0.9491 MB / 0.4931 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007674/0.2909, allocations: 370.6 kB / 0.4934 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/0.2924, allocations: 267.9 kB / 0.4937 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/0.315, allocations: 5.296 MB / 0.4989 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.3152, allocations: 11.88 kB / 0.4989 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/0.3164, allocations: 131.9 kB / 0.499 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000767/0.3172, allocations: 291.7 kB / 0.4993 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02168/0.3389, allocations: 3.884 MB / 0.5031 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4527/0.7916, allocations: 12.17 MB / 0.515 GB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009618/0.8013, allocations: 4.766 MB / 0.5196 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007749/0.8091, allocations: 4.447 MB / 0.524 GB, free: 20.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.8093, allocations: 98.42 kB / 0.524 GB, free: 20.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007226/0.8166, allocations: 2.726 MB / 0.5267 GB, free: 19.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 1.266e-05/0.8167, allocations: 1 kB / 0.5267 GB, free: 19.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.01938/0.836, allocations: 7.34 MB / 0.5339 GB, free: 16.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008835/0.837, allocations: 1.02 MB / 0.5349 GB, free: 15.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/0.8403, allocations: 1.288 MB / 0.5361 GB, free: 14.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006616/0.841, allocations: 125 kB / 0.5363 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.8423, allocations: 0.9155 MB / 0.5371 GB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/0.8436, allocations: 0.5185 MB / 0.5377 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00265/0.8462, allocations: 0.7703 MB / 0.5384 GB, free: 13.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.8464, allocations: 345.3 kB / 0.5387 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/0.8512, allocations: 1.717 MB / 0.5404 GB, free: 11.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005889/0.8571, allocations: 2.881 MB / 0.5432 GB, free: 7.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01783/0.875, allocations: 7.857 MB / 0.5509 GB, free: 15.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-05/0.8751, allocations: 12 kB / 0.5509 GB, free: 15.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.01895/0.8941, allocations: 5.724 MB / 0.5565 GB, free: 9.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009387/0.8951, allocations: 0.5874 MB / 0.5571 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/0.8952, allocations: 40 kB / 0.5571 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.8954, allocations: 52 kB / 0.5572 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.8982, allocations: 434.9 kB / 0.5576 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001565/0.8984, allocations: 75.72 kB / 0.5576 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004611/0.903, allocations: 474.5 kB / 0.5581 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008733/0.9039, allocations: 172 kB / 0.5583 GB, free: 7.59 MB / 398.1 MB Warning: Assuming fixed start value for the following 40 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 ) "priority Index" type: Integer T6.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T6.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T5.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T5.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T4.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T3.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 T6.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T5.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T4.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T3.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 348 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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[6],$PRE.P1.enableOut.cumEnablingProb[6],P1.enableOut.cumEnablingProb[5],$PRE.P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[4],$PRE.P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[3],$PRE.P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[2],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[6],$PRE.P1.enableOut.remTAout[6],P1.enableOut.remTAout[5],$PRE.P1.enableOut.remTAout[5],P1.enableOut.remTAout[4],$PRE.P1.enableOut.remTAout[4],P1.enableOut.remTAout[3],$PRE.P1.enableOut.remTAout[3],P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition17,T6.inPlaces[1].tokenInOut,T5.inPlaces[1].tokenInOut,T4.inPlaces[1].tokenInOut,T3.inPlaces[1].tokenInOut,T2.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T6.ani,$PRE.T6.fireTime,T6.ani,T6.fireTime,$PRE.T5.ani,$PRE.T5.fireTime,T5.ani,T5.fireTime,$PRE.T4.ani,$PRE.T4.fireTime,T4.ani,T4.fireTime,$PRE.T3.ani,$PRE.T3.fireTime,T3.ani,T3.fireTime,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition15,$whenCondition16,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T6.firingCon,T6.inPlaces[1].disTransition,P1.outTransition[6].normalArc,P1.outTransition[6].testValueint,P1.outTransition[6].arcType,P1.outTransition[6].disPlace,T5.firingCon,T5.inPlaces[1].disTransition,P1.outTransition[5].normalArc,P1.outTransition[5].testValueint,P1.outTransition[5].arcType,P1.outTransition[5].disPlace,T4.firingCon,T4.inPlaces[1].disTransition,P1.outTransition[4].normalArc,P1.outTransition[4].testValueint,P1.outTransition[4].arcType,P1.outTransition[4].disPlace,T3.firingCon,T3.inPlaces[1].disTransition,P1.outTransition[3].normalArc,P1.outTransition[3].testValueint,P1.outTransition[3].arcType,P1.outTransition[3].disPlace,T2.firingCon,T2.inPlaces[1].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T6.firingTime,$PRE.T5.firingTime,$PRE.T4.firingTime,$PRE.T3.firingTime,$PRE.T2.firingTime,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[6],$PRE.P1.enableOut.TEout[5],$PRE.P1.enableOut.TEout[4],$PRE.P1.enableOut.TEout[3],$PRE.P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.arcWeight[2],P1.enableOut.arcWeight[3],P1.enableOut.arcWeight[4],P1.enableOut.arcWeight[5],P1.enableOut.arcWeight[6],P1.enableOut.disTransition[6],T6.activation.normalArc[1],T6.activation.testValueInt[1],T6.activation.arcType[1],T6.activation.disPlaceIn[1],P1.enableOut.disTransition[5],T5.activation.normalArc[1],T5.activation.testValueInt[1],T5.activation.arcType[1],T5.activation.disPlaceIn[1],P1.enableOut.disTransition[4],T4.activation.normalArc[1],T4.activation.testValueInt[1],T4.activation.arcType[1],T4.activation.disPlaceIn[1],P1.enableOut.disTransition[3],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],P1.enableOut.disTransition[2],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T6.activation.active,T6.activation.minTokensInt[1],T6.activation.arcWeightIntIn[1],T6.activation.tIntIn[1],T6.delayPassed,$PRE.T6.delayPassed,T6.firingTime,T6.active,T5.activation.active,T5.activation.minTokensInt[1],T5.activation.arcWeightIntIn[1],T5.activation.tIntIn[1],T5.delayPassed,$PRE.T5.delayPassed,T5.firingTime,T5.active,T4.activation.active,T4.activation.minTokensInt[1],T4.activation.arcWeightIntIn[1],T4.activation.tIntIn[1],T4.delayPassed,$PRE.T4.delayPassed,T4.firingTime,T4.active,T3.activation.active,T3.activation.minTokensInt[1],T3.activation.arcWeightIntIn[1],T3.activation.tIntIn[1],T3.delayPassed,$PRE.T3.delayPassed,T3.firingTime,T3.active,T2.activation.active,T2.activation.minTokensInt[1],T2.activation.arcWeightIntIn[1],T2.activation.tIntIn[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.active,T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[6],P1.enableOut.TEout[5],P1.enableOut.TEout[4],P1.enableOut.TEout[3],P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableOut.TEout_[6],P1.enableOut.TEout_[5],P1.enableOut.TEout_[4],P1.enableOut.TEout_[3],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[6],P1.enableOut.TAout[5],P1.enableOut.TAout[4],P1.enableOut.TAout[3],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[6],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[6],P1.firingSumOut.fire[5],P1.firingSumOut.fire[4],P1.firingSumOut.fire[3],P1.firingSumOut.fire[2],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[6],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[6],P1.activeConOut.vec[5],P1.activeConOut.vec[4],P1.activeConOut.vec[3],P1.activeConOut.vec[2],P1.activeConOut.vec[1],P1.activeOut[6],$PRE.P1.activeOut[6],P1.activeOut[5],$PRE.P1.activeOut[5],P1.activeOut[4],$PRE.P1.activeOut[4],P1.activeOut[3],$PRE.P1.activeOut[3],P1.activeOut[2],$PRE.P1.activeOut[2],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,T6.enabledByOutPlaces,T5.enabledByOutPlaces,T4.enabledByOutPlaces,T3.enabledByOutPlaces,T2.enabledByOutPlaces,T1.enabledByOutPlaces,P1.outTransition[6].fed,P1.outTransition[5].fed,P1.outTransition[4].fed,P1.outTransition[3].fed,P1.outTransition[2].fed,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (425): * Single equations (assignments): 409 * Array equations: 1 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004979/0.9089, allocations: 1.751 MB / 0.56 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.91, allocations: 194.2 kB / 0.5602 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.925, allocations: 5.44 MB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.986e-05/0.9251, allocations: 27.94 kB / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/0.9252, allocations: 0 / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.022e-05/0.9252, allocations: 10.31 kB / 0.5655 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/0.9512, allocations: 8.043 MB / 0.5734 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/0.9512, allocations: 0 / 0.5734 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009495/0.9522, allocations: 111.8 kB / 0.5735 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.32e-05/0.9523, allocations: 4 kB / 0.5735 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000626/0.9529, allocations: 83.88 kB / 0.5736 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.031e-05/0.9529, allocations: 8 kB / 0.5736 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.953, allocations: 0.5625 kB / 0.5736 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/0.97, allocations: 5.864 MB / 0.5793 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.9707, allocations: 226.9 kB / 0.5795 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/0.9718, allocations: 151.9 kB / 0.5796 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/0.9746, allocations: 199.8 kB / 0.5798 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005342/0.98, allocations: 1.699 MB / 0.5815 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007441/0.9807, allocations: 99.94 kB / 0.5816 GB, free: 15.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002001/0.9828, allocations: 0.6859 MB / 0.5823 GB, free: 14.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.9828, allocations: 0 / 0.5823 GB, free: 14.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005113/0.9879, allocations: 0.802 MB / 0.583 GB, free: 13.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 178 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,T2.active,T3.active,T4.active,T5.active,T6.active,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeOut[2],P1.activeOut[3],P1.activeOut[4],P1.activeOut[5],P1.activeOut[6],P1.activeConOut.vec[1],P1.activeConOut.vec[2],P1.activeConOut.vec[3],P1.activeConOut.vec[4],P1.activeConOut.vec[5],P1.activeConOut.vec[6],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[6],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[3],P1.firingSumOut.fire[4],P1.firingSumOut.fire[5],P1.firingSumOut.fire[6],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[6],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TAout[3],P1.enableOut.TAout[4],P1.enableOut.TAout[5],P1.enableOut.TAout[6],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[3],P1.enableOut.TEout_[4],P1.enableOut.TEout_[5],P1.enableOut.TEout_[6],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.TEout[3],P1.enableOut.TEout[4],P1.enableOut.TEout[5],P1.enableOut.TEout[6],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.remTAout[3],P1.enableOut.remTAout[4],P1.enableOut.remTAout[5],P1.enableOut.remTAout[6],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[6],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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T2.inPlaces[1].tokenInOut,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T3.inPlaces[1].tokenInOut,T3.firingTime,T3.fireTime,T3.delayPassed,T3.ani,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T4.inPlaces[1].tokenInOut,T4.firingTime,T4.fireTime,T4.delayPassed,T4.ani,T4.activation.tIntIn[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.active,T5.inPlaces[1].tokenInOut,T5.firingTime,T5.fireTime,T5.delayPassed,T5.ani,T5.activation.tIntIn[1],T5.activation.arcWeightIntIn[1],T5.activation.minTokensInt[1],T5.activation.active,T6.inPlaces[1].tokenInOut,T6.firingTime,T6.fireTime,T6.delayPassed,T6.ani,T6.activation.tIntIn[1],T6.activation.arcWeightIntIn[1],T6.activation.minTokensInt[1],T6.activation.active) * Number of discrete states: 87 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],P1.activeOut[2],P1.activeOut[3],P1.activeOut[4],P1.activeOut[5],P1.activeOut[6],T6.activation.active,T6.delayPassed,T5.activation.active,T5.delayPassed,T4.activation.active,T4.delayPassed,T3.activation.active,T3.delayPassed,T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[6],P1.enableOut.TEout_[5],P1.enableOut.TEout_[4],P1.enableOut.TEout_[3],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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[6],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[6],P1.enableOut.remTAout[5],P1.enableOut.remTAout[4],P1.enableOut.remTAout[3],P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[6],P1.enableOut.TEout[5],P1.enableOut.TEout[4],P1.enableOut.TEout[3],P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,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,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 13 * Record equations: 0 * When equations: 19 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002569/0.9906, allocations: 0.5256 MB / 0.5836 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01792/1.009, allocations: 6.34 MB / 0.5897 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.009, allocations: 0 / 0.5897 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01441/1.023, allocations: 7.981 MB / 0.5975 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/1.026, allocations: 225.4 kB / 0.5978 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.048, allocations: 7.47 MB / 0.6051 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/1.051, allocations: 1.584 MB / 0.6066 GB, free: 5.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009823/1.052, allocations: 167.3 kB / 0.6068 GB, free: 5.188 MB / 446.1 MB Notification: Performance of SimCode: time 1.754e-06/1.052, allocations: 4 kB / 0.6068 GB, free: 5.184 MB / 446.1 MB Notification: Performance of Templates: time 0.08997/1.142, allocations: 34.02 MB / 0.64 GB, free: 3.164 MB / 478.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.SixConflictProb.makefile make -j1 -f PNlib_PNlib.Examples.DisTest.SixConflictProb.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.DisTest.SixConflictProbCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.SixConflictProbCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.SixConflictProbCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.SixConflictProbInitialize.cpp:2322:62: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_P1_P_activeOut__pre && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.SixConflictProbInitialize.cpp:2357:113: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_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.DisTest.SixConflictProbCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.SixConflictProbInitialize.cpp:2357:205: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_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.DisTest.SixConflictProbCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.SixConflictProb.cpp:160:81: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P1_P_activeOut_) && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.DisTest.SixConflictProbCalcHelperMain.o] Error 1