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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 221.8 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008796/0.0008794, allocations: 100.2 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06903/0.06903, allocations: 16.87 MB / 333.4 MB, free: 8.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009479/0.0009479, allocations: 55.92 kB / 394.9 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08442, allocations: 50.7 MB / 445.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002985/0.08745, allocations: 2.103 MB / 447.7 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.09078, allocations: 1.791 MB / 449.5 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006878/0.09151, allocations: 0 / 449.5 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.09206, allocations: 103.3 kB / 449.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007855/0.0929, allocations: 111.3 kB / 449.7 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.09434, allocations: 0.5656 MB / 450.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009012/0.09526, allocations: 1.186 MB / 451.4 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.09559, allocations: 263 kB / 451.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.09596, allocations: 470.3 kB / 452.1 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.09637, allocations: 465.8 kB / 452.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.0965, allocations: 64 kB / 452.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005013/0.09701, allocations: 391.5 kB / 453 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.09719, allocations: 227.2 kB / 453.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.0976, allocations: 0.4976 MB / 453.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009679/0.09857, allocations: 1.438 MB / 455.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.09859, allocations: 3.984 kB / 455.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.0986, allocations: 4 kB / 455.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.09861, allocations: 0 / 455.2 MB, free: 1.457 MB / 298.7 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.001747/0.1004, allocations: 1.561 MB / 456.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1004, allocations: 12.03 kB / 456.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009774/0.1014, allocations: 239.6 kB / 457 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/0.1022, allocations: 0.5371 MB / 457.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.1024, allocations: 256.2 kB / 457.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.1026, allocations: 120 kB / 457.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.1053, allocations: 1.959 MB / 459.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.1054, allocations: 0 / 459.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.1055, allocations: 59.97 kB / 459.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.1057, allocations: 109.8 kB / 460 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.108, allocations: 1.421 MB / 461.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.1127, allocations: 3.545 MB / 465 MB, free: 7.285 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.1147, allocations: 1.835 MB / 466.8 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.1164, allocations: 1.686 MB / 468.5 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.1165, allocations: 93.11 kB / 468.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.118, allocations: 1.095 MB / 469.7 MB, free: 2.512 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 2.104e-06/0.118, allocations: 0 / 469.7 MB, free: 2.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.004789/0.1228, allocations: 3.351 MB / 473.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003616/0.1232, allocations: 0.6707 MB / 473.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.1238, allocations: 0.5049 MB / 474.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.209e-05/0.1239, allocations: 73.69 kB / 474.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.1242, allocations: 375.5 kB / 474.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.1245, allocations: 237.2 kB / 474.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004768/0.1249, allocations: 302.7 kB / 475.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1251, allocations: 386.7 kB / 475.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008513/0.126, allocations: 0.5576 MB / 476.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.1271, allocations: 1.026 MB / 477.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/0.1307, allocations: 3.134 MB / 480.3 MB, free: 7.074 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/0.1307, allocations: 4 kB / 480.3 MB, free: 7.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002927/0.1337, allocations: 2.237 MB / 482.5 MB, free: 4.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.1339, allocations: 378.6 kB / 482.9 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/0.1339, allocations: 20.83 kB / 482.9 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.1339, allocations: 20 kB / 483 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.1344, allocations: 171.6 kB / 483.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.1344, allocations: 31.86 kB / 483.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.135, allocations: 166.5 kB / 483.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.1351, allocations: 75.98 kB / 483.4 MB, free: 3.844 MB / 330.7 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],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,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,T1.firingCon,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.active,T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,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.00109/0.1362, allocations: 0.8922 MB / 484.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.1364, allocations: 91.25 kB / 484.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.1402, allocations: 2.728 MB / 487.1 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1402, allocations: 4 kB / 487.1 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1403, allocations: 0 / 487.1 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1403, allocations: 0 / 487.1 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1813/0.3215, allocations: 4.086 MB / 491.2 MB, free: 46.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.3216, allocations: 5.453 kB / 491.2 MB, free: 46.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.3218, allocations: 39.47 kB / 491.2 MB, free: 46.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.3218, allocations: 5.281 kB / 491.2 MB, free: 46.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.3219, allocations: 50.5 kB / 491.3 MB, free: 46.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3219, allocations: 7.125 kB / 491.3 MB, free: 46.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3219, allocations: 0.7969 kB / 491.3 MB, free: 46.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008138/0.3301, allocations: 6.157 MB / 497.5 MB, free: 43.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.3302, allocations: 142.6 kB / 497.6 MB, free: 43.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.3304, allocations: 81.02 kB / 497.7 MB, free: 43.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.3309, allocations: 95.31 kB / 497.8 MB, free: 43.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005876/0.3315, allocations: 365.8 kB / 498.1 MB, free: 43.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.3317, allocations: 58.39 kB / 498.2 MB, free: 43.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002791/0.332, allocations: 294 kB / 498.5 MB, free: 42.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.332, allocations: 0 / 498.5 MB, free: 42.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001251/0.3332, allocations: 418.2 kB / 498.9 MB, free: 42.83 MB / 330.7 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.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,P1.outTransition[1].tokenInOut,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.0007/0.3339, allocations: 378.8 kB / 499.2 MB, free: 42.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.3373, allocations: 2.576 MB / 0.4901 GB, free: 41.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3373, allocations: 1.344 kB / 0.4901 GB, free: 41.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002543/0.3398, allocations: 3.43 MB / 0.4934 GB, free: 38.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.3405, allocations: 112.8 kB / 0.4935 GB, free: 38.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.3441, allocations: 2.9 MB / 0.4964 GB, free: 37.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.3446, allocations: 1.082 MB / 0.4974 GB, free: 36.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.345, allocations: 186.2 kB / 0.4976 GB, free: 36.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.3451, allocations: 47.62 kB / 0.4976 GB, free: 36.49 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3451, allocations: 0 / 0.4976 GB, free: 36.49 MB / 330.7 MB Notification: Performance of Templates: time 0.01887/0.3639, allocations: 15.89 MB / 0.5131 GB, free: 21.18 MB / 330.7 MB make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & ./PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches