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.0009865/0.0009913, allocations: 90.67 kB / 15.36 MB, free: 0.7344 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.007254/0.007254, allocations: 169.5 kB / 16.26 MB, free: 6.68 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2281/0.2281, allocations: 16.72 MB / 308.2 MB, free: 15.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004555, allocations: 8 kB / 373.4 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3825, allocations: 54.48 MB / 427.9 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002067/0.3846, allocations: 1.716 MB / 429.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.3876, allocations: 1.767 MB / 431.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.388, allocations: 10.66 kB / 431.4 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.3883, allocations: 102.4 kB / 431.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.3887, allocations: 102.1 kB / 431.6 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.3902, allocations: 0.5625 MB / 432.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.3912, allocations: 1.175 MB / 433.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.3916, allocations: 255.6 kB / 433.6 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004115/0.392, allocations: 426.8 kB / 434 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.3924, allocations: 431.8 kB / 434.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3925, allocations: 50.91 kB / 434.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.3931, allocations: 379.6 kB / 434.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.3933, allocations: 196.8 kB / 435 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.3937, allocations: 0.4921 MB / 435.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.3947, allocations: 1.4 MB / 436.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3948, allocations: 4 kB / 436.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3948, allocations: 2.719 kB / 436.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3948, allocations: 0 / 436.9 MB, free: 35.91 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.001473/0.3963, allocations: 1.348 MB / 438.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3963, allocations: 9.656 kB / 438.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.3973, allocations: 227.9 kB / 438.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.3979, allocations: 0.5535 MB / 439 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.3981, allocations: 255.6 kB / 439.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.3983, allocations: 123.1 kB / 439.4 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.4009, allocations: 1.957 MB / 441.4 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.4009, allocations: 10.89 kB / 441.4 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.4011, allocations: 60.28 kB / 441.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.4012, allocations: 105.4 kB / 441.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.4032, allocations: 1.425 MB / 443 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00411/0.4074, allocations: 3.558 MB / 446.5 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.4092, allocations: 1.843 MB / 448.4 MB, free: 29.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.4106, allocations: 1.7 MB / 450.1 MB, free: 28.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.4108, allocations: 94.28 kB / 450.2 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.4121, allocations: 1.093 MB / 451.2 MB, free: 28.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.344e-06/0.4121, allocations: 4 kB / 451.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004294/0.4164, allocations: 3.37 MB / 454.6 MB, free: 26.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000243/0.4167, allocations: 0.6616 MB / 455.3 MB, free: 26.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/0.4172, allocations: 0.4987 MB / 455.8 MB, free: 25.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.312e-05/0.4173, allocations: 70.33 kB / 455.8 MB, free: 25.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.4175, allocations: 384.2 kB / 456.2 MB, free: 25.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.4176, allocations: 234.4 kB / 456.5 MB, free: 25.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.4178, allocations: 177.3 kB / 456.6 MB, free: 25.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.4179, allocations: 385.5 kB / 457 MB, free: 25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007354/0.4187, allocations: 0.5619 MB / 457.6 MB, free: 24.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/0.4196, allocations: 1.04 MB / 458.6 MB, free: 24.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.4229, allocations: 3.151 MB / 461.8 MB, free: 21.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.652e-05/0.4229, allocations: 7.844 kB / 461.8 MB, free: 21.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003276/0.4262, allocations: 2.247 MB / 464 MB, free: 20.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.4264, allocations: 384.2 kB / 464.4 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/0.4265, allocations: 16.55 kB / 464.4 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-05/0.4265, allocations: 21.44 kB / 464.4 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.427, allocations: 164 kB / 464.6 MB, free: 20.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.202e-05/0.4271, allocations: 28 kB / 464.6 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006513/0.4277, allocations: 179.5 kB / 464.8 MB, free: 20.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.4279, allocations: 68.5 kB / 464.9 MB, free: 20.13 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.001198/0.4291, allocations: 0.9048 MB / 465.8 MB, free: 19.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.4293, allocations: 91.59 kB / 465.8 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.4334, allocations: 2.733 MB / 468.6 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.4334, allocations: 5.531 kB / 468.6 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4334, allocations: 2.656 kB / 468.6 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4335, allocations: 1.875 kB / 468.6 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00624/0.4397, allocations: 4.097 MB / 472.7 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.4398, allocations: 4.672 kB / 472.7 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.4399, allocations: 46.73 kB / 472.7 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.44, allocations: 2.219 kB / 472.7 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.4401, allocations: 51.98 kB / 472.8 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.4401, allocations: 2.25 kB / 472.8 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4401, allocations: 1.031 kB / 472.8 MB, free: 16.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00652/0.4467, allocations: 4.081 MB / 476.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.447, allocations: 140.2 kB / 477 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.4473, allocations: 85.84 kB / 477.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.4481, allocations: 108.4 kB / 477.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009773/0.4491, allocations: 366.9 kB / 477.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/0.4493, allocations: 64.25 kB / 477.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006139/0.4499, allocations: 299.3 kB / 477.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4499, allocations: 0 / 477.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002299/0.4522, allocations: 394.5 kB / 478.3 MB, free: 14.22 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.0009266/0.4532, allocations: 387.1 kB / 478.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004002/0.4572, allocations: 2.582 MB / 481.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.4572, allocations: 1.469 kB / 481.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/0.4604, allocations: 3.442 MB / 484.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008224/0.4613, allocations: 108.5 kB / 484.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.4651, allocations: 2.437 MB / 487.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.4657, allocations: 1.05 MB / 488.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005129/0.4662, allocations: 192.4 kB / 488.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.4663, allocations: 45.41 kB / 488.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4663, allocations: 0 / 488.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of Templates: time 0.02652/0.4928, allocations: 15.13 MB / 0.4918 GB, free: 7.066 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