Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009883/0.0009931, allocations: 92.16 kB / 16.02 MB, free: 80 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.001492/0.001492, allocations: 185.8 kB / 16.92 MB, free: 6.926 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.495/1.495, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2208/0.2208, allocations: 16.74 MB / 308.8 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 11.98 kB / 374.1 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3505, allocations: 54.47 MB / 428.5 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.001968/0.3525, allocations: 1.715 MB / 430.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.3554, allocations: 1.772 MB / 432 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.3557, allocations: 6.906 kB / 432 MB, free: 38.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.356, allocations: 102.8 kB / 432.1 MB, free: 38.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.3563, allocations: 108.4 kB / 432.2 MB, free: 38.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3576, allocations: 0.5527 MB / 432.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009301/0.3585, allocations: 1.192 MB / 434 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.3588, allocations: 248.3 kB / 434.2 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.3591, allocations: 420.5 kB / 434.6 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.3595, allocations: 430.3 kB / 435.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3596, allocations: 49.97 kB / 435.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.3601, allocations: 379.6 kB / 435.5 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.3603, allocations: 198.7 kB / 435.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.3607, allocations: 0.5021 MB / 436.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007718/0.3614, allocations: 1.091 MB / 437.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3614, allocations: 0 / 437.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3615, allocations: 0 / 437.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3615, allocations: 2.312 kB / 437.3 MB, free: 36.86 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001439/0.3629, allocations: 1.352 MB / 438.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.363, allocations: 13.56 kB / 438.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009641/0.3639, allocations: 234.3 kB / 438.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.3646, allocations: 0.5412 MB / 439.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.3647, allocations: 255.4 kB / 439.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.3649, allocations: 124.5 kB / 439.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.3675, allocations: 1.954 MB / 441.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.3675, allocations: 6.875 kB / 441.7 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.3676, allocations: 58.31 kB / 441.8 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.3678, allocations: 102.8 kB / 441.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.3699, allocations: 1.427 MB / 443.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.3749, allocations: 3.567 MB / 446.9 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3767, allocations: 1.845 MB / 448.7 MB, free: 30.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.3782, allocations: 1.695 MB / 450.4 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.3784, allocations: 97.41 kB / 450.5 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/0.3799, allocations: 1.097 MB / 451.6 MB, free: 29.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.394e-06/0.3799, allocations: 2.562 kB / 451.6 MB, free: 29.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004755/0.3846, allocations: 3.365 MB / 455 MB, free: 27.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003138/0.385, allocations: 0.6633 MB / 455.7 MB, free: 27.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.3856, allocations: 0.4969 MB / 456.1 MB, free: 26.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.898e-05/0.3857, allocations: 76.48 kB / 456.2 MB, free: 26.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.3859, allocations: 388.1 kB / 456.6 MB, free: 26.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.3861, allocations: 232.6 kB / 456.8 MB, free: 26.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.3862, allocations: 177.8 kB / 457 MB, free: 26.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3864, allocations: 382.5 kB / 457.4 MB, free: 25.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007851/0.3872, allocations: 0.5582 MB / 457.9 MB, free: 25.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.3882, allocations: 1.043 MB / 459 MB, free: 24.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.3917, allocations: 3.145 MB / 462.1 MB, free: 22.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.3917, allocations: 8.375 kB / 462.1 MB, free: 22.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003275/0.395, allocations: 2.245 MB / 464.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.3952, allocations: 379.8 kB / 464.7 MB, free: 21.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/0.3952, allocations: 19.69 kB / 464.8 MB, free: 21.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.835e-05/0.3953, allocations: 21.19 kB / 464.8 MB, free: 21.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.3957, allocations: 166.7 kB / 465 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.452e-05/0.3958, allocations: 32.31 kB / 465 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.3964, allocations: 179.6 kB / 465.2 MB, free: 21.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.3965, allocations: 68.36 kB / 465.2 MB, free: 21.09 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 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 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($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],$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.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,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.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[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.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.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.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enabledByInPlaces[1],P1.fireOut[1],P1.fireIn[1],$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 147 * 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.001187/0.3977, allocations: 0.91 MB / 466.1 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.398, allocations: 92.78 kB / 466.2 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/0.4022, allocations: 2.725 MB / 469 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.4022, allocations: 4.719 kB / 469 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.4022, allocations: 1.531 kB / 469 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.4023, allocations: 6.984 kB / 469 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006279/0.4085, allocations: 4.097 MB / 473.1 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.4086, allocations: 4.406 kB / 473.1 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.4088, allocations: 46.45 kB / 473.1 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.4088, allocations: 3.25 kB / 473.1 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.4089, allocations: 51.08 kB / 473.2 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.4089, allocations: 3.359 kB / 473.2 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4089, allocations: 1.062 kB / 473.2 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006229/0.4152, allocations: 4.088 MB / 477.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.4153, allocations: 139.8 kB / 477.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.4156, allocations: 86.56 kB / 477.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.4162, allocations: 111.8 kB / 477.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006249/0.4169, allocations: 364.6 kB / 477.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.417, allocations: 59.2 kB / 478 MB, free: 15.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.4174, allocations: 295.8 kB / 478.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4174, allocations: 0 / 478.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001385/0.4188, allocations: 390 kB / 478.7 MB, free: 15.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.enabledByInPlaces[1],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.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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],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.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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.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],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 32 * 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.0007449/0.4195, allocations: 391.8 kB / 479.1 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003468/0.423, allocations: 2.58 MB / 481.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.423, allocations: 0 / 481.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00261/0.4256, allocations: 3.42 MB / 485.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.4264, allocations: 117 kB / 485.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.4298, allocations: 2.468 MB / 487.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.4303, allocations: 1.033 MB / 488.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.4304, allocations: 51.44 kB / 488.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4304, allocations: 0 / 488.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of Templates: time 0.02168/0.4521, allocations: 15.29 MB / 0.4922 GB, free: 7.539 MB / 366.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybLoopAndArcweightCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightInitialize.cpp:1102:167: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp43, tmp44, tmp45, tmp46, tmp47, tmp48, (_P1_P_fireIn_ && (!tmp49)), (_P1_P_fireOut_ && (!tmp50)), tmp51); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightInitialize.cpp:1102:197: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp43, tmp44, tmp45, tmp46, tmp47, tmp48, (_P1_P_fireIn_ && (!tmp49)), (_P1_P_fireOut_ && (!tmp50)), tmp51); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:935:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp198),tmp199); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1376:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp242),tmp243); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1834:184: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp293, tmp294, tmp295, tmp296, tmp297, tmp298, (_P1_P_disMarksOut_P_vec_ && (!tmp299)), (_P1_P_disMarksOut_P_vec_ && (!tmp300)), tmp301); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1834:225: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp293, tmp294, tmp295, tmp296, tmp297, tmp298, (_P1_P_disMarksOut_P_vec_ && (!tmp299)), (_P1_P_disMarksOut_P_vec_ && (!tmp300)), tmp301); ^~~~~~~ 6 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.o] Error 1