Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTD.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.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") translateModel(PNlib.Examples.HybTest.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.603/1.603, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2386/0.2386, allocations: 16.74 MB / 308.8 MB, free: 15.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 8 kB / 374.1 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3325, allocations: 54.48 MB / 428.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.001999/0.3345, allocations: 1.712 MB / 430.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.3376, allocations: 1.763 MB / 432 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.3379, allocations: 10.69 kB / 432 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.3382, allocations: 100 kB / 432.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.3385, allocations: 88.36 kB / 432.2 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3399, allocations: 0.5603 MB / 432.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3412, allocations: 1.08 MB / 433.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.3414, allocations: 146.5 kB / 434 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.3419, allocations: 402 kB / 434.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.3423, allocations: 306.6 kB / 434.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.338e-05/0.3424, allocations: 34.12 kB / 434.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006162/0.3431, allocations: 366.1 kB / 435.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.3432, allocations: 140 kB / 435.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.3435, allocations: 360.3 kB / 435.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006406/0.3442, allocations: 0.7702 MB / 436.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3442, allocations: 0 / 436.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3442, allocations: 0 / 436.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.3442, allocations: 0 / 436.3 MB, free: 36.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001289/0.3455, allocations: 1.172 MB / 437.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3456, allocations: 8.875 kB / 437.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.3462, allocations: 145 kB / 437.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3467, allocations: 430.3 kB / 438.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3468, allocations: 141.3 kB / 438.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.347, allocations: 81.61 kB / 438.3 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.3489, allocations: 1.279 MB / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.3489, allocations: 0 / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.349, allocations: 40.75 kB / 439.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.3491, allocations: 60.66 kB / 439.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3506, allocations: 0.8988 MB / 440.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.3537, allocations: 3.005 MB / 443.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.3549, allocations: 1.205 MB / 444.8 MB, free: 31.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.356, allocations: 0.9767 MB / 445.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.2e-05/0.3561, allocations: 94.34 kB / 445.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009594/0.3571, allocations: 0.7667 MB / 446.6 MB, free: 30.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.805e-06/0.3571, allocations: 0 / 446.6 MB, free: 30.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.003107/0.3602, allocations: 2.186 MB / 448.8 MB, free: 29.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002206/0.3604, allocations: 0.5989 MB / 449.4 MB, free: 28.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.3608, allocations: 416.4 kB / 449.8 MB, free: 28.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.3609, allocations: 71.36 kB / 449.9 MB, free: 28.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3611, allocations: 290.5 kB / 450.2 MB, free: 28.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.3612, allocations: 183.1 kB / 450.3 MB, free: 28.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.3614, allocations: 138.8 kB / 450.5 MB, free: 27.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.3615, allocations: 372.2 kB / 450.8 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.3621, allocations: 428.3 kB / 451.3 MB, free: 27.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.3628, allocations: 0.8173 MB / 452.1 MB, free: 26.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.3655, allocations: 2.46 MB / 454.5 MB, free: 25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/0.3656, allocations: 9.562 kB / 454.6 MB, free: 25 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002564/0.3681, allocations: 1.822 MB / 456.4 MB, free: 24.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.3683, allocations: 363 kB / 456.7 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/0.3684, allocations: 15.11 kB / 456.7 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/0.3684, allocations: 18.62 kB / 456.8 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3688, allocations: 139.5 kB / 456.9 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.3688, allocations: 22.34 kB / 456.9 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.3694, allocations: 149.8 kB / 457.1 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.775e-05/0.3695, allocations: 59.98 kB / 457.1 MB, free: 23.6 MB / 350.1 MB Warning: Assuming fixed start value for the following 21 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 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 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: 55 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,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,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.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],T1.activation.arcWeightIntIn[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],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 11 * 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.0009404/0.3704, allocations: 0.7485 MB / 457.9 MB, free: 23.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.3706, allocations: 68.19 kB / 457.9 MB, free: 23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.3729, allocations: 1.621 MB / 459.6 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.3729, allocations: 3.031 kB / 459.6 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3729, allocations: 3.125 kB / 459.6 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.373, allocations: 0 / 459.6 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.3767, allocations: 2.561 MB / 462.1 MB, free: 21.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.3767, allocations: 6.219 kB / 462.1 MB, free: 21.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3768, allocations: 37.02 kB / 462.2 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.3769, allocations: 2.688 kB / 462.2 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.377, allocations: 41.97 kB / 462.2 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.377, allocations: 2.375 kB / 462.2 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.377, allocations: 0.9688 kB / 462.2 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/0.3813, allocations: 2.755 MB / 465 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3814, allocations: 133.7 kB / 465.1 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.3816, allocations: 63.91 kB / 465.2 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.3821, allocations: 78.73 kB / 465.2 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005811/0.3827, allocations: 307.3 kB / 465.5 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.3828, allocations: 46.77 kB / 465.6 MB, free: 19.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003124/0.3832, allocations: 252.2 kB / 465.8 MB, free: 19.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3832, allocations: 1.125 kB / 465.8 MB, free: 19.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001637/0.3848, allocations: 308.3 kB / 466.1 MB, free: 19.34 MB / 350.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: 60 (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[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.disMarksInOut,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,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 (34): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.0008088/0.3856, allocations: 346.7 kB / 466.5 MB, free: 19.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003152/0.3888, allocations: 2.014 MB / 468.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3888, allocations: 1.375 kB / 468.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.3912, allocations: 2.312 MB / 470.8 MB, free: 16.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.3919, allocations: 89.69 kB / 470.9 MB, free: 16.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.395, allocations: 1.665 MB / 472.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.3955, allocations: 0.9212 MB / 473.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3956, allocations: 47.73 kB / 473.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3956, allocations: 0 / 473.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Templates: time 0.02342/0.4191, allocations: 11.47 MB / 485 MB, free: 10.57 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTD.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTD.makefile clang++ -std=c++14 -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.PCtoTDCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDInitialize.cpp:766:159: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (tmp31 && (!tmp32)), (_P1_P_fireOut_ && (!tmp33)), tmp34); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDInitialize.cpp:766:189: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (tmp31 && (!tmp32)), (_P1_P_fireOut_ && (!tmp33)), tmp34); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:778:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp165),tmp166); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1159:166: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (tmp217 && (!tmp218)), (_P1_P_disMarksOut_P_vec_ && (!tmp219)), tmp220); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1159:207: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (tmp217 && (!tmp218)), (_P1_P_disMarksOut_P_vec_ && (!tmp219)), tmp220); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.o] Error 1