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.001269/0.001269, 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.001211/0.001211, allocations: 198.1 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2106/0.2106, allocations: 16.77 MB / 307.4 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.89 kB / 371.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3766, allocations: 53.45 MB / 425.1 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002998/0.3796, allocations: 2.087 MB / 427.2 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.3826, allocations: 1.795 MB / 428.9 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.3828, allocations: 10.78 kB / 429 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.3832, allocations: 104.7 kB / 429.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.3836, allocations: 98.48 kB / 429.2 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3848, allocations: 0.5546 MB / 429.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009175/0.3858, allocations: 1.188 MB / 430.9 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.3861, allocations: 264.3 kB / 431.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.3865, allocations: 459.1 kB / 431.6 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.3869, allocations: 472.5 kB / 432.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.3871, allocations: 62.81 kB / 432.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006102/0.3877, allocations: 390.2 kB / 432.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.3879, allocations: 226.3 kB / 432.7 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.3883, allocations: 0.4944 MB / 433.2 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008926/0.3892, allocations: 1.125 MB / 434.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3892, allocations: 0 / 434.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3892, allocations: 3.938 kB / 434.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3893, allocations: 0 / 434.4 MB, free: 35.67 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.001981/0.3912, allocations: 1.57 MB / 435.9 MB, free: 34.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3913, allocations: 8.719 kB / 435.9 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.3923, allocations: 226 kB / 436.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.393, allocations: 0.5466 MB / 436.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3932, allocations: 260.3 kB / 437 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.3934, allocations: 123.5 kB / 437.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.3962, allocations: 1.96 MB / 439 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.3962, allocations: 7 kB / 439 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.3964, allocations: 55.91 kB / 439.1 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/0.3965, allocations: 108.2 kB / 439.2 MB, free: 32.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.3988, allocations: 1.414 MB / 440.6 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.4034, allocations: 3.548 MB / 444.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.4054, allocations: 1.828 MB / 446 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.407, allocations: 1.693 MB / 447.7 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.4072, allocations: 89.55 kB / 447.8 MB, free: 28.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/0.4087, allocations: 1.098 MB / 448.9 MB, free: 27.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 3.246e-06/0.4087, allocations: 3.984 kB / 448.9 MB, free: 27.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004624/0.4133, allocations: 3.351 MB / 452.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002932/0.4136, allocations: 0.6619 MB / 452.9 MB, free: 25.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.4142, allocations: 0.5007 MB / 453.4 MB, free: 25.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.425e-05/0.4143, allocations: 73.56 kB / 453.5 MB, free: 25.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.4146, allocations: 381.2 kB / 453.8 MB, free: 25.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.4147, allocations: 239.3 kB / 454.1 MB, free: 25.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/0.4151, allocations: 301.8 kB / 454.4 MB, free: 24.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4152, allocations: 384.1 kB / 454.7 MB, free: 24.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/0.416, allocations: 0.5545 MB / 455.3 MB, free: 24.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.4172, allocations: 1.035 MB / 456.3 MB, free: 23.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/0.421, allocations: 3.125 MB / 459.4 MB, free: 21.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.699e-05/0.421, allocations: 8.688 kB / 459.5 MB, free: 21.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003604/0.4246, allocations: 2.238 MB / 461.7 MB, free: 20.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001996/0.4248, allocations: 381.7 kB / 462.1 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.824e-05/0.4249, allocations: 15.84 kB / 462.1 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.444e-05/0.4249, allocations: 20.66 kB / 462.1 MB, free: 19.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.4254, allocations: 166.7 kB / 462.3 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-05/0.4255, allocations: 28.48 kB / 462.3 MB, free: 19.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.4262, allocations: 166.8 kB / 462.5 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.4263, allocations: 70.06 kB / 462.5 MB, free: 19.75 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.001415/0.4278, allocations: 0.9087 MB / 463.4 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.428, allocations: 94.97 kB / 463.5 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/0.4324, allocations: 2.713 MB / 466.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.4325, allocations: 5.531 kB / 466.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4325, allocations: 1.406 kB / 466.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4325, allocations: 2.203 kB / 466.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006613/0.4391, allocations: 4.093 MB / 470.3 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.4391, allocations: 4.141 kB / 470.3 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.4394, allocations: 44.17 kB / 470.4 MB, free: 16.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/0.4394, allocations: 3.344 kB / 470.4 MB, free: 16.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.4395, allocations: 51.03 kB / 470.4 MB, free: 16.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.4395, allocations: 2.562 kB / 470.4 MB, free: 16.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4395, allocations: 1.219 kB / 470.4 MB, free: 16.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006806/0.4464, allocations: 4.07 MB / 474.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.4466, allocations: 136.2 kB / 474.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.4469, allocations: 85.44 kB / 474.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.4475, allocations: 94.5 kB / 474.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006778/0.4482, allocations: 365.3 kB / 475.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/0.4484, allocations: 60.17 kB / 475.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.4488, allocations: 300.2 kB / 475.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4488, allocations: 0 / 475.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001737/0.4505, allocations: 401.4 kB / 475.9 MB, free: 13.84 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.0007656/0.4513, allocations: 374.4 kB / 476.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003681/0.455, allocations: 2.582 MB / 478.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.455, allocations: 0 / 478.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.4581, allocations: 3.412 MB / 482.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.4588, allocations: 108.5 kB / 482.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.4626, allocations: 2.458 MB / 484.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.4632, allocations: 1.046 MB / 485.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.4634, allocations: 49.45 kB / 485.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4634, allocations: 0 / 485.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of Templates: time 0.02299/0.4864, allocations: 15.4 MB / 0.4896 GB, free: 7.254 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