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.001459/0.001459, allocations: 100.1 kB / 15.88 MB, free: 12 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.001599/0.001599, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.171/0.171, allocations: 16.76 MB / 307.4 MB, free: 15.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 371.6 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.257, allocations: 53.45 MB / 425.1 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.002508/0.2595, allocations: 2.086 MB / 427.2 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.2618, allocations: 1.794 MB / 429 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.262, allocations: 6.844 kB / 429 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.2623, allocations: 103.8 kB / 429.1 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.2626, allocations: 82.5 kB / 429.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008242/0.2634, allocations: 0.5609 MB / 429.7 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006076/0.264, allocations: 1.077 MB / 430.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.2642, allocations: 155.3 kB / 430.9 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.2645, allocations: 419.1 kB / 431.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.2648, allocations: 342.2 kB / 431.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.581e-05/0.2649, allocations: 39.19 kB / 431.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.2653, allocations: 365.6 kB / 432.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2655, allocations: 152.1 kB / 432.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.2657, allocations: 350.5 kB / 432.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005432/0.2663, allocations: 0.7923 MB / 433.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2663, allocations: 0 / 433.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2663, allocations: 0 / 433.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2663, allocations: 3.375 kB / 433.4 MB, free: 36.17 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.001297/0.2676, allocations: 1.312 MB / 434.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2676, allocations: 8.312 kB / 434.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/0.2682, allocations: 141 kB / 434.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.2687, allocations: 428 kB / 435.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.2688, allocations: 140.1 kB / 435.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.2689, allocations: 78.58 kB / 435.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.2705, allocations: 1.274 MB / 436.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2705, allocations: 0 / 436.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/0.2706, allocations: 32.89 kB / 436.8 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-05/0.2707, allocations: 67.75 kB / 436.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.272, allocations: 0.8856 MB / 437.7 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.2748, allocations: 3.006 MB / 440.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.2759, allocations: 1.185 MB / 441.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008135/0.2767, allocations: 0.9686 MB / 442.9 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.2768, allocations: 104.8 kB / 443 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008748/0.2777, allocations: 0.7484 MB / 443.7 MB, free: 29.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.024e-06/0.2777, allocations: 0 / 443.7 MB, free: 29.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.002765/0.2805, allocations: 2.177 MB / 445.9 MB, free: 28.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.2807, allocations: 0.5972 MB / 446.5 MB, free: 28.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.281, allocations: 418.4 kB / 446.9 MB, free: 28.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.2811, allocations: 63.84 kB / 447 MB, free: 28.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2812, allocations: 287.5 kB / 447.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.2813, allocations: 185.3 kB / 447.4 MB, free: 27.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.2816, allocations: 233 kB / 447.7 MB, free: 27.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.2816, allocations: 371.3 kB / 448 MB, free: 27.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.2822, allocations: 422.1 kB / 448.4 MB, free: 27.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/0.283, allocations: 0.812 MB / 449.2 MB, free: 26.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.2852, allocations: 2.453 MB / 451.7 MB, free: 24.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.2852, allocations: 13.12 kB / 451.7 MB, free: 24.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002/0.2873, allocations: 1.806 MB / 453.5 MB, free: 23.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.2874, allocations: 360.7 kB / 453.9 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.2874, allocations: 19.53 kB / 453.9 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.2875, allocations: 16.41 kB / 453.9 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.2878, allocations: 129.8 kB / 454 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.2878, allocations: 25.86 kB / 454.1 MB, free: 23.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.2883, allocations: 133.6 kB / 454.2 MB, free: 23.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.2884, allocations: 60.31 kB / 454.2 MB, free: 23.19 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.0006498/0.289, allocations: 0.7505 MB / 455 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.2892, allocations: 69.5 kB / 455.1 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.2912, allocations: 1.61 MB / 456.7 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2912, allocations: 3.062 kB / 456.7 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.2912, allocations: 10.53 kB / 456.7 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2913, allocations: 0 / 456.7 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.2944, allocations: 2.551 MB / 459.2 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.2944, allocations: 2.125 kB / 459.2 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.2945, allocations: 38.09 kB / 459.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2946, allocations: 2.438 kB / 459.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.2946, allocations: 37.12 kB / 459.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2947, allocations: 2.281 kB / 459.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2947, allocations: 1.188 kB / 459.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.2982, allocations: 2.738 MB / 462.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.2983, allocations: 127.2 kB / 462.2 MB, free: 19.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.2985, allocations: 67.73 kB / 462.2 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.2989, allocations: 67.98 kB / 462.3 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004543/0.2994, allocations: 306.5 kB / 462.6 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.2995, allocations: 43.56 kB / 462.7 MB, free: 19.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.2997, allocations: 253 kB / 462.9 MB, free: 18.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2997, allocations: 3.938 kB / 462.9 MB, free: 18.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009792/0.3007, allocations: 309.1 kB / 463.2 MB, free: 18.93 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.0005952/0.3013, allocations: 347 kB / 463.5 MB, free: 18.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.3035, allocations: 2.01 MB / 465.6 MB, free: 17.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.3035, allocations: 0 / 465.6 MB, free: 17.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.3052, allocations: 2.304 MB / 467.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.3057, allocations: 89.77 kB / 467.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.3081, allocations: 1.649 MB / 469.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3086, allocations: 0.9256 MB / 470.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3087, allocations: 48.53 kB / 470.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3087, allocations: 0 / 470.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Templates: time 0.01659/0.3253, allocations: 11.54 MB / 482.1 MB, free: 10.55 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