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.0008067/0.0008068, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004946/0.004946, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.145/1.145, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.156/0.156, allocations: 16.73 MB / 308.2 MB, free: 15.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002586, allocations: 8 kB / 373.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2107, allocations: 54.47 MB / 427.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.001422/0.2122, allocations: 1.71 MB / 429.6 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.2144, allocations: 1.776 MB / 431.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.2145, allocations: 2.562 kB / 431.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.2147, allocations: 107.1 kB / 431.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.215, allocations: 102.2 kB / 431.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008055/0.2159, allocations: 0.5544 MB / 432.1 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006763/0.2165, allocations: 1.185 MB / 433.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.2168, allocations: 260.3 kB / 433.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.217, allocations: 425.9 kB / 434 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.2173, allocations: 427.7 kB / 434.4 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.2174, allocations: 49.94 kB / 434.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.2178, allocations: 369.3 kB / 434.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.2179, allocations: 203 kB / 435 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.2182, allocations: 0.4975 MB / 435.5 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.219, allocations: 1.395 MB / 436.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.219, allocations: 6.938 kB / 436.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.219, allocations: 0 / 436.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2191, allocations: 0 / 436.9 MB, free: 35.93 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.001109/0.2202, allocations: 1.36 MB / 438.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.2202, allocations: 9.188 kB / 438.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008459/0.221, allocations: 230.9 kB / 438.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.2216, allocations: 0.5426 MB / 439 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.2217, allocations: 257 kB / 439.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.2219, allocations: 126.5 kB / 439.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.224, allocations: 1.963 MB / 441.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.224, allocations: 3.312 kB / 441.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.2241, allocations: 55.94 kB / 441.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.2243, allocations: 104.6 kB / 441.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.226, allocations: 1.426 MB / 443 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.2293, allocations: 3.555 MB / 446.5 MB, free: 30.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.2308, allocations: 1.838 MB / 448.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.2321, allocations: 1.705 MB / 450.1 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/0.2322, allocations: 89.02 kB / 450.2 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.2333, allocations: 1.096 MB / 451.3 MB, free: 28.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 1.934e-06/0.2333, allocations: 4 kB / 451.3 MB, free: 28.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.003685/0.237, allocations: 3.364 MB / 454.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.2372, allocations: 0.6731 MB / 455.3 MB, free: 26.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.2376, allocations: 0.4952 MB / 455.8 MB, free: 25.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.2376, allocations: 75.5 kB / 455.9 MB, free: 25.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.2378, allocations: 376.9 kB / 456.2 MB, free: 25.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.2379, allocations: 243.4 kB / 456.5 MB, free: 25.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2381, allocations: 174.7 kB / 456.6 MB, free: 25.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.2382, allocations: 382.6 kB / 457 MB, free: 25.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.2388, allocations: 0.5674 MB / 457.6 MB, free: 24.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008445/0.2397, allocations: 1.036 MB / 458.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.2424, allocations: 3.146 MB / 461.8 MB, free: 21.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.2424, allocations: 12.12 kB / 461.8 MB, free: 21.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002579/0.245, allocations: 2.243 MB / 464 MB, free: 20.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.2452, allocations: 386.9 kB / 464.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.2452, allocations: 21.11 kB / 464.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.2453, allocations: 26.14 kB / 464.4 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.2457, allocations: 162.4 kB / 464.6 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/0.2457, allocations: 32.41 kB / 464.6 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.2462, allocations: 180.5 kB / 464.8 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/0.2463, allocations: 67.86 kB / 464.9 MB, free: 20.16 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.0007702/0.2471, allocations: 0.8996 MB / 465.8 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.2473, allocations: 92.38 kB / 465.9 MB, free: 19.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.2507, allocations: 2.729 MB / 468.6 MB, free: 18.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.2507, allocations: 5.625 kB / 468.6 MB, free: 18.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2507, allocations: 1.406 kB / 468.6 MB, free: 18.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.2507, allocations: 3.938 kB / 468.6 MB, free: 18.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/0.2555, allocations: 4.1 MB / 472.7 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.2555, allocations: 4.266 kB / 472.7 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.2557, allocations: 38.78 kB / 472.7 MB, free: 16.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2557, allocations: 6.375 kB / 472.7 MB, free: 16.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.2558, allocations: 50.95 kB / 472.8 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2558, allocations: 6.281 kB / 472.8 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2558, allocations: 1.125 kB / 472.8 MB, free: 16.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/0.2608, allocations: 4.078 MB / 476.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.2608, allocations: 140 kB / 477 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.261, allocations: 89.06 kB / 477.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.2616, allocations: 108.5 kB / 477.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/0.2622, allocations: 367.7 kB / 477.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.2623, allocations: 64.31 kB / 477.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.2625, allocations: 295.4 kB / 477.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2625, allocations: 7.875 kB / 477.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009651/0.2635, allocations: 395.1 kB / 478.3 MB, free: 14.24 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.0005749/0.2641, allocations: 377.4 kB / 478.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.2667, allocations: 2.578 MB / 481.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2667, allocations: 0 / 481.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002115/0.2688, allocations: 3.444 MB / 484.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.2693, allocations: 112.2 kB / 484.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.2721, allocations: 2.43 MB / 487.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.2725, allocations: 1.061 MB / 488.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003573/0.2729, allocations: 185.1 kB / 488.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.2729, allocations: 48.94 kB / 488.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2729, allocations: 0 / 488.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of Templates: time 0.01753/0.2905, allocations: 15.12 MB / 0.4919 GB, free: 7.008 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