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 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 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.001081/0.001081, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001292/0.001292, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1949/0.1949, allocations: 16.72 MB / 307.7 MB, free: 15.74 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 8 kB / 372.7 MB, free: 3.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2655, allocations: 54.48 MB / 427.2 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.00165/0.2672, allocations: 1.659 MB / 428.8 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.2696, allocations: 1.529 MB / 430.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.2701, allocations: 10.19 kB / 430.4 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.2704, allocations: 97.08 kB / 430.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.2709, allocations: 125.9 kB / 430.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.2722, allocations: 459.7 kB / 431 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.2734, allocations: 0.7165 MB / 431.7 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.2737, allocations: 215.2 kB / 431.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006437/0.2744, allocations: 415.2 kB / 432.4 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005238/0.2749, allocations: 403.3 kB / 432.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.2752, allocations: 50.66 kB / 432.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006807/0.2758, allocations: 316.2 kB / 433.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.2761, allocations: 185.5 kB / 433.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.2763, allocations: 233.5 kB / 433.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.2774, allocations: 1.087 MB / 434.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2774, allocations: 3.938 kB / 434.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2774, allocations: 0 / 434.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.504e-05/0.2775, allocations: 0 / 434.6 MB, free: 36.16 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.001805/0.2793, allocations: 1.359 MB / 436 MB, free: 35.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2793, allocations: 9 kB / 436 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.2805, allocations: 232.1 kB / 436.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/0.2813, allocations: 0.5343 MB / 436.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.2815, allocations: 258.7 kB / 437 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.2817, allocations: 116.9 kB / 437.1 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.2844, allocations: 1.985 MB / 439.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.2844, allocations: 0 / 439.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.2845, allocations: 62.11 kB / 439.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.2847, allocations: 102.5 kB / 439.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.2868, allocations: 1.452 MB / 440.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.2913, allocations: 3.577 MB / 444.3 MB, free: 31.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.293, allocations: 1.862 MB / 446.1 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.2932, allocations: 94.88 kB / 446.2 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.2945, allocations: 1.12 MB / 447.4 MB, free: 29.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.846e-06/0.2945, allocations: 0 / 447.4 MB, free: 29.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004531/0.2991, allocations: 4.188 MB / 451.5 MB, free: 27.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002522/0.2993, allocations: 0.6628 MB / 452.2 MB, free: 26.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.2999, allocations: 0.4987 MB / 452.7 MB, free: 26.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.3, allocations: 77.38 kB / 452.8 MB, free: 26.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.3003, allocations: 379.2 kB / 453.1 MB, free: 25.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.3005, allocations: 232.4 kB / 453.4 MB, free: 25.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.3006, allocations: 36.06 kB / 453.4 MB, free: 25.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3007, allocations: 384.3 kB / 453.8 MB, free: 25.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/0.3015, allocations: 0.5526 MB / 454.3 MB, free: 25.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009429/0.3024, allocations: 1.039 MB / 455.4 MB, free: 24.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.3034, allocations: 0.9277 MB / 456.3 MB, free: 23.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.3034, allocations: 6.469 kB / 456.3 MB, free: 23.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002793/0.3062, allocations: 2.236 MB / 458.5 MB, free: 22.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.3064, allocations: 377.3 kB / 458.9 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/0.3064, allocations: 19.06 kB / 458.9 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.944e-05/0.3065, allocations: 22.31 kB / 459 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.307, allocations: 167.3 kB / 459.1 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.311e-05/0.307, allocations: 32.19 kB / 459.2 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.3077, allocations: 179.2 kB / 459.3 MB, free: 22.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.3079, allocations: 67.97 kB / 459.4 MB, free: 22.32 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.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition5,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,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.anytrue,P1.feeding.numtrue,P1.feeding.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.emptying.vec[1],$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.fireIn[1],P1.fireOut[1],P1.enabledByInPlaces[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],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.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.active,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001227/0.3091, allocations: 0.8926 MB / 460.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.3094, allocations: 91.84 kB / 460.4 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.3135, allocations: 2.784 MB / 463.2 MB, free: 20.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.3135, allocations: 4.781 kB / 463.2 MB, free: 20.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.3136, allocations: 5.047 kB / 463.2 MB, free: 20.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3136, allocations: 8.094 kB / 463.2 MB, free: 20.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006637/0.3202, allocations: 4.15 MB / 467.3 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.3203, allocations: 4.047 kB / 467.3 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.3205, allocations: 38.98 kB / 467.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.3205, allocations: 6.359 kB / 467.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.3207, allocations: 52.41 kB / 467.4 MB, free: 18.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-05/0.3207, allocations: 7.234 kB / 467.4 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3208, allocations: 1.375 kB / 467.4 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007151/0.3279, allocations: 4.194 MB / 471.6 MB, free: 16.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.3281, allocations: 144.1 kB / 471.8 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.3284, allocations: 82.83 kB / 471.9 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/0.3291, allocations: 108.1 kB / 472 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006384/0.3298, allocations: 378.2 kB / 472.3 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.33, allocations: 55.3 kB / 472.4 MB, free: 16.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003868/0.3304, allocations: 296.9 kB / 472.7 MB, free: 16.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3304, allocations: 3.938 kB / 472.7 MB, free: 16.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001537/0.3319, allocations: 402.2 kB / 473.1 MB, free: 16.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009435/0.3329, allocations: 371.2 kB / 473.4 MB, free: 16.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004059/0.337, allocations: 2.606 MB / 476 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/0.337, allocations: 5.125 kB / 476 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.3402, allocations: 3.475 MB / 479.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.3408, allocations: 77.58 kB / 479.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/0.345, allocations: 2.361 MB / 482 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008467/0.3459, allocations: 1.07 MB / 483 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000576/0.3465, allocations: 183.4 kB / 483.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3467, allocations: 50.88 kB / 483.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3467, allocations: 0 / 483.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Templates: time 0.02204/0.3687, allocations: 14.85 MB / 498.1 MB, free: 11.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