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.001555/0.001555, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00197/0.00197, allocations: 196.1 kB / 16.26 MB, free: 6.621 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1883/0.1883, allocations: 16.76 MB / 306.8 MB, free: 15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.89 kB / 371.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2853, allocations: 53.45 MB / 424.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002642/0.2879, allocations: 2.078 MB / 426.7 MB, free: 38.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.2901, allocations: 1.591 MB / 428.3 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.2903, allocations: 3.031 kB / 428.3 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.2906, allocations: 100.6 kB / 428.4 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.2909, allocations: 109.9 kB / 428.5 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.292, allocations: 0.5869 MB / 429.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.293, allocations: 1.444 MB / 430.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.2933, allocations: 263.1 kB / 430.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.2937, allocations: 0.5638 MB / 431.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/0.2941, allocations: 496.7 kB / 431.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.2943, allocations: 131.7 kB / 431.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.2948, allocations: 478.3 kB / 432.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.295, allocations: 232.6 kB / 432.6 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.2954, allocations: 0.5708 MB / 433.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.2964, allocations: 1.525 MB / 434.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2964, allocations: 0 / 434.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2964, allocations: 4 kB / 434.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2965, allocations: 0 / 434.7 MB, free: 35.23 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.001661/0.2981, allocations: 1.573 MB / 436.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2982, allocations: 12.83 kB / 436.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.2992, allocations: 231.3 kB / 436.5 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.2998, allocations: 0.5518 MB / 437.1 MB, free: 33.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.3, allocations: 257.6 kB / 437.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.3002, allocations: 121.6 kB / 437.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.3026, allocations: 1.955 MB / 439.4 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.3027, allocations: 3.938 kB / 439.4 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.3028, allocations: 56.39 kB / 439.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.3029, allocations: 97 kB / 439.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.305, allocations: 1.427 MB / 441 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/0.3089, allocations: 3.552 MB / 444.5 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.3106, allocations: 1.831 MB / 446.4 MB, free: 28.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.312, allocations: 1.687 MB / 448.1 MB, free: 27.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.3121, allocations: 97.14 kB / 448.2 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.3135, allocations: 1.093 MB / 449.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.665e-06/0.3135, allocations: 0 / 449.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004505/0.318, allocations: 3.346 MB / 452.6 MB, free: 26.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003004/0.3183, allocations: 0.6715 MB / 453.3 MB, free: 25.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.3189, allocations: 0.5005 MB / 453.8 MB, free: 25.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/0.319, allocations: 77.39 kB / 453.8 MB, free: 25.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.3193, allocations: 378.2 kB / 454.2 MB, free: 24.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.3195, allocations: 240.9 kB / 454.5 MB, free: 24.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.3198, allocations: 301.2 kB / 454.7 MB, free: 24.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.32, allocations: 381.5 kB / 455.1 MB, free: 24.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.3207, allocations: 0.5546 MB / 455.7 MB, free: 23.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.3218, allocations: 1.04 MB / 456.7 MB, free: 23.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/0.3249, allocations: 3.119 MB / 459.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.3249, allocations: 11.72 kB / 459.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003057/0.328, allocations: 2.248 MB / 462.1 MB, free: 19.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.3282, allocations: 379.6 kB / 462.5 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.3282, allocations: 18 kB / 462.5 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/0.3283, allocations: 21.08 kB / 462.5 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.3288, allocations: 160.8 kB / 462.7 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.423e-05/0.3288, allocations: 29.33 kB / 462.7 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.3294, allocations: 162.4 kB / 462.8 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.3295, allocations: 72.3 kB / 462.9 MB, free: 19.29 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.001124/0.3307, allocations: 0.9136 MB / 463.8 MB, free: 18.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.3309, allocations: 92.16 kB / 463.9 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/0.3346, allocations: 2.708 MB / 466.6 MB, free: 17.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.3347, allocations: 9.469 kB / 466.6 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3347, allocations: 1.812 kB / 466.6 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3347, allocations: 2.156 kB / 466.6 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005783/0.3405, allocations: 4.093 MB / 470.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.3405, allocations: 4.672 kB / 470.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.3407, allocations: 36.81 kB / 470.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.3407, allocations: 2.047 kB / 470.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.3408, allocations: 55.61 kB / 470.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3408, allocations: 2.156 kB / 470.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3409, allocations: 1.156 kB / 470.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/0.3474, allocations: 4.067 MB / 474.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.3475, allocations: 140.2 kB / 475 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.3478, allocations: 82.7 kB / 475.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.3484, allocations: 100.2 kB / 475.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006181/0.349, allocations: 368.9 kB / 475.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.3492, allocations: 61.34 kB / 475.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004214/0.3496, allocations: 291.3 kB / 475.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3496, allocations: 0 / 475.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002031/0.3517, allocations: 402 kB / 476.3 MB, free: 13.38 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.0008189/0.3525, allocations: 377.2 kB / 476.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.3564, allocations: 2.695 MB / 479.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3564, allocations: 0 / 479.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002659/0.3591, allocations: 3.436 MB / 482.8 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.3598, allocations: 116.6 kB / 482.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.3632, allocations: 2.429 MB / 485.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.3637, allocations: 1.049 MB / 486.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005161/0.3643, allocations: 189.4 kB / 486.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.3644, allocations: 48.66 kB / 486.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3644, allocations: 0 / 486.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of Templates: time 0.02582/0.3902, allocations: 15.83 MB / 0.4907 GB, free: 5.496 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