Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001112/0.001112, allocations: 196.2 kB / 16.14 MB, free: 6.664 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2115/0.2115, allocations: 16.76 MB / 306.7 MB, free: 15.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001137, allocations: 59.91 kB / 371 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.252, allocations: 53.45 MB / 424.4 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002743/0.2548, allocations: 1.982 MB / 426.4 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.2578, allocations: 2.249 MB / 428.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.2581, allocations: 2.875 kB / 428.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.2584, allocations: 89.23 kB / 428.7 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.2587, allocations: 106.8 kB / 428.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.26, allocations: 0.7502 MB / 429.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.2607, allocations: 1.179 MB / 430.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.261, allocations: 263 kB / 431 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.2614, allocations: 481.7 kB / 431.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.2617, allocations: 464.5 kB / 431.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.2618, allocations: 63.78 kB / 432 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007644/0.2626, allocations: 0.7239 MB / 432.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.2628, allocations: 194.6 kB / 432.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.2632, allocations: 0.5056 MB / 433.4 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.2643, allocations: 1.648 MB / 435.1 MB, free: 35.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2643, allocations: 0 / 435.1 MB, free: 35.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2643, allocations: 0 / 435.1 MB, free: 35.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.2644, allocations: 6.844 kB / 435.1 MB, free: 35.03 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001595/0.266, allocations: 1.554 MB / 436.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.266, allocations: 12.06 kB / 436.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.2664, allocations: 131.1 kB / 436.8 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.267, allocations: 0.5449 MB / 437.3 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.2671, allocations: 140.4 kB / 437.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.2673, allocations: 116.6 kB / 437.6 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.2697, allocations: 2.038 MB / 439.6 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2697, allocations: 0 / 439.6 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.2698, allocations: 54.39 kB / 439.7 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.27, allocations: 91.91 kB / 439.7 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.2719, allocations: 1.432 MB / 441.2 MB, free: 31.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.2758, allocations: 4.257 MB / 445.4 MB, free: 29.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.2777, allocations: 2.407 MB / 447.8 MB, free: 27.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.2794, allocations: 2.31 MB / 450.2 MB, free: 26.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.033e-05/0.2795, allocations: 86.36 kB / 450.2 MB, free: 26.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.2811, allocations: 1.295 MB / 451.5 MB, free: 25.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.154e-06/0.2811, allocations: 0 / 451.5 MB, free: 25.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.004797/0.2859, allocations: 3.972 MB / 455.5 MB, free: 24.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002807/0.2862, allocations: 0.6598 MB / 456.2 MB, free: 23.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/0.287, allocations: 0.5069 MB / 456.7 MB, free: 23.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.2871, allocations: 73.42 kB / 456.7 MB, free: 23.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.2874, allocations: 359.9 kB / 457.1 MB, free: 22.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.2877, allocations: 231.9 kB / 457.3 MB, free: 22.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005536/0.2883, allocations: 294.9 kB / 457.6 MB, free: 22.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.2883, allocations: 329.3 kB / 457.9 MB, free: 22.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.2894, allocations: 0.5506 MB / 458.5 MB, free: 21.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.2909, allocations: 1.026 MB / 459.5 MB, free: 21.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003812/0.2947, allocations: 3.193 MB / 462.7 MB, free: 18.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/0.2948, allocations: 3.656 kB / 462.7 MB, free: 18.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002881/0.2977, allocations: 2.223 MB / 464.9 MB, free: 17.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.2978, allocations: 356.3 kB / 465.3 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.2979, allocations: 17.88 kB / 465.3 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.2979, allocations: 20.62 kB / 465.3 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.2983, allocations: 156.8 kB / 465.5 MB, free: 17.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.97e-05/0.2984, allocations: 27.25 kB / 465.5 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.299, allocations: 165.3 kB / 465.7 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.2991, allocations: 70.06 kB / 465.7 MB, free: 17.33 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real 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 ) "priority Index" type: Integer 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.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.enabledByInPlaces[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * 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.001086/0.3002, allocations: 0.8983 MB / 466.6 MB, free: 16.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.3004, allocations: 105.6 kB / 466.7 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.3048, allocations: 3.347 MB / 470.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.3048, allocations: 8.156 kB / 470.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3048, allocations: 3.984 kB / 470.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3048, allocations: 5.438 kB / 470.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006175/0.311, allocations: 4.745 MB / 474.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.311, allocations: 0 / 474.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.3112, allocations: 40.17 kB / 474.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3112, allocations: 3.391 kB / 474.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.3114, allocations: 56.91 kB / 474.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.3114, allocations: 2.094 kB / 474.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3114, allocations: 5.406 kB / 474.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004591/0.316, allocations: 3.468 MB / 478.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3161, allocations: 144 kB / 478.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.3164, allocations: 93.39 kB / 478.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/0.317, allocations: 104.6 kB / 478.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005855/0.3176, allocations: 374.2 kB / 479.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.3178, allocations: 63.67 kB / 479.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003077/0.3181, allocations: 299.3 kB / 479.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3181, allocations: 0 / 479.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001353/0.3195, allocations: 489 kB / 479.9 MB, free: 11.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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.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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,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.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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.0008332/0.3203, allocations: 475.5 kB / 480.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002864/0.3232, allocations: 2.679 MB / 483.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3232, allocations: 4 kB / 483.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002618/0.3258, allocations: 4.48 MB / 487.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/0.3265, allocations: 131.7 kB / 487.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.3299, allocations: 2.497 MB / 490.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.3304, allocations: 1.024 MB / 491.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004584/0.3308, allocations: 213.8 kB / 491.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/0.3309, allocations: 55.36 kB / 491.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.331, allocations: 0 / 491.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Templates: time 0.02768/0.3586, allocations: 17.55 MB / 0.4971 GB, free: 14.98 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & ./PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches