Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 182 kB / 15.98 MB, free: 5.766 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.431/1.431, 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.001054/0.001054, allocations: 104.4 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07979/0.07979, allocations: 16.88 MB / 333.4 MB, free: 8.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 55.91 kB / 394.9 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08303, allocations: 50.68 MB / 445.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002583/0.08566, allocations: 1.993 MB / 447.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.08845, allocations: 2.266 MB / 449.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.08863, allocations: 7.938 kB / 449.8 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.08887, allocations: 83.44 kB / 449.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.08913, allocations: 83.48 kB / 450 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.09021, allocations: 0.7489 MB / 450.8 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.09081, allocations: 1.104 MB / 451.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.09098, allocations: 140.3 kB / 452 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.09125, allocations: 434.6 kB / 452.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.09151, allocations: 282.5 kB / 452.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.0916, allocations: 40 kB / 452.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.09202, allocations: 459.4 kB / 453.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.09214, allocations: 127.5 kB / 453.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.09239, allocations: 302.4 kB / 453.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006274/0.09302, allocations: 0.9705 MB / 454.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.09304, allocations: 0 / 454.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.09304, allocations: 0 / 454.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.09305, allocations: 3.938 kB / 454.6 MB, free: 2.109 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001079/0.09414, allocations: 1.208 MB / 455.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.09417, allocations: 8.031 kB / 455.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.09442, allocations: 80.27 kB / 455.9 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.09482, allocations: 414.3 kB / 456.3 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.0949, allocations: 82.61 kB / 456.4 MB, free: 176 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.09498, allocations: 60 kB / 456.4 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.09656, allocations: 1.109 MB / 457.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.09659, allocations: 0 / 457.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.09667, allocations: 31.98 kB / 457.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-05/0.09676, allocations: 44.97 kB / 457.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.09794, allocations: 0.7337 MB / 458.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.1012, allocations: 3.021 MB / 461.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.1027, allocations: 1.369 MB / 462.7 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.1038, allocations: 1.248 MB / 464 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.475e-05/0.1039, allocations: 85.09 kB / 464.1 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.1051, allocations: 0.7784 MB / 464.8 MB, free: 7.414 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.104e-06/0.1051, allocations: 0 / 464.8 MB, free: 7.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.003079/0.1082, allocations: 2.214 MB / 467 MB, free: 5.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003102/0.1085, allocations: 0.5113 MB / 467.6 MB, free: 4.535 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.1089, allocations: 368.1 kB / 467.9 MB, free: 4.164 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.109, allocations: 65.69 kB / 468 MB, free: 4.094 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1091, allocations: 240.6 kB / 468.2 MB, free: 3.855 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.1093, allocations: 181.9 kB / 468.4 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.1095, allocations: 198.5 kB / 468.6 MB, free: 3.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1097, allocations: 374.8 kB / 469 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.1101, allocations: 302.1 kB / 469.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.1108, allocations: 0.6401 MB / 469.9 MB, free: 2.016 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.113, allocations: 2.042 MB / 471.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.113, allocations: 4 kB / 471.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001807/0.1149, allocations: 1.454 MB / 473.4 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.115, allocations: 317 kB / 473.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.1151, allocations: 12 kB / 473.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.1151, allocations: 15.94 kB / 473.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.1154, allocations: 116.3 kB / 473.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.1155, allocations: 19.92 kB / 473.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.1158, allocations: 111 kB / 474 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.1159, allocations: 48 kB / 474 MB, free: 13.45 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 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 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 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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($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,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,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,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.firingCon,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[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.enableIn.arcWeight[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,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * 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.0007945/0.1167, allocations: 0.7022 MB / 474.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1168, allocations: 67.44 kB / 474.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.1191, allocations: 1.669 MB / 476.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1191, allocations: 4 kB / 476.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1192, allocations: 0 / 476.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1192, allocations: 4 kB / 476.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.1226, allocations: 2.6 MB / 479.1 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1227, allocations: 4 kB / 479.1 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.1228, allocations: 27.92 kB / 479.1 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.1228, allocations: 7.922 kB / 479.1 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.843e-05/0.1229, allocations: 39.98 kB / 479.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1229, allocations: 0 / 479.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1229, allocations: 4 kB / 479.1 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/0.1269, allocations: 3.341 MB / 482.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.127, allocations: 128.4 kB / 482.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.1272, allocations: 75.97 kB / 482.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.1275, allocations: 51.97 kB / 482.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.1277, allocations: 79.91 kB / 482.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/0.1278, allocations: 43.92 kB / 482.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.128, allocations: 223 kB / 483.1 MB, free: 4.074 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.128, allocations: 0 / 483.1 MB, free: 4.074 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001121/0.1292, allocations: 307.7 kB / 483.4 MB, free: 3.773 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: 67 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,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.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.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.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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): 25 * Array equations: 0 * 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.0008479/0.13, allocations: 378.2 kB / 483.7 MB, free: 3.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.1324, allocations: 1.731 MB / 485.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1324, allocations: 0 / 485.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1596/0.292, allocations: 2.798 MB / 488.3 MB, free: 47.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009798/0.293, allocations: 106.5 kB / 488.4 MB, free: 47.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.2964, allocations: 2.07 MB / 490.4 MB, free: 46.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.297, allocations: 0.9165 MB / 491.4 MB, free: 45.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.2975, allocations: 127.8 kB / 491.5 MB, free: 45.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.2976, allocations: 43.58 kB / 491.5 MB, free: 45.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2976, allocations: 1.125 kB / 491.5 MB, free: 45.81 MB / 330.7 MB Notification: Performance of Templates: time 0.02237/0.32, allocations: 10.99 MB / 0.4907 GB, free: 42.2 MB / 330.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches