Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.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.HybTest.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.HybTest.SixConflictProb") translateModel(PNlib.Examples.HybTest.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.HybTest.SixConflictProb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 107.5 kB / 16.41 MB, free: 6.48 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.001828/0.001828, allocations: 191 kB / 17.34 MB, free: 5.75 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.932/1.932, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07362/0.07362, allocations: 16.73 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 53.47 MB / 480.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.SixConflictProb): time 0.005885/0.1262, allocations: 3.85 MB / 484.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005283/0.1315, allocations: 2.453 MB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.1322, allocations: 19.94 kB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006791/0.1329, allocations: 329.5 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007448/0.1336, allocations: 321.4 kB / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.1358, allocations: 0.9972 MB / 488.4 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003611/0.1394, allocations: 3.038 MB / 491.5 MB, free: 9.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.1408, allocations: 0.84 MB / 492.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.1433, allocations: 1.335 MB / 493.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.1454, allocations: 1.01 MB / 494.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000575/0.146, allocations: 256 kB / 494.9 MB, free: 6.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.1475, allocations: 0.5893 MB / 495.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007627/0.1483, allocations: 0.6229 MB / 496.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.1499, allocations: 1.205 MB / 497.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004592/0.1545, allocations: 3.22 MB / 0.4888 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1545, allocations: 0 / 0.4888 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1545, allocations: 0 / 0.4888 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.241e-05/0.1546, allocations: 0 / 0.4888 GB, free: 0.8125 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.005844/0.1605, allocations: 3.15 MB / 0.4919 GB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.1605, allocations: 15.89 kB / 0.4919 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.1622, allocations: 344.9 kB / 0.4922 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.1648, allocations: 0.988 MB / 0.4932 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009641/0.1658, allocations: 0.7181 MB / 0.4939 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005342/0.1664, allocations: 279.9 kB / 0.4942 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.1781, allocations: 5.109 MB / 0.4991 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.447e-05/0.1782, allocations: 0 / 0.4991 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.1786, allocations: 127.9 kB / 0.4993 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006126/0.1792, allocations: 316.6 kB / 0.4996 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.1896, allocations: 3.876 MB / 0.5033 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3353/0.525, allocations: 9.853 MB / 0.513 GB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/0.5305, allocations: 4.486 MB / 0.5174 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004356/0.5349, allocations: 3.596 MB / 0.5209 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.5351, allocations: 105.3 kB / 0.521 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003792/0.5389, allocations: 2.226 MB / 0.5231 GB, free: 22.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=192): time 4.689e-06/0.5389, allocations: 0 / 0.5231 GB, free: 22.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=192): time 0.009357/0.5482, allocations: 6.287 MB / 0.5293 GB, free: 19.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004894/0.5488, allocations: 0.9176 MB / 0.5302 GB, free: 19.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.5509, allocations: 1.295 MB / 0.5314 GB, free: 18.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000239/0.5511, allocations: 112.6 kB / 0.5315 GB, free: 18.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008447/0.552, allocations: 1.013 MB / 0.5325 GB, free: 17.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000531/0.5525, allocations: 0.512 MB / 0.533 GB, free: 17.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.5536, allocations: 0.7731 MB / 0.5338 GB, free: 16.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.5537, allocations: 341.6 kB / 0.5341 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.5558, allocations: 1.633 MB / 0.5357 GB, free: 15.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.5582, allocations: 2.858 MB / 0.5385 GB, free: 13.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007117/0.5653, allocations: 7.589 MB / 0.5459 GB, free: 4.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.277e-05/0.5654, allocations: 12 kB / 0.5459 GB, free: 4.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.007426/0.5728, allocations: 5.638 MB / 0.5514 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004375/0.5733, allocations: 0.6162 MB / 0.552 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004653/0.578, allocations: 3.482 MB / 0.5554 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.814e-05/0.5781, allocations: 56 kB / 0.5555 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.5796, allocations: 459.3 kB / 0.5559 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.408e-05/0.5797, allocations: 83.72 kB / 0.556 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.582, allocations: 478.6 kB / 0.5565 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/0.5823, allocations: 176 kB / 0.5566 GB, free: 9.449 MB / 398.1 MB Warning: Assuming fixed start value for the following 36 variables: 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 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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 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: 176 * Number of states: 0 () * Number of discrete variables: 330 ($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.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[6],$PRE.P1.enableOut.disTAout[6],P1.enableOut.disTAout[5],$PRE.P1.enableOut.disTAout[5],P1.enableOut.disTAout[4],$PRE.P1.enableOut.disTAout[4],P1.enableOut.disTAout[3],$PRE.P1.enableOut.disTAout[3],P1.enableOut.disTAout[2],$PRE.P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],T6.inPlaces[1].tokenInOut,T5.inPlaces[1].tokenInOut,T4.inPlaces[1].tokenInOut,T3.inPlaces[1].tokenInOut,T2.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,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.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition15,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$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,P1.feeding.numtrue,P1.feeding.anytrue,T6.firingCon,T6.inPlaces[1].disTransition,P1.outTransition[6].normalArc,P1.outTransition[6].testValueint,P1.outTransition[6].arcType,P1.outTransition[6].disPlace,P1.outTransition[6].minTokensint,P1.outTransition[6].tint,T5.firingCon,T5.inPlaces[1].disTransition,P1.outTransition[5].normalArc,P1.outTransition[5].testValueint,P1.outTransition[5].arcType,P1.outTransition[5].disPlace,P1.outTransition[5].minTokensint,P1.outTransition[5].tint,T4.firingCon,T4.inPlaces[1].disTransition,P1.outTransition[4].normalArc,P1.outTransition[4].testValueint,P1.outTransition[4].arcType,P1.outTransition[4].disPlace,P1.outTransition[4].minTokensint,P1.outTransition[4].tint,T3.firingCon,T3.inPlaces[1].disTransition,P1.outTransition[3].normalArc,P1.outTransition[3].testValueint,P1.outTransition[3].arcType,P1.outTransition[3].disPlace,P1.outTransition[3].minTokensint,P1.outTransition[3].tint,T2.firingCon,T2.inPlaces[1].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T1.firingCon,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,P1.reStart,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.vec[3],P1.emptying.vec[4],P1.emptying.vec[5],P1.emptying.vec[6],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T6.firingTime,$PRE.T5.firingTime,$PRE.T4.firingTime,$PRE.T3.firingTime,$PRE.T2.firingTime,$PRE.T1.firingTime,$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],T1.activation.arcWeightIntIn[1],T2.activation.arcWeightIntIn[1],T3.activation.arcWeightIntIn[1],T4.activation.arcWeightIntIn[1],T5.activation.arcWeightIntIn[1],T6.activation.arcWeightIntIn[1],T6.activation.normalArc[1],T6.activation.testValueInt[1],T6.activation.arcType[1],T6.activation.disPlaceIn[1],T6.activation.minTokensInt[1],T6.activation.tIntIn[1],T5.activation.normalArc[1],T5.activation.testValueInt[1],T5.activation.arcType[1],T5.activation.disPlaceIn[1],T5.activation.minTokensInt[1],T5.activation.tIntIn[1],T4.activation.normalArc[1],T4.activation.testValueInt[1],T4.activation.arcType[1],T4.activation.disPlaceIn[1],T4.activation.minTokensInt[1],T4.activation.tIntIn[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[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],T6.activation.active,T6.delayPassed,$PRE.T6.delayPassed,T6.firingTime,T6.active,T5.activation.active,T5.delayPassed,$PRE.T5.delayPassed,T5.firingTime,T5.active,T4.activation.active,T4.delayPassed,$PRE.T4.delayPassed,T4.firingTime,T4.active,T3.activation.active,T3.delayPassed,$PRE.T3.delayPassed,T3.firingTime,T3.active,T2.activation.active,T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.active,T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[6],P1.disMarksOut.vec[5],P1.disMarksOut.vec[4],P1.disMarksOut.vec[3],P1.disMarksOut.vec[2],P1.disMarksOut.vec[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.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.fireOut[6],P1.fireOut[5],P1.fireOut[4],P1.fireOut[3],P1.fireOut[2],P1.fireOut[1],$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (426): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 16 * Record equations: 1 * 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.002586/0.5849, allocations: 1.76 MB / 0.5583 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/0.5854, allocations: 190.1 kB / 0.5585 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006355/0.5918, allocations: 4.714 MB / 0.5631 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.5918, allocations: 16 kB / 0.5631 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.5918, allocations: 7.172 kB / 0.5632 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.5918, allocations: 7.984 kB / 0.5632 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.6026, allocations: 7.305 MB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005945/0.6086, allocations: 4.606 MB / 0.5748 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.6091, allocations: 107.8 kB / 0.5749 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.6091, allocations: 4 kB / 0.5749 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/0.6094, allocations: 77.98 kB / 0.575 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.6094, allocations: 11.88 kB / 0.575 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.6094, allocations: 11.98 kB / 0.575 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009918/0.6193, allocations: 7.672 MB / 0.5825 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.6198, allocations: 227 kB / 0.5827 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004204/0.6202, allocations: 135.9 kB / 0.5828 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6213, allocations: 191.8 kB / 0.583 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002417/0.6238, allocations: 1.648 MB / 0.5846 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/0.624, allocations: 99.08 kB / 0.5847 GB, free: 12.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009234/0.6249, allocations: 0.6744 MB / 0.5854 GB, free: 11.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.625, allocations: 0 / 0.5854 GB, free: 11.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002792/0.6278, allocations: 0.7976 MB / 0.5862 GB, free: 10.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 150 (P1.feeding.anytrue,P1.feeding.numtrue,$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,P1.fireOut[5],P1.fireOut[6],P1.fireOut[3],P1.fireOut[2],P1.fireOut[1],P1.fireOut[4],T1.active,T2.active,T3.active,T4.active,T5.active,T6.active,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,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.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.disTAout[3],P1.enableOut.disTAout[4],P1.enableOut.disTAout[5],P1.enableOut.disTAout[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.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.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.vec[3],P1.disMarksOut.vec[4],P1.disMarksOut.vec[5],P1.disMarksOut.vec[6],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,T2.inPlaces[1].tokenInOut,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.active,T3.inPlaces[1].tokenInOut,T3.firingTime,T3.fireTime,T3.delayPassed,T3.ani,T3.activation.active,T4.inPlaces[1].tokenInOut,T4.firingTime,T4.fireTime,T4.delayPassed,T4.ani,T4.activation.active,T5.inPlaces[1].tokenInOut,T5.firingTime,T5.fireTime,T5.delayPassed,T5.ani,T5.activation.active,T6.inPlaces[1].tokenInOut,T6.firingTime,T6.fireTime,T6.delayPassed,T6.ani,T6.activation.active,P1.emptying.anytrue,P1.emptying.numtrue) * Number of discrete states: 84 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,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.disMarksIn.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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.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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[6],P1.enableOut.disTAout[5],P1.enableOut.disTAout[4],P1.enableOut.disTAout[3],P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition2,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.disMarksOut.numtrue,P1.disMarkChange,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,P1.feeding.numtrue,P1.feeding.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 14 * Record equations: 1 * When equations: 18 * 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.0009704/0.6287, allocations: 484.7 kB / 0.5866 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008212/0.637, allocations: 5.921 MB / 0.5924 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.637, allocations: 320 / 0.5924 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006872/0.6439, allocations: 6.879 MB / 0.5991 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.6452, allocations: 203.4 kB / 0.5993 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.6557, allocations: 6.635 MB / 0.6058 GB, free: 6.293 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.657, allocations: 1.665 MB / 0.6074 GB, free: 4.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.6575, allocations: 147.4 kB / 0.6076 GB, free: 4.449 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6575, allocations: 0 / 0.6076 GB, free: 4.449 MB / 446.1 MB Notification: Performance of Templates: time 0.05266/0.7102, allocations: 34.09 MB / 0.6409 GB, free: 2.305 MB / 478.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.SixConflictProb.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.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.HybTest.SixConflictProbCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.SixConflictProbCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.SixConflictProbCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.SixConflictProbInitialize.cpp:2639:160: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 6, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, -0.0, tmp66, tmp67, tmp68, tmp69, tmp70, tmp71, (tmp72 && (!tmp73)), (_P1_P_fireOut_ && (!tmp74)), tmp75); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.SixConflictProbInitialize.cpp:2639:190: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 6, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, -0.0, tmp66, tmp67, tmp68, tmp69, tmp70, tmp71, (tmp72 && (!tmp73)), (_P1_P_fireOut_ && (!tmp74)), tmp75); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.SixConflictProbCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.SixConflictProb.cpp:1962:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp244),tmp245); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.SixConflictProb.cpp:2889:167: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 6, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, -0.0, tmp311, tmp312, tmp313, tmp314, tmp315, tmp316, (tmp317 && (!tmp318)), (_P1_P_disMarksOut_P_vec_ && (!tmp319)), tmp320); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.SixConflictProb.cpp:2889:208: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 6, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, -0.0, tmp311, tmp312, tmp313, tmp314, tmp315, tmp316, (tmp317 && (!tmp318)), (_P1_P_disMarksOut_P_vec_ && (!tmp319)), tmp320); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.SixConflictProbCalcHelperMain.o] Error 1