Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.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.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") translateModel(PNlib.Examples.HybTest.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 104.6 kB / 16.4 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.001538/0.001538, allocations: 192.1 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.138/2.138, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1205/0.1205, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.89 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 53.48 MB / 480.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.005645/0.1603, allocations: 1.973 MB / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.1656, allocations: 1.548 MB / 484 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000505/0.1662, allocations: 12 kB / 484 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.1668, allocations: 119 kB / 484.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007899/0.1676, allocations: 119 kB / 484.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.1705, allocations: 0.6502 MB / 484.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002581/0.1731, allocations: 1.334 MB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.1735, allocations: 135.8 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.1747, allocations: 0.4985 MB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008786/0.1756, allocations: 330.4 kB / 487.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.1758, allocations: 72 kB / 487.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.1772, allocations: 447.4 kB / 487.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.1776, allocations: 155.5 kB / 487.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006831/0.1783, allocations: 342.4 kB / 488.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.1803, allocations: 1.025 MB / 489.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1803, allocations: 0 / 489.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1803, allocations: 0 / 489.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.1804, allocations: 0 / 489.2 MB, free: 12.22 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.003084/0.1835, allocations: 1.263 MB / 490.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.1835, allocations: 11.89 kB / 490.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.1848, allocations: 140 kB / 490.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1859, allocations: 410.8 kB / 491 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.1862, allocations: 134.4 kB / 491.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.1864, allocations: 75.97 kB / 491.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.1899, allocations: 1.106 MB / 492.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.1899, allocations: 0 / 492.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.1901, allocations: 35.98 kB / 492.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.1903, allocations: 52.95 kB / 492.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.1931, allocations: 0.7613 MB / 493.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006784/0.1999, allocations: 2.734 MB / 495.9 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.2027, allocations: 1.038 MB / 496.9 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.2046, allocations: 0.9017 MB / 497.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003877/0.2085, allocations: 2.892 MB / 0.489 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002044/0.2106, allocations: 0.6883 MB / 0.4897 GB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 6.302e-06/0.2106, allocations: 0 / 0.4897 GB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.0058/0.2164, allocations: 1.936 MB / 0.4916 GB, free: 12.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004848/0.217, allocations: 0.5788 MB / 0.4921 GB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/0.2178, allocations: 380 kB / 0.4925 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.218, allocations: 61.69 kB / 0.4925 GB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.2184, allocations: 256.3 kB / 0.4928 GB, free: 11.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.2187, allocations: 185.8 kB / 0.493 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005256/0.2193, allocations: 206.7 kB / 0.4932 GB, free: 11.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.2196, allocations: 374.7 kB / 0.4935 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.2207, allocations: 318.1 kB / 0.4938 GB, free: 10.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.2223, allocations: 0.6652 MB / 0.4945 GB, free: 9.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004807/0.2271, allocations: 2.099 MB / 0.4965 GB, free: 7.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.532e-05/0.2271, allocations: 4 kB / 0.4965 GB, free: 7.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004335/0.2315, allocations: 1.519 MB / 0.498 GB, free: 5.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003652/0.2319, allocations: 346.7 kB / 0.4983 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001738/0.2336, allocations: 0.5655 MB / 0.4989 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.727e-05/0.2337, allocations: 16.53 kB / 0.4989 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.2345, allocations: 123.7 kB / 0.499 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-05/0.2346, allocations: 27.86 kB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.2355, allocations: 111 kB / 0.4992 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.2357, allocations: 55.98 kB / 0.4992 GB, free: 4.297 MB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.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.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.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: 48 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 107 * 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.001589/0.2373, allocations: 0.7239 MB / 0.4999 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.2377, allocations: 67.44 kB / 0.5 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004563/0.2422, allocations: 1.436 MB / 0.5014 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.2423, allocations: 4 kB / 0.5014 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.2423, allocations: 4 kB / 0.5014 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.2423, allocations: 0 / 0.5014 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3611/0.6034, allocations: 2.325 MB / 0.5037 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004645/0.6081, allocations: 1.356 MB / 0.505 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.6085, allocations: 30.45 kB / 0.505 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/0.6086, allocations: 2.125 kB / 0.505 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/0.6088, allocations: 36.23 kB / 0.505 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/0.6088, allocations: 6.781 kB / 0.5051 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.6088, allocations: 1.031 kB / 0.5051 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006953/0.6158, allocations: 2.476 MB / 0.5075 GB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.616, allocations: 122.2 kB / 0.5076 GB, free: 33.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.6163, allocations: 69.67 kB / 0.5077 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.6171, allocations: 58.89 kB / 0.5077 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/0.6175, allocations: 89.78 kB / 0.5078 GB, free: 33.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/0.6177, allocations: 44.17 kB / 0.5078 GB, free: 33.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004851/0.6182, allocations: 226.4 kB / 0.5081 GB, free: 33.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6182, allocations: 0 / 0.5081 GB, free: 33.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001782/0.62, allocations: 283.7 kB / 0.5083 GB, free: 33.61 MB / 382.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.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * 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.001458/0.6215, allocations: 342.1 kB / 0.5087 GB, free: 33.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004092/0.6256, allocations: 1.765 MB / 0.5104 GB, free: 32.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.6256, allocations: 0 / 0.5104 GB, free: 32.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.6286, allocations: 2.206 MB / 0.5125 GB, free: 30.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6297, allocations: 85.34 kB / 0.5126 GB, free: 30.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/0.635, allocations: 1.449 MB / 0.514 GB, free: 30.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007822/0.6359, allocations: 0.9087 MB / 0.5149 GB, free: 29.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.6362, allocations: 42.08 kB / 0.515 GB, free: 29.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.213e-06/0.6362, allocations: 0 / 0.515 GB, free: 29.32 MB / 382.1 MB Notification: Performance of Templates: time 0.03129/0.6675, allocations: 10.57 MB / 0.5253 GB, free: 25.89 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.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.TDtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:683:167: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:683:188: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:721:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp165),tmp166); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1102:183: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1102:206: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.o] Error 1