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.001131/0.001131, allocations: 183.2 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.259/1.259, 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.0009323/0.0009324, allocations: 106.2 kB / 269.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06989/0.06989, allocations: 16.87 MB / 333.4 MB, free: 8.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009199/0.00092, allocations: 55.92 kB / 394.9 MB, free: 61.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07048/0.07141, allocations: 50.68 MB / 445.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002558/0.07401, allocations: 2.006 MB / 447.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.07689, allocations: 2.309 MB / 449.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.07705, allocations: 4 kB / 449.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.0774, allocations: 91.42 kB / 450 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.07762, allocations: 87.44 kB / 450.1 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.07863, allocations: 0.7567 MB / 450.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006072/0.07925, allocations: 1.123 MB / 451.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.07942, allocations: 132.3 kB / 452.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.0797, allocations: 438.5 kB / 452.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.07998, allocations: 302.4 kB / 452.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.6e-05/0.08007, allocations: 36 kB / 452.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.08054, allocations: 491.2 kB / 453.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.08066, allocations: 127.5 kB / 453.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.08088, allocations: 306.4 kB / 453.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.08153, allocations: 0.9938 MB / 454.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.08154, allocations: 4 kB / 454.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.08155, allocations: 0 / 454.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.08156, allocations: 0 / 454.7 MB, free: 1.938 MB / 298.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.001151/0.08272, allocations: 1.252 MB / 456 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.08276, allocations: 8.031 kB / 456 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.083, allocations: 88.19 kB / 456.1 MB, free: 484 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.08342, allocations: 414.3 kB / 456.5 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.08354, allocations: 74.69 kB / 456.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.474e-05/0.08364, allocations: 67.98 kB / 456.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.08521, allocations: 1.155 MB / 457.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.08524, allocations: 3.938 kB / 457.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.08532, allocations: 35.98 kB / 457.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.088e-05/0.08541, allocations: 48.95 kB / 457.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.08661, allocations: 0.7494 MB / 458.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.08975, allocations: 3.044 MB / 461.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.09111, allocations: 1.292 MB / 462.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.09226, allocations: 1.198 MB / 464.1 MB, free: 8.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/0.09235, allocations: 89.11 kB / 464.2 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.09348, allocations: 0.8324 MB / 465.1 MB, free: 7.145 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.365e-06/0.0935, allocations: 0 / 465.1 MB, free: 7.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.003144/0.09665, allocations: 2.258 MB / 467.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003593/0.09702, allocations: 0.6195 MB / 467.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.09742, allocations: 387.9 kB / 468.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.075e-05/0.0975, allocations: 65.7 kB / 468.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.0977, allocations: 248.5 kB / 468.6 MB, free: 3.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.09788, allocations: 197.6 kB / 468.8 MB, free: 3.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.09814, allocations: 210.5 kB / 469 MB, free: 2.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.0983, allocations: 366.8 kB / 469.4 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.0988, allocations: 330.1 kB / 469.7 MB, free: 2.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/0.09951, allocations: 0.6786 MB / 470.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.1017, allocations: 2.145 MB / 472.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.1017, allocations: 4 kB / 472.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001927/0.1037, allocations: 1.542 MB / 474.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.1039, allocations: 346.6 kB / 474.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.1039, allocations: 12 kB / 474.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1039, allocations: 16 kB / 474.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.1043, allocations: 119.7 kB / 474.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/0.1043, allocations: 23.88 kB / 474.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.1047, allocations: 103.1 kB / 474.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.1048, allocations: 55.98 kB / 474.7 MB, free: 12.61 MB / 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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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.reStart,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T2.firingCon,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.active,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0008293/0.1056, allocations: 0.7396 MB / 475.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.1057, allocations: 79.28 kB / 475.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.1081, allocations: 1.722 MB / 477.3 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.1081, allocations: 8 kB / 477.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1082, allocations: 0 / 477.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1082, allocations: 3.984 kB / 477.3 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.1119, allocations: 2.678 MB / 480 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.112, allocations: 4 kB / 480 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1121, allocations: 19.98 kB / 480 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1121, allocations: 0 / 480 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.59e-05/0.1122, allocations: 35.98 kB / 480 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1122, allocations: 7.984 kB / 480 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1122, allocations: 0 / 480 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/0.1162, allocations: 3.428 MB / 483.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.1163, allocations: 128.3 kB / 483.6 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.1165, allocations: 71.97 kB / 483.7 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.1169, allocations: 51.97 kB / 483.7 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.117, allocations: 83.84 kB / 483.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.748e-05/0.1171, allocations: 55.95 kB / 483.8 MB, free: 3.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000217/0.1174, allocations: 231 kB / 484.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1174, allocations: 0 / 484.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001067/0.1185, allocations: 319.8 kB / 484.4 MB, free: 2.625 MB / 330.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,P1.t,T2.eventIndex,$whenCondition3,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.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$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 (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.0006559/0.1191, allocations: 389.2 kB / 484.8 MB, free: 2.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.1212, allocations: 1.819 MB / 486.6 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1212, allocations: 0 / 486.6 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1305/0.2516, allocations: 2.823 MB / 489.4 MB, free: 46.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.2523, allocations: 99.12 kB / 489.5 MB, free: 46.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.255, allocations: 2.088 MB / 491.6 MB, free: 45.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.2553, allocations: 0.927 MB / 492.5 MB, free: 44.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003436/0.2557, allocations: 137.7 kB / 492.6 MB, free: 44.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.2558, allocations: 41.88 kB / 492.7 MB, free: 44.7 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2558, allocations: 0 / 492.7 MB, free: 44.7 MB / 330.7 MB Notification: Performance of Templates: time 0.01624/0.272, allocations: 11.45 MB / 0.4923 GB, free: 40.81 MB / 330.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