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.0008546/0.0008545, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009042/0.0009042, allocations: 168.7 kB / 15.95 MB, free: 204 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.18/1.18, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1629/0.1629, allocations: 16.73 MB / 307.8 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 8 kB / 372.8 MB, free: 3.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2264, allocations: 54.47 MB / 427.3 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.001392/0.2278, allocations: 1.612 MB / 428.9 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.2296, allocations: 1.519 MB / 430.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.2298, allocations: 3.031 kB / 430.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.23, allocations: 96.64 kB / 430.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.2303, allocations: 105.8 kB / 430.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.231, allocations: 477.2 kB / 431.1 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007439/0.2318, allocations: 1.128 MB / 432.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.232, allocations: 219.1 kB / 432.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.2323, allocations: 443.8 kB / 432.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.2325, allocations: 401.1 kB / 433.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.2326, allocations: 50.44 kB / 433.3 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.233, allocations: 355 kB / 433.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.2332, allocations: 181.9 kB / 433.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.2333, allocations: 228.7 kB / 434 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.234, allocations: 1.098 MB / 435.1 MB, free: 35.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.234, allocations: 0 / 435.1 MB, free: 35.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.234, allocations: 0 / 435.1 MB, free: 35.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.234, allocations: 0 / 435.1 MB, free: 35.94 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.001097/0.2351, allocations: 1.359 MB / 436.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.444e-05/0.2351, allocations: 10.12 kB / 436.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007838/0.2359, allocations: 234 kB / 436.7 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.2365, allocations: 0.5344 MB / 437.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.2366, allocations: 257.6 kB / 437.5 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.2367, allocations: 122.9 kB / 437.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.2389, allocations: 1.985 MB / 439.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.2389, allocations: 2.938 kB / 439.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.2391, allocations: 58.72 kB / 439.7 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.2392, allocations: 99.98 kB / 439.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.241, allocations: 1.459 MB / 441.2 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.2443, allocations: 3.571 MB / 444.8 MB, free: 30.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.2458, allocations: 1.876 MB / 446.7 MB, free: 29.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.247, allocations: 1.721 MB / 448.4 MB, free: 28.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.2471, allocations: 95.92 kB / 448.5 MB, free: 28.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.2483, allocations: 1.125 MB / 449.6 MB, free: 28.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 1.834e-06/0.2483, allocations: 4 kB / 449.6 MB, free: 28.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.003808/0.2521, allocations: 3.436 MB / 453.1 MB, free: 26.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.2523, allocations: 0.6668 MB / 453.7 MB, free: 26.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.2527, allocations: 0.5004 MB / 454.2 MB, free: 25.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.2528, allocations: 71.7 kB / 454.3 MB, free: 25.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.2529, allocations: 378.7 kB / 454.7 MB, free: 25.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.2531, allocations: 234.4 kB / 454.9 MB, free: 25.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.2531, allocations: 28.69 kB / 454.9 MB, free: 25.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.2532, allocations: 380.8 kB / 455.3 MB, free: 25.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.2539, allocations: 0.5617 MB / 455.9 MB, free: 24.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.2547, allocations: 1.035 MB / 456.9 MB, free: 24.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008297/0.2555, allocations: 0.9395 MB / 457.8 MB, free: 23.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.2555, allocations: 3.469 kB / 457.8 MB, free: 23.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002467/0.258, allocations: 2.241 MB / 460.1 MB, free: 22.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.2582, allocations: 373.7 kB / 460.5 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.2582, allocations: 26.47 kB / 460.5 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/0.2582, allocations: 23.03 kB / 460.5 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.2587, allocations: 172.6 kB / 460.7 MB, free: 22.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.2587, allocations: 32.2 kB / 460.7 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.2592, allocations: 172 kB / 460.9 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/0.2593, allocations: 72.44 kB / 460.9 MB, free: 21.96 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.0007368/0.26, allocations: 0.8826 MB / 461.8 MB, free: 21.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.2602, allocations: 91.38 kB / 461.9 MB, free: 21.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.2636, allocations: 2.783 MB / 464.7 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.2636, allocations: 12.69 kB / 464.7 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2636, allocations: 1.312 kB / 464.7 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2636, allocations: 5.297 kB / 464.7 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004911/0.2685, allocations: 4.16 MB / 468.9 MB, free: 18.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.2686, allocations: 8.438 kB / 468.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.2687, allocations: 38.78 kB / 468.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.2687, allocations: 3.938 kB / 468.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.371e-05/0.2688, allocations: 49.67 kB / 469 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2688, allocations: 3.531 kB / 469 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2689, allocations: 0.6094 kB / 469 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/0.274, allocations: 4.174 MB / 473.1 MB, free: 16.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.274, allocations: 143.7 kB / 473.3 MB, free: 16.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.2742, allocations: 86.64 kB / 473.4 MB, free: 16.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.2748, allocations: 107.9 kB / 473.5 MB, free: 16.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/0.2753, allocations: 375 kB / 473.8 MB, free: 16.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.2754, allocations: 60.66 kB / 473.9 MB, free: 16.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002656/0.2757, allocations: 292.5 kB / 474.2 MB, free: 16.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2757, allocations: 0 / 474.2 MB, free: 16.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00106/0.2768, allocations: 394.3 kB / 474.6 MB, free: 15.99 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.0005906/0.2774, allocations: 392.3 kB / 475 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.2801, allocations: 2.602 MB / 477.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2801, allocations: 0.8125 kB / 477.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.2824, allocations: 3.47 MB / 481 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.2829, allocations: 109.1 kB / 481.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.2857, allocations: 2.375 MB / 483.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.2861, allocations: 1.057 MB / 484.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000377/0.2865, allocations: 184.5 kB / 484.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.2866, allocations: 53.45 kB / 484.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2866, allocations: 0 / 484.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of Templates: time 0.01705/0.3036, allocations: 14.85 MB / 499.6 MB, free: 10.55 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