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.001265/0.001265, allocations: 106.7 kB / 16.27 MB, free: 6.41 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.001189/0.001189, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07213/0.07213, allocations: 16.74 MB / 307.8 MB, free: 14.32 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.52 kB / 372.3 MB, free: 48.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1203, allocations: 53.47 MB / 425.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003055/0.1234, allocations: 1.975 MB / 427.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1258, allocations: 1.56 MB / 429.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.126, allocations: 11.94 kB / 429.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1264, allocations: 126.9 kB / 429.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.1268, allocations: 150.8 kB / 429.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1278, allocations: 0.6418 MB / 430.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009547/0.1288, allocations: 1.443 MB / 431.6 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.1291, allocations: 271.1 kB / 431.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.1294, allocations: 0.5569 MB / 432.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.1298, allocations: 489.9 kB / 432.9 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.13, allocations: 132 kB / 433.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.1305, allocations: 475.5 kB / 433.5 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.1307, allocations: 243.2 kB / 433.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004044/0.1311, allocations: 0.5562 MB / 434.3 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1321, allocations: 1.529 MB / 435.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1322, allocations: 0 / 435.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1322, allocations: 7.938 kB / 435.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1322, allocations: 0 / 435.9 MB, free: 2.359 MB / 302.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.001719/0.1339, allocations: 1.569 MB / 437.4 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.134, allocations: 11.89 kB / 437.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009792/0.1349, allocations: 235.7 kB / 437.7 MB, free: 440 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.1356, allocations: 0.5415 MB / 438.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.1359, allocations: 260.2 kB / 438.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.1361, allocations: 116 kB / 438.6 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.139, allocations: 1.955 MB / 440.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.1391, allocations: 4 kB / 440.5 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.1392, allocations: 59.95 kB / 440.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.1394, allocations: 105.9 kB / 440.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.1418, allocations: 1.421 MB / 442.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004712/0.1465, allocations: 3.553 MB / 445.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.1486, allocations: 1.827 MB / 447.5 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.1504, allocations: 1.69 MB / 449.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/0.1526, allocations: 3.046 MB / 452.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.1542, allocations: 1.095 MB / 453.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=88): time 2.805e-06/0.1542, allocations: 0 / 453.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=88): time 0.00505/0.1593, allocations: 3.347 MB / 456.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004291/0.1597, allocations: 0.6627 MB / 457.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.1603, allocations: 0.5091 MB / 457.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.1604, allocations: 69.69 kB / 457.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.1607, allocations: 383.4 kB / 458.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.1609, allocations: 237.2 kB / 458.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.1613, allocations: 294.8 kB / 458.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1615, allocations: 390.7 kB / 459.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008505/0.1624, allocations: 0.5576 MB / 459.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.1636, allocations: 1.03 MB / 460.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/0.1672, allocations: 3.126 MB / 463.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.1672, allocations: 7.938 kB / 463.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003024/0.1702, allocations: 2.249 MB / 466.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.1705, allocations: 374.6 kB / 466.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00164/0.1721, allocations: 1.226 MB / 467.8 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.065e-05/0.1722, allocations: 24 kB / 467.8 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.1727, allocations: 179.5 kB / 468 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.953e-05/0.1727, allocations: 27.92 kB / 468 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.1733, allocations: 158.8 kB / 468.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.1735, allocations: 75.98 kB / 468.2 MB, free: 15.89 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.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.001232/0.1747, allocations: 0.9105 MB / 469.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.175, allocations: 91.25 kB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/0.1789, allocations: 2.709 MB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.1789, allocations: 4 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1789, allocations: 4 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1789, allocations: 3.984 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005647/0.1846, allocations: 4.096 MB / 476 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003689/0.1883, allocations: 2.64 MB / 478.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1885, allocations: 43.91 kB / 478.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.1885, allocations: 8 kB / 478.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.1886, allocations: 51.97 kB / 478.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1886, allocations: 0 / 478.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1887, allocations: 3.938 kB / 478.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.1945, allocations: 4.08 MB / 482.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.1946, allocations: 140.2 kB / 483 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.1949, allocations: 87.97 kB / 483.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.1955, allocations: 91.98 kB / 483.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006039/0.1961, allocations: 367.6 kB / 483.5 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.1963, allocations: 63.95 kB / 483.6 MB, free: 140 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.1966, allocations: 299.1 kB / 483.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1966, allocations: 0 / 483.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001381/0.198, allocations: 399.3 kB / 484.3 MB, free: 15.45 MB / 366.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.0007643/0.1988, allocations: 386 kB / 484.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003752/0.2026, allocations: 2.739 MB / 487.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2026, allocations: 0 / 487.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003197/0.2058, allocations: 3.419 MB / 490.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.2064, allocations: 113.5 kB / 490.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.2103, allocations: 2.206 MB / 493.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.2109, allocations: 1.041 MB / 494.2 MB, free: 5.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.211, allocations: 59.38 kB / 494.2 MB, free: 5.184 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.211, allocations: 0 / 494.2 MB, free: 5.184 MB / 366.1 MB Notification: Performance of Templates: time 0.02272/0.2338, allocations: 15.51 MB / 0.4978 GB, free: 5.605 MB / 382.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