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/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 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001883/0.001883, allocations: 189.2 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.183/0.183, allocations: 16.77 MB / 306.7 MB, free: 15.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 371 MB, free: 4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2634, allocations: 53.45 MB / 424.4 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002955/0.2664, allocations: 1.978 MB / 426.4 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.2697, allocations: 2.246 MB / 428.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.2699, allocations: 6.812 kB / 428.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.2702, allocations: 86.53 kB / 428.7 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.2705, allocations: 90 kB / 428.8 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2718, allocations: 0.7478 MB / 429.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.2725, allocations: 1.114 MB / 430.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.2727, allocations: 157.6 kB / 430.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.273, allocations: 437.6 kB / 431.3 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.2733, allocations: 333.1 kB / 431.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.018e-05/0.2734, allocations: 39.81 kB / 431.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.2739, allocations: 458.3 kB / 432.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.2741, allocations: 144.1 kB / 432.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.2744, allocations: 348.3 kB / 432.6 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007709/0.2751, allocations: 1.077 MB / 433.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2751, allocations: 0 / 433.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.2752, allocations: 3.938 kB / 433.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.2752, allocations: 0 / 433.6 MB, free: 35.7 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001306/0.2765, allocations: 1.28 MB / 434.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2765, allocations: 7.875 kB / 434.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.2768, allocations: 90.31 kB / 435 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.2773, allocations: 447.5 kB / 435.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/0.2774, allocations: 80.16 kB / 435.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.2775, allocations: 79.83 kB / 435.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.2791, allocations: 1.319 MB / 436.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2792, allocations: 10.59 kB / 436.9 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/0.2793, allocations: 39.56 kB / 437 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.57e-05/0.2794, allocations: 53.91 kB / 437 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.2806, allocations: 0.9109 MB / 437.9 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.2836, allocations: 3.337 MB / 441.3 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.2849, allocations: 1.581 MB / 442.9 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.286, allocations: 1.445 MB / 444.3 MB, free: 28.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.129e-05/0.2861, allocations: 91.03 kB / 444.4 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.2873, allocations: 0.9153 MB / 445.3 MB, free: 28.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.866e-06/0.2873, allocations: 4 kB / 445.3 MB, free: 28.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003421/0.2907, allocations: 2.623 MB / 447.9 MB, free: 27.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/0.291, allocations: 0.5337 MB / 448.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.2914, allocations: 408.5 kB / 448.9 MB, free: 26.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/0.2914, allocations: 64.7 kB / 448.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.2916, allocations: 261.7 kB / 449.2 MB, free: 26.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.2917, allocations: 191.5 kB / 449.4 MB, free: 26.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.292, allocations: 233.2 kB / 449.6 MB, free: 26.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.2921, allocations: 381.5 kB / 450 MB, free: 25.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.2926, allocations: 440.6 kB / 450.4 MB, free: 25.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.2934, allocations: 0.8106 MB / 451.2 MB, free: 25.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.2957, allocations: 2.551 MB / 453.8 MB, free: 23.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.2958, allocations: 7.25 kB / 453.8 MB, free: 23.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002126/0.2979, allocations: 1.82 MB / 455.6 MB, free: 22.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.298, allocations: 339.2 kB / 455.9 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.2981, allocations: 9.562 kB / 455.9 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.2981, allocations: 18.62 kB / 455.9 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.2985, allocations: 120.1 kB / 456.1 MB, free: 21.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.2985, allocations: 25.64 kB / 456.1 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.299, allocations: 135.5 kB / 456.2 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/0.2991, allocations: 53.31 kB / 456.3 MB, free: 21.76 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableOut.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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 51 * 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,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],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * 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.0008628/0.3, allocations: 0.7592 MB / 457 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.3002, allocations: 74.16 kB / 457.1 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.3031, allocations: 2.017 MB / 459.1 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.3031, allocations: 5.469 kB / 459.1 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3031, allocations: 1.125 kB / 459.1 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3032, allocations: 4.516 kB / 459.1 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.3072, allocations: 3.047 MB / 462.2 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.3073, allocations: 0 / 462.2 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.3074, allocations: 30.92 kB / 462.2 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3074, allocations: 2.312 kB / 462.2 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/0.3075, allocations: 47.34 kB / 462.3 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3075, allocations: 10.05 kB / 462.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.3075, allocations: 0 / 462.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/0.3107, allocations: 2.385 MB / 464.7 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.519e-05/0.3108, allocations: 125.7 kB / 464.8 MB, free: 17.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.311, allocations: 75.3 kB / 464.9 MB, free: 17.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.3115, allocations: 79.8 kB / 464.9 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/0.3121, allocations: 329.7 kB / 465.3 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.3122, allocations: 44.58 kB / 465.3 MB, free: 17.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.3124, allocations: 244.2 kB / 465.5 MB, free: 17.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3125, allocations: 0 / 465.5 MB, free: 17.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001075/0.3135, allocations: 347.3 kB / 465.9 MB, free: 17.19 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: 69 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],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,T1.inPlaces[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: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],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.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * 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.0007414/0.3143, allocations: 379.9 kB / 466.2 MB, free: 17.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.3168, allocations: 2.095 MB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3168, allocations: 0 / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002176/0.319, allocations: 3.156 MB / 471.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.3196, allocations: 106 kB / 471.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.3224, allocations: 1.786 MB / 473.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.3228, allocations: 0.9201 MB / 474.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000436/0.3233, allocations: 144.3 kB / 474.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.3234, allocations: 46.75 kB / 474.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3234, allocations: 1.281 kB / 474.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Templates: time 0.02102/0.3445, allocations: 12.82 MB / 487.3 MB, free: 4.949 MB / 350.1 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