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.001563/0.001563, allocations: 105.7 kB / 16.41 MB, free: 6.504 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.001773/0.001774, allocations: 187 kB / 17.34 MB, free: 5.742 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.781/1.781, 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.0762/0.0762, allocations: 16.74 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001823, allocations: 71.91 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1697, allocations: 53.47 MB / 480.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.005183/0.175, allocations: 1.975 MB / 482.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004868/0.1799, allocations: 1.56 MB / 484 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007898/0.1807, allocations: 11.94 kB / 484 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006421/0.1814, allocations: 130.9 kB / 484.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1824, allocations: 142.8 kB / 484.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.1851, allocations: 0.6498 MB / 484.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00287/0.188, allocations: 1.455 MB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006734/0.1887, allocations: 255.1 kB / 486.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.19, allocations: 0.5608 MB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.1911, allocations: 497.8 kB / 487.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005435/0.1917, allocations: 136 kB / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.1932, allocations: 499.5 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004809/0.1937, allocations: 239.2 kB / 488.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.195, allocations: 0.564 MB / 489.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.198, allocations: 1.589 MB / 490.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.198, allocations: 0 / 490.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.198, allocations: 0 / 490.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.664e-05/0.1981, allocations: 0 / 490.7 MB, free: 10.71 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.004818/0.2029, allocations: 1.572 MB / 492.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.203, allocations: 11.89 kB / 492.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.205, allocations: 227.7 kB / 492.5 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.2066, allocations: 0.5492 MB / 493 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000407/0.207, allocations: 260.2 kB / 493.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004039/0.2075, allocations: 120 kB / 493.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004854/0.2123, allocations: 1.962 MB / 495.4 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.2124, allocations: 0 / 495.4 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.2126, allocations: 63.95 kB / 495.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000262/0.2129, allocations: 101.9 kB / 495.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.2166, allocations: 1.413 MB / 497 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007544/0.2242, allocations: 3.53 MB / 0.4888 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003268/0.2275, allocations: 1.821 MB / 0.4905 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002679/0.2302, allocations: 1.694 MB / 0.4922 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002989/0.2332, allocations: 3.054 MB / 0.4952 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002428/0.2357, allocations: 1.091 MB / 0.4962 GB, free: 8.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 3.927e-06/0.2357, allocations: 0 / 0.4962 GB, free: 8.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.007183/0.2429, allocations: 3.351 MB / 0.4995 GB, free: 4.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000581/0.2435, allocations: 0.6665 MB / 0.5002 GB, free: 3.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.2444, allocations: 0.5049 MB / 0.5006 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.2446, allocations: 69.69 kB / 0.5007 GB, free: 3.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000413/0.245, allocations: 383.4 kB / 0.5011 GB, free: 3.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.2453, allocations: 237.5 kB / 0.5013 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.2459, allocations: 298.7 kB / 0.5016 GB, free: 2.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.2461, allocations: 386.8 kB / 0.502 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.2474, allocations: 0.5498 MB / 0.5025 GB, free: 1.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.2492, allocations: 1.034 MB / 0.5035 GB, free: 300 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4055/0.6547, allocations: 3.123 MB / 0.5066 GB, free: 32.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.512e-05/0.6548, allocations: 8.812 kB / 0.5066 GB, free: 32.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005301/0.6601, allocations: 2.241 MB / 0.5088 GB, free: 32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.6604, allocations: 381 kB / 0.5091 GB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002542/0.6629, allocations: 1.229 MB / 0.5103 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.532e-05/0.663, allocations: 21.69 kB / 0.5103 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/0.6639, allocations: 167.1 kB / 0.5105 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.633e-05/0.664, allocations: 28.66 kB / 0.5105 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.665, allocations: 166 kB / 0.5107 GB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.6652, allocations: 71.22 kB / 0.5108 GB, free: 31 MB / 382.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.outPlaces[1].enabledByInPlaces,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.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 (161): * Single equations (assignments): 149 * 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.001567/0.6668, allocations: 0.9011 MB / 0.5116 GB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/0.6672, allocations: 96.5 kB / 0.5117 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006607/0.6738, allocations: 2.708 MB / 0.5144 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.6739, allocations: 4.953 kB / 0.5144 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.6739, allocations: 1.219 kB / 0.5144 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.6739, allocations: 3.344 kB / 0.5144 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009469/0.6834, allocations: 4.095 MB / 0.5184 GB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005957/0.6894, allocations: 2.644 MB / 0.521 GB, free: 26.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.6897, allocations: 40.86 kB / 0.521 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.6898, allocations: 6.156 kB / 0.521 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.69, allocations: 57.2 kB / 0.5211 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.69, allocations: 3.594 kB / 0.5211 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.69, allocations: 4.844 kB / 0.5211 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009309/0.6993, allocations: 4.083 MB / 0.5251 GB, free: 24.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.6996, allocations: 144.2 kB / 0.5252 GB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/0.7, allocations: 84.81 kB / 0.5253 GB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009509/0.7009, allocations: 97.78 kB / 0.5254 GB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008706/0.7018, allocations: 369.6 kB / 0.5257 GB, free: 24.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/0.702, allocations: 62.94 kB / 0.5258 GB, free: 24.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004686/0.7025, allocations: 291.3 kB / 0.5261 GB, free: 24.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7025, allocations: 2.281 kB / 0.5261 GB, free: 24.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001938/0.7045, allocations: 399.8 kB / 0.5264 GB, free: 24.21 MB / 382.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.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.outPlaces[1].enabledByInPlaces,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 (47): * Single equations (assignments): 34 * 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.0009229/0.7054, allocations: 380.1 kB / 0.5268 GB, free: 24.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004368/0.7098, allocations: 2.598 MB / 0.5293 GB, free: 22.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7098, allocations: 0 / 0.5293 GB, free: 22.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003538/0.7134, allocations: 3.419 MB / 0.5327 GB, free: 18.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/0.7143, allocations: 118.8 kB / 0.5328 GB, free: 18.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/0.7191, allocations: 2.204 MB / 0.5349 GB, free: 16.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.7197, allocations: 1.044 MB / 0.536 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.7199, allocations: 55.44 kB / 0.536 GB, free: 15.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.7199, allocations: 0 / 0.536 GB, free: 15.48 MB / 382.1 MB Notification: Performance of Templates: time 0.02832/0.7482, allocations: 15.71 MB / 0.5514 GB, free: 15.71 MB / 398.1 MB make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.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:934: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:1375: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:1833: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:1833: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