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 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.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.001621/0.001621, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001776/0.001777, allocations: 193.3 kB / 16.14 MB, free: 6.703 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1855/0.1855, allocations: 16.78 MB / 306.7 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 371 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2786, allocations: 53.45 MB / 424.4 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002547/0.2812, allocations: 1.976 MB / 426.4 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.2842, allocations: 2.243 MB / 428.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.2844, allocations: 6.781 kB / 428.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.2846, allocations: 90.56 kB / 428.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.2849, allocations: 82.72 kB / 428.8 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.2861, allocations: 0.7431 MB / 429.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000675/0.2868, allocations: 1.113 MB / 430.7 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.287, allocations: 145 kB / 430.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.2873, allocations: 430.6 kB / 431.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.2875, allocations: 289.1 kB / 431.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.2876, allocations: 35.16 kB / 431.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.2881, allocations: 462 kB / 432 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2883, allocations: 118.5 kB / 432.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.2885, allocations: 304.3 kB / 432.4 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007046/0.2892, allocations: 0.9707 MB / 433.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2892, allocations: 0 / 433.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2892, allocations: 0 / 433.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2893, allocations: 0 / 433.4 MB, free: 35.59 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.001305/0.2906, allocations: 1.202 MB / 434.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2906, allocations: 13.59 kB / 434.6 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.2909, allocations: 85.25 kB / 434.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.2913, allocations: 405.7 kB / 435.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.2914, allocations: 73.45 kB / 435.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/0.2915, allocations: 71.52 kB / 435.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.293, allocations: 1.102 MB / 436.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.293, allocations: 0 / 436.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.2931, allocations: 33.98 kB / 436.4 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.279e-05/0.2931, allocations: 49.17 kB / 436.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.2943, allocations: 0.7354 MB / 437.1 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.2969, allocations: 3.011 MB / 440.2 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.2982, allocations: 1.379 MB / 441.5 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009449/0.2991, allocations: 1.244 MB / 442.8 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.2992, allocations: 90.98 kB / 442.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.3003, allocations: 0.7807 MB / 443.6 MB, free: 28.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.003e-06/0.3003, allocations: 0 / 443.6 MB, free: 28.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00298/0.3033, allocations: 2.203 MB / 445.9 MB, free: 28.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/0.3035, allocations: 0.518 MB / 446.4 MB, free: 27.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.3038, allocations: 363.9 kB / 446.7 MB, free: 27.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.3039, allocations: 69.08 kB / 446.8 MB, free: 27.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3041, allocations: 230.6 kB / 447 MB, free: 27.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3042, allocations: 195.1 kB / 447.2 MB, free: 26.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.3044, allocations: 199.3 kB / 447.4 MB, free: 26.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.3045, allocations: 370.7 kB / 447.8 MB, free: 26.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.3049, allocations: 302.6 kB / 448.1 MB, free: 26.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.3055, allocations: 0.6487 MB / 448.7 MB, free: 25.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.3075, allocations: 2.024 MB / 450.7 MB, free: 24.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.3075, allocations: 3.281 kB / 450.7 MB, free: 24.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001709/0.3092, allocations: 1.453 MB / 452.2 MB, free: 23.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.3094, allocations: 313 kB / 452.5 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.3094, allocations: 8.906 kB / 452.5 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.3094, allocations: 15.81 kB / 452.5 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.3098, allocations: 115.4 kB / 452.6 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/0.3099, allocations: 30.16 kB / 452.7 MB, free: 23.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.3103, allocations: 106 kB / 452.8 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.3104, allocations: 60.94 kB / 452.8 MB, free: 22.98 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.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.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,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.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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.0007632/0.3112, allocations: 0.6949 MB / 453.5 MB, free: 22.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3113, allocations: 69.81 kB / 453.6 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.3133, allocations: 1.662 MB / 455.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3133, allocations: 10.09 kB / 455.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3133, allocations: 3.938 kB / 455.3 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3133, allocations: 0 / 455.3 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.3165, allocations: 2.593 MB / 457.9 MB, free: 20.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3165, allocations: 1.188 kB / 457.9 MB, free: 20.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.3166, allocations: 30.31 kB / 457.9 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.3167, allocations: 10.38 kB / 457.9 MB, free: 20.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/0.3168, allocations: 37.52 kB / 457.9 MB, free: 20.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.3168, allocations: 1.781 kB / 457.9 MB, free: 20.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.3168, allocations: 5.156 kB / 457.9 MB, free: 20.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.3197, allocations: 2.077 MB / 460 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.3198, allocations: 124.6 kB / 460.1 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.32, allocations: 69.56 kB / 460.2 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.3204, allocations: 53.06 kB / 460.3 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/0.3206, allocations: 78.92 kB / 460.3 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-05/0.3207, allocations: 42.97 kB / 460.4 MB, free: 19.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.321, allocations: 227.4 kB / 460.6 MB, free: 19.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.321, allocations: 0 / 460.6 MB, free: 19.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3222, allocations: 305.8 kB / 460.9 MB, free: 18.96 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 (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.0008165/0.323, allocations: 370 kB / 461.3 MB, free: 18.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3253, allocations: 1.729 MB / 463 MB, free: 17.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3254, allocations: 1.25 kB / 463 MB, free: 17.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.3275, allocations: 2.804 MB / 465.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.3282, allocations: 109.2 kB / 465.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.3307, allocations: 1.673 MB / 467.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3311, allocations: 0.8999 MB / 468.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003655/0.3315, allocations: 130.8 kB / 468.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3316, allocations: 44.78 kB / 468.6 MB, free: 14 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3316, allocations: 3.938 kB / 468.7 MB, free: 14 MB / 350.1 MB Notification: Performance of Templates: time 0.01916/0.3507, allocations: 10.47 MB / 479.1 MB, free: 11.88 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