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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1866/0.1866, allocations: 16.71 MB / 307.7 MB, free: 15.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002803, allocations: 11.98 kB / 372.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2485, allocations: 54.47 MB / 427.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.00167/0.2502, allocations: 1.558 MB / 428.7 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.2531, allocations: 1.877 MB / 430.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.2534, allocations: 3.469 kB / 430.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.2537, allocations: 90.95 kB / 430.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.254, allocations: 122.6 kB / 430.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.2555, allocations: 0.6171 MB / 431.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.2562, allocations: 0.6483 MB / 432.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.2564, allocations: 126.9 kB / 432.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.2567, allocations: 392.7 kB / 432.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.257, allocations: 254.5 kB / 432.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.2571, allocations: 27.31 kB / 432.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.2576, allocations: 378.6 kB / 433.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2577, allocations: 96.48 kB / 433.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2578, allocations: 160.9 kB / 433.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.2584, allocations: 0.7194 MB / 434.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2584, allocations: 3.031 kB / 434.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2584, allocations: 5.188 kB / 434.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2585, allocations: 0 / 434.2 MB, free: 36.42 MB / 350.1 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.001027/0.2595, allocations: 1.077 MB / 435.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.2595, allocations: 8.812 kB / 435.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.2598, allocations: 86.34 kB / 435.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.2602, allocations: 400.1 kB / 435.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/0.2603, allocations: 72.81 kB / 435.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.283e-05/0.2604, allocations: 70.22 kB / 435.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.2619, allocations: 1.12 MB / 437 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2619, allocations: 6.969 kB / 437 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/0.262, allocations: 36.34 kB / 437.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-05/0.2621, allocations: 44.98 kB / 437.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2631, allocations: 0.7464 MB / 437.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.2657, allocations: 3.01 MB / 440.9 MB, free: 32.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.2669, allocations: 1.401 MB / 442.3 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.906e-05/0.267, allocations: 87.47 kB / 442.3 MB, free: 31.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009466/0.268, allocations: 0.7998 MB / 443.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.004e-06/0.268, allocations: 3.938 kB / 443.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002818/0.2708, allocations: 2.583 MB / 445.7 MB, free: 29.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.271, allocations: 0.518 MB / 446.2 MB, free: 28.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.2713, allocations: 363 kB / 446.6 MB, free: 28.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.2714, allocations: 63.03 kB / 446.7 MB, free: 28.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2715, allocations: 234.1 kB / 446.9 MB, free: 28.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.2716, allocations: 188.7 kB / 447.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.2717, allocations: 18.53 kB / 447.1 MB, free: 28.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.2718, allocations: 376.1 kB / 447.5 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.2722, allocations: 296.6 kB / 447.8 MB, free: 27.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.2727, allocations: 0.6339 MB / 448.4 MB, free: 27.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.2734, allocations: 0.675 MB / 449.1 MB, free: 26.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.2734, allocations: 3.188 kB / 449.1 MB, free: 26.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001591/0.275, allocations: 1.453 MB / 450.5 MB, free: 25.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.2751, allocations: 315 kB / 450.8 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.2751, allocations: 9.281 kB / 450.8 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.2751, allocations: 16.47 kB / 450.9 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.2755, allocations: 116.4 kB / 451 MB, free: 25.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.2755, allocations: 23.94 kB / 451 MB, free: 25.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.2759, allocations: 101.8 kB / 451.1 MB, free: 25.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.2759, allocations: 48.84 kB / 451.1 MB, free: 25.54 MB / 350.1 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.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.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,$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,$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,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,$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.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,$whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$whenCondition4,$whenCondition3,$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.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.activation.disPlaceOut[1],T1.enabledByInPlaces,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006881/0.2766, allocations: 0.7166 MB / 451.9 MB, free: 24.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.2768, allocations: 65.31 kB / 451.9 MB, free: 24.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.2788, allocations: 1.701 MB / 453.6 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2788, allocations: 3.312 kB / 453.6 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2789, allocations: 3.094 kB / 453.6 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2789, allocations: 3.328 kB / 453.6 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.282, allocations: 2.629 MB / 456.3 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.282, allocations: 0 / 456.3 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.2822, allocations: 28.58 kB / 456.3 MB, free: 22.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.2822, allocations: 2.969 kB / 456.3 MB, free: 22.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.376e-05/0.2823, allocations: 36.28 kB / 456.3 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2823, allocations: 2.969 kB / 456.3 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2823, allocations: 0 / 456.3 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.2848, allocations: 2.117 MB / 458.4 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2849, allocations: 123.2 kB / 458.6 MB, free: 21.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.2851, allocations: 74.19 kB / 458.6 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.2855, allocations: 53.28 kB / 458.7 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.2857, allocations: 86.2 kB / 458.8 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-05/0.2858, allocations: 42.25 kB / 458.8 MB, free: 21.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.286, allocations: 221.2 kB / 459 MB, free: 21.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.286, allocations: 0 / 459 MB, free: 21.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001117/0.2871, allocations: 309.3 kB / 459.3 MB, free: 21.48 MB / 350.1 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 (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.0006942/0.2878, allocations: 382.2 kB / 459.7 MB, free: 21.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.29, allocations: 1.742 MB / 461.4 MB, free: 20.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.29, allocations: 4 kB / 461.4 MB, free: 20.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.2919, allocations: 2.819 MB / 464.3 MB, free: 18.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.2924, allocations: 72.27 kB / 464.3 MB, free: 18.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.2948, allocations: 1.618 MB / 466 MB, free: 17.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.2952, allocations: 0.9047 MB / 466.9 MB, free: 16.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.2955, allocations: 127.7 kB / 467 MB, free: 16.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.2956, allocations: 40.59 kB / 467 MB, free: 16.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2956, allocations: 5.5 kB / 467 MB, free: 16.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01842/0.314, allocations: 10.21 MB / 477.2 MB, free: 14.45 MB / 350.1 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