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.01007/0.01007, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.002106/0.002106, allocations: 187 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.893/2.893, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1353/0.1353, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.89 kB / 427 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1973, allocations: 53.47 MB / 480.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.005319/0.2027, allocations: 1.98 MB / 482.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00536/0.2081, allocations: 1.552 MB / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004759/0.2129, allocations: 11.94 kB / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007821/0.2137, allocations: 130.9 kB / 484.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.2148, allocations: 142.8 kB / 484.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.2179, allocations: 0.648 MB / 484.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007165/0.225, allocations: 1.455 MB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009673/0.2261, allocations: 263.1 kB / 486.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.2279, allocations: 0.5569 MB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.2293, allocations: 0.494 MB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003823/0.2297, allocations: 132 kB / 487.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.2312, allocations: 499.5 kB / 488.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.2316, allocations: 243.1 kB / 488.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009447/0.2326, allocations: 0.5562 MB / 489.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.2357, allocations: 1.589 MB / 490.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.39e-05/0.2357, allocations: 0 / 490.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2358, allocations: 0 / 490.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.554e-05/0.2358, allocations: 0 / 490.7 MB, free: 10.83 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.009212/0.245, allocations: 1.572 MB / 492.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/0.2451, allocations: 8.031 kB / 492.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.247, allocations: 231.6 kB / 492.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.2484, allocations: 0.5453 MB / 493 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004019/0.2489, allocations: 260.2 kB / 493.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.2492, allocations: 128 kB / 493.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009814/0.259, allocations: 1.951 MB / 495.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.2591, allocations: 7.938 kB / 495.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.2593, allocations: 55.97 kB / 495.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003108/0.2596, allocations: 101.9 kB / 495.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.2641, allocations: 1.417 MB / 496.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.2783, allocations: 3.522 MB / 0.4887 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/0.282, allocations: 1.824 MB / 0.4905 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007062/0.2891, allocations: 1.694 MB / 0.4922 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003592/0.2927, allocations: 3.046 MB / 0.4952 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003175/0.296, allocations: 1.103 MB / 0.4962 GB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 4.578e-06/0.296, allocations: 4 kB / 0.4962 GB, free: 8.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.008794/0.3048, allocations: 3.343 MB / 0.4995 GB, free: 4.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006653/0.3055, allocations: 0.6666 MB / 0.5001 GB, free: 4.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.3068, allocations: 0.5087 MB / 0.5006 GB, free: 3.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001987/0.307, allocations: 73.94 kB / 0.5007 GB, free: 3.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.3075, allocations: 379.5 kB / 0.5011 GB, free: 3.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.3079, allocations: 233.3 kB / 0.5013 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006451/0.3086, allocations: 302.7 kB / 0.5016 GB, free: 2.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.3088, allocations: 382.8 kB / 0.502 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.3102, allocations: 0.5537 MB / 0.5025 GB, free: 1.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.3122, allocations: 1.042 MB / 0.5035 GB, free: 416 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.5309/0.8431, allocations: 3.117 MB / 0.5066 GB, free: 32.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.758e-05/0.8432, allocations: 8.375 kB / 0.5066 GB, free: 32.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.01159/0.8548, allocations: 2.243 MB / 0.5088 GB, free: 32.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003821/0.8553, allocations: 380.6 kB / 0.5091 GB, free: 31.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003222/0.8585, allocations: 1.225 MB / 0.5103 GB, free: 31.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.873e-05/0.8587, allocations: 23.89 kB / 0.5103 GB, free: 31.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.8597, allocations: 166.7 kB / 0.5105 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-05/0.8598, allocations: 33.11 kB / 0.5105 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.8611, allocations: 161 kB / 0.5107 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.8614, allocations: 73.09 kB / 0.5108 GB, free: 31.01 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.002005/0.8634, allocations: 0.897 MB / 0.5116 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004833/0.8639, allocations: 89.66 kB / 0.5117 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007841/0.8718, allocations: 2.722 MB / 0.5144 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.8718, allocations: 5.531 kB / 0.5144 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/0.8719, allocations: 1.25 kB / 0.5144 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.8719, allocations: 9.891 kB / 0.5144 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.8884, allocations: 4.09 MB / 0.5184 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007364/0.8958, allocations: 2.638 MB / 0.521 GB, free: 26.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.8963, allocations: 47.55 kB / 0.521 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.8963, allocations: 2.344 kB / 0.521 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/0.8966, allocations: 56.14 kB / 0.5211 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.8966, allocations: 2.312 kB / 0.5211 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.8966, allocations: 1.766 kB / 0.5211 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/0.9129, allocations: 4.087 MB / 0.5251 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.9132, allocations: 136.9 kB / 0.5252 GB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004845/0.9137, allocations: 91.95 kB / 0.5253 GB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.9149, allocations: 100.5 kB / 0.5254 GB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/0.9161, allocations: 366.9 kB / 0.5257 GB, free: 24.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000264/0.9164, allocations: 56.28 kB / 0.5258 GB, free: 24.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006205/0.917, allocations: 295.1 kB / 0.5261 GB, free: 24.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.9171, allocations: 0 / 0.5261 GB, free: 24.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002671/0.9197, allocations: 405.1 kB / 0.5264 GB, free: 24.23 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.00128/0.921, allocations: 384.6 kB / 0.5268 GB, free: 24.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005648/0.9267, allocations: 2.592 MB / 0.5293 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.9268, allocations: 4 kB / 0.5293 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004455/0.9312, allocations: 3.416 MB / 0.5327 GB, free: 19.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.9324, allocations: 121.9 kB / 0.5328 GB, free: 18.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.9383, allocations: 2.196 MB / 0.5349 GB, free: 16.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.939, allocations: 1.041 MB / 0.536 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.9392, allocations: 59.42 kB / 0.536 GB, free: 15.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.723e-06/0.9392, allocations: 0 / 0.536 GB, free: 15.59 MB / 382.1 MB Notification: Performance of Templates: time 0.0354/0.9746, allocations: 15.59 MB / 0.5512 GB, free: 15.94 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