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.0007059/0.000706, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007283/0.0007284, allocations: 172.7 kB / 15.95 MB, free: 208 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.16/1.16, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1661/0.1661, allocations: 16.73 MB / 307.8 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 12 kB / 372.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2289, allocations: 54.48 MB / 427.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.001314/0.2303, allocations: 1.514 MB / 428.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.2325, allocations: 1.853 MB / 430.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2326, allocations: 7.469 kB / 430.7 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.2328, allocations: 87.16 kB / 430.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.2331, allocations: 82.58 kB / 430.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/0.234, allocations: 0.6333 MB / 431.4 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.2347, allocations: 1.061 MB / 432.5 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.2348, allocations: 132 kB / 432.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.2351, allocations: 420.8 kB / 433.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2353, allocations: 257.8 kB / 433.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/0.2354, allocations: 28.91 kB / 433.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.2358, allocations: 417.3 kB / 433.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.2359, allocations: 101.6 kB / 433.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.236, allocations: 155.2 kB / 434 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.2365, allocations: 0.725 MB / 434.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2365, allocations: 0 / 434.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2365, allocations: 0 / 434.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2365, allocations: 0 / 434.7 MB, free: 36.36 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.0008467/0.2373, allocations: 1.08 MB / 435.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.623e-05/0.2374, allocations: 8.688 kB / 435.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.2376, allocations: 79.12 kB / 435.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.238, allocations: 403.2 kB / 436.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.2381, allocations: 82.47 kB / 436.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.2381, allocations: 66.09 kB / 436.4 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.2394, allocations: 1.117 MB / 437.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2394, allocations: 4 kB / 437.5 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.2395, allocations: 31.94 kB / 437.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.118e-05/0.2395, allocations: 44.61 kB / 437.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009409/0.2405, allocations: 0.7573 MB / 438.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.2426, allocations: 3.01 MB / 441.4 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2437, allocations: 1.396 MB / 442.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008551/0.2445, allocations: 1.267 MB / 444 MB, free: 30.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.2446, allocations: 83.05 kB / 444.1 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008399/0.2454, allocations: 0.8027 MB / 444.9 MB, free: 29.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.944e-06/0.2454, allocations: 0 / 444.9 MB, free: 29.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002417/0.2479, allocations: 2.25 MB / 447.2 MB, free: 28.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.248, allocations: 0.5054 MB / 447.7 MB, free: 28.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.2483, allocations: 374 kB / 448 MB, free: 28.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.2484, allocations: 66.94 kB / 448.1 MB, free: 28.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2485, allocations: 236.8 kB / 448.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2486, allocations: 182.2 kB / 448.5 MB, free: 27.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.2486, allocations: 21.69 kB / 448.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.2487, allocations: 368.3 kB / 448.9 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.2491, allocations: 307.9 kB / 449.2 MB, free: 27.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.2495, allocations: 0.634 MB / 449.8 MB, free: 26.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.25, allocations: 0.6748 MB / 450.5 MB, free: 26.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2501, allocations: 3.406 kB / 450.5 MB, free: 26.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001408/0.2515, allocations: 1.453 MB / 452 MB, free: 25.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-05/0.2516, allocations: 316.4 kB / 452.3 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.2516, allocations: 15.09 kB / 452.3 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2516, allocations: 15.81 kB / 452.3 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.2519, allocations: 111.2 kB / 452.4 MB, free: 25.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.2519, allocations: 23.27 kB / 452.4 MB, free: 25.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.2522, allocations: 107.2 kB / 452.5 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.2523, allocations: 47.91 kB / 452.6 MB, free: 25.06 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.0005022/0.2528, allocations: 0.7098 MB / 453.3 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.2529, allocations: 69.41 kB / 453.4 MB, free: 24.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.2547, allocations: 1.695 MB / 455.1 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.2547, allocations: 5.719 kB / 455.1 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2547, allocations: 128 / 455.1 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2547, allocations: 7.375 kB / 455.1 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.2573, allocations: 2.631 MB / 457.7 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2573, allocations: 0 / 457.7 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.2574, allocations: 28.3 kB / 457.7 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2574, allocations: 2.938 kB / 457.7 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-05/0.2575, allocations: 35.61 kB / 457.8 MB, free: 22.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2575, allocations: 3.125 kB / 457.8 MB, free: 22.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2575, allocations: 7.891 kB / 457.8 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.2596, allocations: 2.102 MB / 459.9 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.2597, allocations: 131 kB / 460 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.2598, allocations: 69.61 kB / 460.1 MB, free: 21.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.2601, allocations: 50.38 kB / 460.1 MB, free: 21.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.2603, allocations: 87.83 kB / 460.2 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.2604, allocations: 44.59 kB / 460.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.2606, allocations: 224.9 kB / 460.5 MB, free: 21.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2606, allocations: 0 / 460.5 MB, free: 21.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007824/0.2613, allocations: 305.4 kB / 460.8 MB, free: 21.02 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.0005653/0.2619, allocations: 366.4 kB / 461.1 MB, free: 20.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.2635, allocations: 1.747 MB / 462.9 MB, free: 19.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2635, allocations: 1.438 kB / 462.9 MB, free: 19.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.2651, allocations: 2.815 MB / 465.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.2656, allocations: 100.4 kB / 465.8 MB, free: 17.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.2677, allocations: 1.64 MB / 467.4 MB, free: 16.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.268, allocations: 0.8942 MB / 468.3 MB, free: 16.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.2682, allocations: 128.1 kB / 468.5 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.2683, allocations: 44.41 kB / 468.5 MB, free: 16.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2683, allocations: 0 / 468.5 MB, free: 16.11 MB / 350.1 MB Notification: Performance of Templates: time 0.01427/0.2826, allocations: 10.22 MB / 478.7 MB, free: 13.84 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