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.001356/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001615/0.001615, allocations: 189.9 kB / 16.14 MB, free: 6.703 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1838/0.1838, allocations: 16.76 MB / 306.7 MB, free: 15.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 371 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.328, allocations: 53.45 MB / 424.4 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003315/0.3313, allocations: 2.09 MB / 426.5 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.3343, allocations: 1.786 MB / 428.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.3346, allocations: 10.34 kB / 428.3 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.3349, allocations: 95.62 kB / 428.4 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.3353, allocations: 107.1 kB / 428.5 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3364, allocations: 0.5591 MB / 429.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008005/0.3372, allocations: 1.181 MB / 430.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.3375, allocations: 260.2 kB / 430.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.3379, allocations: 471 kB / 430.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.3382, allocations: 470.1 kB / 431.4 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.3384, allocations: 64.84 kB / 431.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.339, allocations: 393.1 kB / 431.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.3392, allocations: 218.8 kB / 432.1 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.3396, allocations: 0.4952 MB / 432.6 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.3408, allocations: 1.431 MB / 434 MB, free: 35.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3408, allocations: 0 / 434 MB, free: 35.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3408, allocations: 0 / 434 MB, free: 35.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3408, allocations: 0 / 434 MB, free: 35.48 MB / 350.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.001897/0.3427, allocations: 1.579 MB / 435.6 MB, free: 34.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3428, allocations: 12.73 kB / 435.6 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.3439, allocations: 223.1 kB / 435.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.3445, allocations: 0.5488 MB / 436.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.3447, allocations: 259.5 kB / 436.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.3449, allocations: 125.2 kB / 436.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.3476, allocations: 1.954 MB / 438.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3476, allocations: 0 / 438.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.3478, allocations: 60.34 kB / 438.7 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.3479, allocations: 100.1 kB / 438.8 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.3502, allocations: 1.422 MB / 440.3 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/0.3549, allocations: 3.553 MB / 443.8 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.3567, allocations: 1.824 MB / 445.6 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.3582, allocations: 1.698 MB / 447.3 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.3584, allocations: 88.8 kB / 447.4 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/0.3599, allocations: 1.092 MB / 448.5 MB, free: 27.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 3.046e-06/0.3599, allocations: 0 / 448.5 MB, free: 27.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004475/0.3644, allocations: 3.346 MB / 451.9 MB, free: 26.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002616/0.3646, allocations: 0.6691 MB / 452.5 MB, free: 25.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.3652, allocations: 0.5033 MB / 453 MB, free: 25.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.093e-05/0.3653, allocations: 74.41 kB / 453.1 MB, free: 25.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3655, allocations: 380 kB / 453.5 MB, free: 25.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.3656, allocations: 247.2 kB / 453.7 MB, free: 24.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003526/0.366, allocations: 301.7 kB / 454 MB, free: 24.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3661, allocations: 380.5 kB / 454.4 MB, free: 24.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007865/0.3669, allocations: 0.5534 MB / 454.9 MB, free: 24.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/0.3679, allocations: 1.036 MB / 456 MB, free: 23.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/0.3713, allocations: 3.123 MB / 459.1 MB, free: 21.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-05/0.3714, allocations: 7.281 kB / 459.1 MB, free: 21.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003239/0.3746, allocations: 2.243 MB / 461.3 MB, free: 20.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.3748, allocations: 381.3 kB / 461.7 MB, free: 19.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/0.3749, allocations: 21.08 kB / 461.7 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/0.3749, allocations: 22.19 kB / 461.8 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.3754, allocations: 160.5 kB / 461.9 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/0.3755, allocations: 28.25 kB / 461.9 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.3761, allocations: 162.4 kB / 462.1 MB, free: 19.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.3762, allocations: 76.55 kB / 462.2 MB, free: 19.55 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.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.001252/0.3775, allocations: 0.9094 MB / 463.1 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.3778, allocations: 96.47 kB / 463.2 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.3818, allocations: 2.713 MB / 465.9 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3818, allocations: 5.5 kB / 465.9 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3818, allocations: 1.375 kB / 465.9 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3818, allocations: 3.578 kB / 465.9 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005801/0.3876, allocations: 4.087 MB / 470 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.3877, allocations: 4.625 kB / 470 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3879, allocations: 40.56 kB / 470 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.3879, allocations: 1.906 kB / 470 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.388, allocations: 51.2 kB / 470.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.388, allocations: 2.312 kB / 470.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.388, allocations: 5 kB / 470.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/0.394, allocations: 4.074 MB / 474.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3941, allocations: 138 kB / 474.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.3944, allocations: 83.27 kB / 474.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/0.395, allocations: 95.19 kB / 474.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006434/0.3956, allocations: 367.2 kB / 474.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.3958, allocations: 64.38 kB / 474.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003206/0.3961, allocations: 298.3 kB / 475.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3961, allocations: 0 / 475.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00136/0.3975, allocations: 397.8 kB / 475.6 MB, free: 13.64 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.0007217/0.3982, allocations: 365.1 kB / 475.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003275/0.4015, allocations: 2.578 MB / 478.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4015, allocations: 0 / 478.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002566/0.4041, allocations: 3.435 MB / 482 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.4047, allocations: 109.9 kB / 482.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.408, allocations: 2.429 MB / 484.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.4084, allocations: 1.049 MB / 485.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004667/0.4089, allocations: 193.1 kB / 485.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.409, allocations: 49.03 kB / 485.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.409, allocations: 0 / 485.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Templates: time 0.02393/0.4329, allocations: 15.17 MB / 0.4892 GB, free: 6.93 MB / 366.1 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