Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002269/0.00227, allocations: 181.4 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9619/0.9619, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0008443/0.0008443, allocations: 89.61 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06386/0.06386, allocations: 16.72 MB / 325.7 MB, free: 12.76 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.182e-06, allocations: 4 kB / 383.4 MB, free: 71.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06297/0.06299, allocations: 51.69 MB / 435.1 MB, free: 19.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.2589, allocations: 79.87 MB / 0.5029 GB, free: 9.812 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001662/0.2591, allocations: 69.94 kB / 0.503 GB, free: 9.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03513/0.2942, allocations: 15.01 MB / 0.5177 GB, free: 4.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.2943, allocations: 16 kB / 0.5177 GB, free: 4.16 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001214/0.2955, allocations: 1.203 MB / 0.5189 GB, free: 2.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.2955, allocations: 12.02 kB / 0.5189 GB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.2959, allocations: 99.25 kB / 0.519 GB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006268/0.2965, allocations: 465.6 kB / 0.5194 GB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.2966, allocations: 67.02 kB / 0.5195 GB, free: 2.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.2967, allocations: 59.98 kB / 0.5195 GB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001072/0.2978, allocations: 0.8423 MB / 0.5203 GB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.2992, allocations: 1.24 MB / 0.5216 GB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2992, allocations: 3.938 kB / 0.5216 GB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.635e-05/0.2993, allocations: 19.91 kB / 0.5216 GB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.2993, allocations: 44.91 kB / 0.5216 GB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.3026, allocations: 3.147 MB / 0.5247 GB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.3038, allocations: 1.49 MB / 0.5262 GB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.3049, allocations: 1.386 MB / 0.5275 GB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.091e-05/0.305, allocations: 85.09 kB / 0.5276 GB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.306, allocations: 0.8572 MB / 0.5284 GB, free: 12.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 1.874e-06/0.3061, allocations: 0 / 0.5284 GB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.00176/0.3078, allocations: 1.173 MB / 0.5296 GB, free: 11.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002676/0.3081, allocations: 0.5083 MB / 0.5301 GB, free: 10.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.3084, allocations: 325.9 kB / 0.5304 GB, free: 10.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.379e-05/0.3085, allocations: 56.56 kB / 0.5304 GB, free: 10.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.3086, allocations: 250.3 kB / 0.5307 GB, free: 10.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.3088, allocations: 182.1 kB / 0.5308 GB, free: 9.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.3089, allocations: 4 kB / 0.5308 GB, free: 9.945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.309, allocations: 372 kB / 0.5312 GB, free: 9.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.3096, allocations: 405.2 kB / 0.5316 GB, free: 9.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/0.3103, allocations: 0.7612 MB / 0.5323 GB, free: 8.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.3109, allocations: 429.6 kB / 0.5327 GB, free: 8.262 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.3109, allocations: 4 kB / 0.5327 GB, free: 8.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001614/0.3126, allocations: 1.148 MB / 0.5339 GB, free: 7.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3126, allocations: 4 kB / 0.5339 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.3126, allocations: 12 kB / 0.5339 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.3126, allocations: 27.84 kB / 0.5339 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.313, allocations: 127.6 kB / 0.534 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.3131, allocations: 19.94 kB / 0.534 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.3135, allocations: 91.73 kB / 0.5341 GB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.3136, allocations: 63.39 kB / 0.5342 GB, free: 7.055 MB / 346.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 128 ($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,$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.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition7,$PRE.P1.reStart,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,P1.firingSumIn.firingSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$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.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.firingCon,P1.enableOut.enablingPrio[1],P1.reStart,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.active,T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],P1.activeConOut.vec[1],P1.outTransition[1].fed,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 10 * 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.0005901/0.3142, allocations: 0.6089 MB / 0.5348 GB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3144, allocations: 71.44 kB / 0.5349 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.316, allocations: 1.135 MB / 0.536 GB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3161, allocations: 4 kB / 0.536 GB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3161, allocations: 0 / 0.536 GB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3161, allocations: 3.984 kB / 0.536 GB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.3192, allocations: 2.125 MB / 0.5381 GB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3192, allocations: 0 / 0.5381 GB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3193, allocations: 27.97 kB / 0.5381 GB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3193, allocations: 0 / 0.5381 GB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.3194, allocations: 43.11 kB / 0.5381 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3194, allocations: 7.844 kB / 0.5381 GB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3194, allocations: 0 / 0.5381 GB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001934/0.3214, allocations: 1.438 MB / 0.5395 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.3215, allocations: 132.4 kB / 0.5397 GB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.3217, allocations: 69.23 kB / 0.5397 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.3222, allocations: 79.12 kB / 0.5398 GB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/0.3227, allocations: 358.8 kB / 0.5401 GB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.3228, allocations: 51.97 kB / 0.5402 GB, free: 2.305 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001711/0.323, allocations: 199.1 kB / 0.5404 GB, free: 2.109 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009798/0.324, allocations: 311.1 kB / 0.5407 GB, free: 1.809 MB / 346.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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.activeOut[1],T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],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.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 49 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,P1.tokeninout,T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * 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 (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.0008216/0.3248, allocations: 402.7 kB / 0.5411 GB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.3268, allocations: 1.644 MB / 0.5427 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3268, allocations: 384 / 0.5427 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.329, allocations: 2.858 MB / 0.5455 GB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3294, allocations: 60.56 kB / 0.5455 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.3315, allocations: 1.289 MB / 0.5468 GB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.3321, allocations: 0.9694 MB / 0.5477 GB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3321, allocations: 0 / 0.5477 GB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.01786/0.35, allocations: 12.64 MB / 0.5601 GB, free: 13.73 MB / 378.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches