Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 170.2 kB / 16.11 MB, free: 5.582 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.604/1.604, allocations: 205.4 MB / 222.3 MB, free: 13.6 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.0007654/0.0007652, allocations: 90.23 kB / 270.6 MB, free: 13.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06838/0.06838, allocations: 16.9 MB / 335.8 MB, free: 5.844 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004027, allocations: 13.09 kB / 398.2 MB, free: 46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 51.69 MB / 449.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4663, allocations: 80.79 MB / 0.5182 GB, free: 79.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4666, allocations: 67.86 kB / 0.5183 GB, free: 79.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04155/0.5082, allocations: 14.44 MB / 0.5324 GB, free: 75.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5082, allocations: 3.938 kB / 0.5324 GB, free: 75.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.456e-05/0.5083, allocations: 18.22 kB / 0.5324 GB, free: 75.44 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002881/0.5112, allocations: 1.21 MB / 0.5336 GB, free: 74.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.5112, allocations: 9.844 kB / 0.5336 GB, free: 74.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/0.5119, allocations: 95.92 kB / 0.5337 GB, free: 74.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.513, allocations: 442.2 kB / 0.5341 GB, free: 74.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.5132, allocations: 71.42 kB / 0.5342 GB, free: 74.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.5134, allocations: 74.92 kB / 0.5342 GB, free: 74.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.5157, allocations: 1.132 MB / 0.5353 GB, free: 73.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.5157, allocations: 9.094 kB / 0.5353 GB, free: 73.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.5158, allocations: 37.81 kB / 0.5354 GB, free: 73.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.928e-05/0.5159, allocations: 37.33 kB / 0.5354 GB, free: 73.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.5175, allocations: 0.7318 MB / 0.5361 GB, free: 72.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.5212, allocations: 2.939 MB / 0.539 GB, free: 70.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.5226, allocations: 1.262 MB / 0.5402 GB, free: 69.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.5236, allocations: 1.16 MB / 0.5414 GB, free: 68.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.5238, allocations: 81.34 kB / 0.5414 GB, free: 68.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009617/0.5247, allocations: 0.8131 MB / 0.5422 GB, free: 67.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.5248, allocations: 3.938 kB / 0.5422 GB, free: 67.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002868/0.5276, allocations: 2.165 MB / 0.5444 GB, free: 65.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/0.5278, allocations: 0.5866 MB / 0.5449 GB, free: 64.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.5282, allocations: 387.9 kB / 0.5453 GB, free: 64.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/0.5283, allocations: 69.69 kB / 0.5454 GB, free: 64.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.5284, allocations: 248.5 kB / 0.5456 GB, free: 64.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.5286, allocations: 185.8 kB / 0.5458 GB, free: 63.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.5286, allocations: 24 kB / 0.5458 GB, free: 63.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.5287, allocations: 370.8 kB / 0.5462 GB, free: 63.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/0.5292, allocations: 318.1 kB / 0.5465 GB, free: 63.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.5298, allocations: 0.6927 MB / 0.5471 GB, free: 62.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.5316, allocations: 2.139 MB / 0.5492 GB, free: 59.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.5317, allocations: 7.938 kB / 0.5492 GB, free: 59.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001649/0.5333, allocations: 1.545 MB / 0.5507 GB, free: 58.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.5335, allocations: 342.7 kB / 0.5511 GB, free: 57.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.5335, allocations: 12 kB / 0.5511 GB, free: 57.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.5335, allocations: 16 kB / 0.5511 GB, free: 57.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.5338, allocations: 124.3 kB / 0.5512 GB, free: 57.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.5339, allocations: 35.75 kB / 0.5512 GB, free: 57.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.5342, allocations: 99.25 kB / 0.5513 GB, free: 57.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/0.5343, allocations: 56 kB / 0.5514 GB, free: 57.45 MB / 362.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 T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real 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 T2.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: 52 * Number of states: 0 () * Number of discrete variables: 122 ($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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition8,$PRE.P1.reStart,$PRE.T2.fireTime,$PRE.T2.ani,T2.fireTime,T2.ani,$whenCondition3,$PRE.T2.eventIndex,T2.eventIndex,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition7,$whenCondition6,P1.tokeninout,P1.firingSumOut.firingSum,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T2.enabledByInPlaces,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T2.firingCon,P1.enableIn.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],$PRE.P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.T2.firingTime,$whenCondition5,$whenCondition4,$whenCondition2,$PRE.P1.t,P1.t,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableIn.arcWeightSum,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,T2.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007305/0.5351, allocations: 0.7384 MB / 0.5521 GB, free: 56.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.5352, allocations: 71.42 kB / 0.5522 GB, free: 56.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.5372, allocations: 1.657 MB / 0.5538 GB, free: 54.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.5372, allocations: 7.938 kB / 0.5538 GB, free: 54.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5372, allocations: 11.91 kB / 0.5538 GB, free: 54.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5372, allocations: 0 / 0.5538 GB, free: 54.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.5402, allocations: 2.591 MB / 0.5564 GB, free: 52.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5403, allocations: 0 / 0.5564 GB, free: 52.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.815e-05/0.5404, allocations: 19.98 kB / 0.5564 GB, free: 52.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.5404, allocations: 7.938 kB / 0.5564 GB, free: 52.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/0.5405, allocations: 43.97 kB / 0.5564 GB, free: 52.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5405, allocations: 7.922 kB / 0.5564 GB, free: 52.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5405, allocations: 0 / 0.5564 GB, free: 52.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5428, allocations: 2.062 MB / 0.5584 GB, free: 49.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.5429, allocations: 116.5 kB / 0.5586 GB, free: 49.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.543, allocations: 75.91 kB / 0.5586 GB, free: 49.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.5434, allocations: 59.97 kB / 0.5587 GB, free: 49.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.5436, allocations: 87.89 kB / 0.5588 GB, free: 49.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.536e-05/0.5437, allocations: 47.97 kB / 0.5588 GB, free: 49.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.5439, allocations: 231 kB / 0.559 GB, free: 49.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5439, allocations: 0 / 0.559 GB, free: 49.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001284/0.5452, allocations: 335.6 kB / 0.5594 GB, free: 49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,T2.eventIndex,$whenCondition3,P1.t,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 22 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007046/0.5459, allocations: 403.7 kB / 0.5597 GB, free: 48.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.5478, allocations: 1.807 MB / 0.5615 GB, free: 46.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5478, allocations: 4.75 kB / 0.5615 GB, free: 46.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.5494, allocations: 2.75 MB / 0.5642 GB, free: 43.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.55, allocations: 97.47 kB / 0.5643 GB, free: 43.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.5521, allocations: 1.517 MB / 0.5658 GB, free: 42.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.5525, allocations: 0.9114 MB / 0.5667 GB, free: 41.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.5528, allocations: 129.1 kB / 0.5668 GB, free: 41.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.5529, allocations: 47.42 kB / 0.5668 GB, free: 41.05 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.5529, allocations: 0 / 0.5668 GB, free: 41.05 MB / 362.7 MB Notification: Performance of Templates: time 0.01544/0.5683, allocations: 10.55 MB / 0.5771 GB, free: 30.42 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TEnoInput.makefile (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & ./PNlib_PNlib.Examples.DisTest.TEnoInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","../files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches