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.001594/0.0016, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001846/0.001846, allocations: 183 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.717/2.717, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1384/0.1384, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.91 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1875, allocations: 53.47 MB / 480.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.SixConflictProb): time 0.0118/0.1994, allocations: 3.845 MB / 484.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.2112, allocations: 2.453 MB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.2134, allocations: 19.94 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.215, allocations: 333.5 kB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.2173, allocations: 325.4 kB / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.2215, allocations: 0.993 MB / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.2316, allocations: 3.03 MB / 491.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.2339, allocations: 0.8478 MB / 492.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.2372, allocations: 1.332 MB / 493.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.2398, allocations: 1.003 MB / 494.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00145/0.2412, allocations: 256 kB / 494.9 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.2437, allocations: 0.6088 MB / 495.5 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005576/0.2493, allocations: 0.619 MB / 496.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002458/0.2518, allocations: 1.201 MB / 497.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005497/0.2573, allocations: 3.22 MB / 0.4888 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2574, allocations: 0 / 0.4888 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2574, allocations: 0 / 0.4888 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.215e-05/0.2575, allocations: 0 / 0.4888 GB, free: 0.7852 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.007435/0.2649, allocations: 3.146 MB / 0.4919 GB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.265, allocations: 11.89 kB / 0.4919 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.2666, allocations: 344.9 kB / 0.4922 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006566/0.2732, allocations: 0.9919 MB / 0.4932 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/0.2743, allocations: 0.7102 MB / 0.4939 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.2754, allocations: 283.9 kB / 0.4941 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.2887, allocations: 5.109 MB / 0.4991 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.39e-05/0.2888, allocations: 0 / 0.4991 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004638/0.2893, allocations: 127.9 kB / 0.4993 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006077/0.2899, allocations: 316.5 kB / 0.4996 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.3002, allocations: 3.88 MB / 0.5033 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5225/0.8227, allocations: 9.855 MB / 0.513 GB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009371/0.8322, allocations: 4.484 MB / 0.5174 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008467/0.8407, allocations: 3.594 MB / 0.5209 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.8411, allocations: 108.3 kB / 0.521 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008091/0.8492, allocations: 2.226 MB / 0.5231 GB, free: 22.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=192): time 1.087e-05/0.8493, allocations: 1.188 kB / 0.5231 GB, free: 22.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=192): time 0.01891/0.8682, allocations: 6.286 MB / 0.5293 GB, free: 19.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009337/0.8692, allocations: 0.9133 MB / 0.5302 GB, free: 19.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003458/0.8727, allocations: 1.296 MB / 0.5314 GB, free: 18.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007375/0.8735, allocations: 119.6 kB / 0.5315 GB, free: 18.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.8749, allocations: 1.009 MB / 0.5325 GB, free: 17.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.8761, allocations: 0.5093 MB / 0.533 GB, free: 17.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002033/0.8782, allocations: 0.7765 MB / 0.5338 GB, free: 16.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8783, allocations: 337.7 kB / 0.5341 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004443/0.8828, allocations: 1.631 MB / 0.5357 GB, free: 15.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006028/0.8889, allocations: 2.86 MB / 0.5385 GB, free: 13.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/0.904, allocations: 7.593 MB / 0.5459 GB, free: 4.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.683e-05/0.9042, allocations: 12 kB / 0.5459 GB, free: 4.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01622/0.9204, allocations: 5.635 MB / 0.5514 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009543/0.9214, allocations: 0.6162 MB / 0.552 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00994/0.9314, allocations: 3.482 MB / 0.5554 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.9317, allocations: 61.73 kB / 0.5555 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.935, allocations: 454.9 kB / 0.5559 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000171/0.9352, allocations: 83.72 kB / 0.556 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004977/0.9402, allocations: 478.4 kB / 0.5565 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/0.9414, allocations: 176.9 kB / 0.5566 GB, free: 9.395 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.005442/0.9469, allocations: 1.764 MB / 0.5583 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.9479, allocations: 190.1 kB / 0.5585 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.9618, allocations: 4.714 MB / 0.5631 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/0.9619, allocations: 15.09 kB / 0.5631 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/0.962, allocations: 3.984 kB / 0.5632 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/0.962, allocations: 7.984 kB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0247/0.9867, allocations: 7.304 MB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01299/0.9998, allocations: 4.614 MB / 0.5748 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/1.001, allocations: 107.7 kB / 0.5749 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-05/1.001, allocations: 4 kB / 0.5749 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006323/1.002, allocations: 75.95 kB / 0.575 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-05/1.002, allocations: 15.92 kB / 0.575 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.002, allocations: 0 / 0.575 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0223/1.024, allocations: 7.684 MB / 0.5825 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000689/1.025, allocations: 223 kB / 0.5827 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/1.026, allocations: 135.9 kB / 0.5828 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/1.029, allocations: 191.7 kB / 0.583 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00518/1.034, allocations: 1.652 MB / 0.5846 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007354/1.035, allocations: 91.95 kB / 0.5847 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00173/1.037, allocations: 0.6783 MB / 0.5854 GB, free: 11.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.037, allocations: 0 / 0.5854 GB, free: 11.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005841/1.043, allocations: 0.7898 MB / 0.5862 GB, free: 10.73 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.002553/1.045, allocations: 484.6 kB / 0.5866 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01708/1.063, allocations: 5.926 MB / 0.5924 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/1.063, allocations: 3.938 kB / 0.5924 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01348/1.076, allocations: 6.868 MB / 0.5991 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/1.078, allocations: 207.7 kB / 0.5993 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.099, allocations: 6.635 MB / 0.6058 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003035/1.102, allocations: 1.657 MB / 0.6074 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009378/1.103, allocations: 155.4 kB / 0.6076 GB, free: 4.387 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/1.103, allocations: 0 / 0.6076 GB, free: 4.387 MB / 446.1 MB Notification: Performance of Templates: time 0.1001/1.204, allocations: 33.77 MB / 0.6405 GB, free: 2.566 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