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.001419/0.001419, allocations: 104.4 kB / 15.98 MB, free: 6.355 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.00157/0.00157, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07294/0.07294, allocations: 16.73 MB / 307.5 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.59 kB / 371.8 MB, free: 47.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.09982, allocations: 53.47 MB / 425.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002734/0.1026, allocations: 2.087 MB / 427.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1049, allocations: 1.579 MB / 428.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1051, allocations: 7.938 kB / 428.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.1055, allocations: 99.31 kB / 429 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.1058, allocations: 111.3 kB / 429.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1069, allocations: 0.588 MB / 429.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008997/0.1078, allocations: 1.455 MB / 431.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.1081, allocations: 263.1 kB / 431.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.1085, allocations: 0.5646 MB / 432 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.1088, allocations: 489.9 kB / 432.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.1089, allocations: 132 kB / 432.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.1094, allocations: 471.5 kB / 433 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.1096, allocations: 239.2 kB / 433.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.11, allocations: 0.5679 MB / 433.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007744/0.1107, allocations: 1.179 MB / 435 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1107, allocations: 3.938 kB / 435 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1108, allocations: 0 / 435 MB, free: 2.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.1108, allocations: 0 / 435 MB, free: 2.918 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.001633/0.1124, allocations: 1.565 MB / 436.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1125, allocations: 11.89 kB / 436.6 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/0.1135, allocations: 227.7 kB / 436.8 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.1141, allocations: 0.5454 MB / 437.4 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.1142, allocations: 260.2 kB / 437.6 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1144, allocations: 120 kB / 437.7 MB, free: 4 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.1173, allocations: 1.959 MB / 439.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.1174, allocations: 0 / 439.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.1175, allocations: 59.97 kB / 439.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/0.1177, allocations: 109.9 kB / 439.9 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.12, allocations: 1.413 MB / 441.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004787/0.1248, allocations: 3.553 MB / 444.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.1269, allocations: 1.83 MB / 446.7 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.1287, allocations: 1.689 MB / 448.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.1288, allocations: 97.09 kB / 448.4 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/0.1304, allocations: 1.099 MB / 449.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=88): time 2.274e-06/0.1304, allocations: 0 / 449.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=88): time 0.004931/0.1354, allocations: 3.344 MB / 452.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003923/0.1358, allocations: 0.6629 MB / 453.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005732/0.1364, allocations: 0.5049 MB / 454.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.371e-05/0.1365, allocations: 69.69 kB / 454.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.1367, allocations: 387.4 kB / 454.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.1369, allocations: 233.2 kB / 454.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.1373, allocations: 302.7 kB / 455 MB, free: 14.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1375, allocations: 386.8 kB / 455.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008285/0.1383, allocations: 0.5537 MB / 456 MB, free: 13.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.1394, allocations: 1.038 MB / 457 MB, free: 12.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/0.1428, allocations: 3.123 MB / 460.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.1428, allocations: 7.938 kB / 460.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003042/0.1459, allocations: 2.241 MB / 462.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.1461, allocations: 378.6 kB / 462.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.1461, allocations: 16.88 kB / 462.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.1462, allocations: 24 kB / 462.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.1466, allocations: 163.6 kB / 462.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-05/0.1467, allocations: 31.86 kB / 463 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.1473, allocations: 162.6 kB / 463.1 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.1474, allocations: 75.94 kB / 463.2 MB, free: 5.324 MB / 334.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.001144/0.1485, allocations: 0.8923 MB / 464.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.1488, allocations: 91.25 kB / 464.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.1526, allocations: 2.725 MB / 466.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1526, allocations: 4 kB / 466.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.1526, allocations: 3.984 kB / 466.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1526, allocations: 4 kB / 466.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/0.1581, allocations: 4.092 MB / 471 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.1582, allocations: 7.984 kB / 471 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1583, allocations: 39.91 kB / 471.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.1583, allocations: 4 kB / 471.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.1585, allocations: 51.97 kB / 471.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1585, allocations: 0 / 471.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1585, allocations: 8 kB / 471.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/0.1641, allocations: 4.057 MB / 475.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.1642, allocations: 128.4 kB / 475.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.1644, allocations: 92.03 kB / 475.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/0.165, allocations: 91.91 kB / 475.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005375/0.1656, allocations: 367.5 kB / 475.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.1657, allocations: 67.89 kB / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.166, allocations: 299.1 kB / 476.2 MB, free: 8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.166, allocations: 0 / 476.2 MB, free: 8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00115/0.1672, allocations: 399.2 kB / 476.6 MB, free: 7.609 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.0006783/0.1679, allocations: 383.9 kB / 477 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003463/0.1713, allocations: 2.698 MB / 479.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1713, allocations: 0 / 479.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.1742, allocations: 3.419 MB / 483.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.1748, allocations: 117.9 kB / 483.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/0.1783, allocations: 2.447 MB / 485.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.1789, allocations: 1.041 MB / 486.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.1791, allocations: 59.42 kB / 486.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1791, allocations: 3.938 kB / 486.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.02081/0.1999, allocations: 15.38 MB / 0.4904 GB, free: 13.69 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++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