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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001099, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 221.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 99.95 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07067/0.07067, allocations: 16.87 MB / 333.4 MB, free: 8.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009759/0.000976, allocations: 55.92 kB / 394.9 MB, free: 61.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07794/0.07893, allocations: 50.69 MB / 445.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002788/0.08178, allocations: 1.988 MB / 447.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.08471, allocations: 2.262 MB / 449.8 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.08489, allocations: 4 kB / 449.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.08517, allocations: 91.38 kB / 449.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.08548, allocations: 99.3 kB / 450 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.08659, allocations: 0.7528 MB / 450.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000657/0.08726, allocations: 1.181 MB / 452 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.08751, allocations: 262.8 kB / 452.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.08782, allocations: 486.2 kB / 452.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.08817, allocations: 462 kB / 453.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.08829, allocations: 64 kB / 453.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000673/0.08897, allocations: 0.7178 MB / 453.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.08913, allocations: 207.2 kB / 454.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.0895, allocations: 0.4978 MB / 454.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.09053, allocations: 1.656 MB / 456.3 MB, free: 396 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09054, allocations: 4 kB / 456.3 MB, free: 392 kB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09055, allocations: 0 / 456.3 MB, free: 392 kB / 298.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.09056, allocations: 3.938 kB / 456.3 MB, free: 388 kB / 298.7 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.001859/0.09243, allocations: 1.554 MB / 457.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.09248, allocations: 8.031 kB / 457.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/0.09289, allocations: 135.9 kB / 458 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/0.09371, allocations: 0.5496 MB / 458.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.09386, allocations: 133.4 kB / 458.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.09403, allocations: 120 kB / 458.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.09685, allocations: 2.032 MB / 460.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.09688, allocations: 4 kB / 460.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.09701, allocations: 51.98 kB / 460.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.09716, allocations: 93.22 kB / 461 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.09931, allocations: 1.423 MB / 462.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005092/0.1044, allocations: 4.271 MB / 466.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.1069, allocations: 2.394 MB / 469 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.1091, allocations: 2.303 MB / 471.3 MB, free: 0.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.1092, allocations: 97.03 kB / 471.4 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001821/0.1111, allocations: 1.3 MB / 472.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 2.625e-06/0.1111, allocations: 0 / 472.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.005607/0.1167, allocations: 3.966 MB / 476.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003972/0.1171, allocations: 0.6574 MB / 477.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.1177, allocations: 0.5128 MB / 477.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.1179, allocations: 73.69 kB / 477.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.1182, allocations: 347.8 kB / 478.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.1184, allocations: 237.2 kB / 478.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004444/0.1189, allocations: 298.8 kB / 478.8 MB, free: 9.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.119, allocations: 326 kB / 479.1 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009644/0.12, allocations: 0.5459 MB / 479.7 MB, free: 8.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.1213, allocations: 1.032 MB / 480.7 MB, free: 7.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/0.1249, allocations: 3.192 MB / 483.9 MB, free: 3.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/0.125, allocations: 4 kB / 483.9 MB, free: 3.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003323/0.1283, allocations: 2.225 MB / 486.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002639/0.1286, allocations: 352.9 kB / 486.5 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/0.1286, allocations: 12 kB / 486.5 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.116e-05/0.1287, allocations: 20 kB / 486.5 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.1292, allocations: 159.6 kB / 486.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.93e-05/0.1292, allocations: 31.98 kB / 486.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.1299, allocations: 162.6 kB / 486.8 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.13, allocations: 72.14 kB / 486.9 MB, free: 348 kB / 330.7 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,P1.outTransition[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,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,T1.firingCon,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.active,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,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.1602/0.2902, allocations: 0.8895 MB / 487.8 MB, free: 46.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.2906, allocations: 101.5 kB / 487.9 MB, free: 46.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.2955, allocations: 3.348 MB / 491.3 MB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.2955, allocations: 6.531 kB / 491.3 MB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.2955, allocations: 3.812 kB / 491.3 MB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2955, allocations: 2.484 kB / 491.3 MB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008226/0.3038, allocations: 4.753 MB / 496 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3038, allocations: 1.594 kB / 496 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.304, allocations: 34.86 kB / 496.1 MB, free: 43.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.304, allocations: 2.188 kB / 496.1 MB, free: 43.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.3041, allocations: 54.66 kB / 496.1 MB, free: 43.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.3042, allocations: 2.719 kB / 496.1 MB, free: 43.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3042, allocations: 0 / 496.1 MB, free: 43.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006738/0.3109, allocations: 5.361 MB / 0.4897 GB, free: 41.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.3111, allocations: 144 kB / 0.4899 GB, free: 41.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/0.3114, allocations: 91.05 kB / 0.4899 GB, free: 40.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.3121, allocations: 103 kB / 0.49 GB, free: 40.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/0.3127, allocations: 374.8 kB / 0.4904 GB, free: 40.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.3129, allocations: 69.66 kB / 0.4905 GB, free: 40.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003338/0.3132, allocations: 300.5 kB / 0.4908 GB, free: 40.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3132, allocations: 4.281 kB / 0.4908 GB, free: 40.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001489/0.3147, allocations: 490 kB / 0.4912 GB, free: 40.68 MB / 330.7 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.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,P1.outTransition[1].tokenInOut,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.001046/0.3158, allocations: 489.2 kB / 0.4917 GB, free: 40.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003236/0.319, allocations: 2.669 MB / 0.4943 GB, free: 39.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3191, allocations: 1.25 kB / 0.4943 GB, free: 39.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.3218, allocations: 4.485 MB / 0.4987 GB, free: 35.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.3225, allocations: 133.4 kB / 0.4988 GB, free: 35.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.3259, allocations: 2.985 MB / 0.5017 GB, free: 32.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3264, allocations: 1.056 MB / 0.5028 GB, free: 31.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004342/0.3269, allocations: 218.3 kB / 0.503 GB, free: 31.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.327, allocations: 51.34 kB / 0.503 GB, free: 31.36 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.327, allocations: 4 kB / 0.503 GB, free: 31.35 MB / 330.7 MB Notification: Performance of Templates: time 0.02223/0.3492, allocations: 18.31 MB / 0.5209 GB, free: 12.92 MB / 330.7 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