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.0007989/0.000799, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004446/0.004446, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.153/1.153, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1433/0.1433, allocations: 16.73 MB / 308.2 MB, free: 15.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002487/0.0002487, allocations: 12 kB / 373.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1991, allocations: 54.47 MB / 427.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.001404/0.2006, allocations: 1.608 MB / 429.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.2032, allocations: 2.218 MB / 431.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2033, allocations: 6.906 kB / 431.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.2035, allocations: 80.09 kB / 431.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.2038, allocations: 90.84 kB / 431.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009275/0.2047, allocations: 0.7501 MB / 432.6 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.2054, allocations: 1.101 MB / 433.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.2055, allocations: 136.2 kB / 433.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2058, allocations: 411.5 kB / 434.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.206, allocations: 275.1 kB / 434.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.2061, allocations: 31.28 kB / 434.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.2064, allocations: 447.9 kB / 435 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.2065, allocations: 118.2 kB / 435.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.2067, allocations: 311.3 kB / 435.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.2073, allocations: 0.9479 MB / 436.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2073, allocations: 0 / 436.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2073, allocations: 0 / 436.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.2073, allocations: 0 / 436.4 MB, free: 36.05 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.0008391/0.2082, allocations: 1.081 MB / 437.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.599e-05/0.2082, allocations: 11.66 kB / 437.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.2084, allocations: 78.98 kB / 437.5 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.2088, allocations: 407.3 kB / 437.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.2088, allocations: 74.59 kB / 438 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.2089, allocations: 71.97 kB / 438.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.2101, allocations: 1.104 MB / 439.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2101, allocations: 2.844 kB / 439.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.2102, allocations: 32.42 kB / 439.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/0.2102, allocations: 46.36 kB / 439.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009006/0.2111, allocations: 0.7448 MB / 440 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.2132, allocations: 3.002 MB / 443 MB, free: 31.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009984/0.2142, allocations: 1.379 MB / 444.4 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008081/0.215, allocations: 1.25 MB / 445.6 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.2151, allocations: 91.59 kB / 445.7 MB, free: 29.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007849/0.2159, allocations: 0.7775 MB / 446.5 MB, free: 29.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.503e-06/0.2159, allocations: 0 / 446.5 MB, free: 29.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00227/0.2182, allocations: 2.213 MB / 448.7 MB, free: 28.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.2183, allocations: 0.5148 MB / 449.2 MB, free: 28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.2185, allocations: 361.2 kB / 449.6 MB, free: 27.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.2186, allocations: 68.19 kB / 449.7 MB, free: 27.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.2187, allocations: 240.6 kB / 449.9 MB, free: 27.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/0.2188, allocations: 190.2 kB / 450.1 MB, free: 27.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.2189, allocations: 124.4 kB / 450.2 MB, free: 27.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.219, allocations: 367.6 kB / 450.6 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.2193, allocations: 308.3 kB / 450.9 MB, free: 26.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.2198, allocations: 0.6326 MB / 451.5 MB, free: 26.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.2213, allocations: 2.044 MB / 453.5 MB, free: 24.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2213, allocations: 6.969 kB / 453.5 MB, free: 24.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001339/0.2226, allocations: 1.458 MB / 455 MB, free: 23.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.2227, allocations: 315.6 kB / 455.3 MB, free: 23.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2227, allocations: 13.72 kB / 455.3 MB, free: 23.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2228, allocations: 15.88 kB / 455.3 MB, free: 23.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.223, allocations: 116.2 kB / 455.5 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.2231, allocations: 20.38 kB / 455.5 MB, free: 23.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.2234, allocations: 107.5 kB / 455.6 MB, free: 23.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.2234, allocations: 45.88 kB / 455.6 MB, free: 23.53 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.0004586/0.2239, allocations: 0.7052 MB / 456.3 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.224, allocations: 71.28 kB / 456.4 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.2257, allocations: 1.669 MB / 458.1 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2257, allocations: 3.062 kB / 458.1 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2257, allocations: 6.938 kB / 458.1 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2257, allocations: 3.234 kB / 458.1 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.2282, allocations: 2.598 MB / 460.7 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2282, allocations: 4.969 kB / 460.7 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.2283, allocations: 27.81 kB / 460.7 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.2283, allocations: 6.062 kB / 460.7 MB, free: 20.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.2284, allocations: 45.84 kB / 460.8 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2284, allocations: 1.906 kB / 460.8 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2284, allocations: 0.9375 kB / 460.8 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.2306, allocations: 2.066 MB / 462.8 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.2306, allocations: 130 kB / 463 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.2308, allocations: 70.5 kB / 463 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.2311, allocations: 50.66 kB / 463.1 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.2312, allocations: 83.27 kB / 463.2 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.2313, allocations: 42.91 kB / 463.2 MB, free: 19.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.2315, allocations: 223.4 kB / 463.4 MB, free: 19.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2315, allocations: 4 kB / 463.4 MB, free: 19.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006895/0.2322, allocations: 305 kB / 463.7 MB, free: 19.51 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.0005497/0.2327, allocations: 383.4 kB / 464.1 MB, free: 19.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.2343, allocations: 1.729 MB / 465.8 MB, free: 18.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2343, allocations: 1.031 kB / 465.8 MB, free: 18.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.2359, allocations: 2.801 MB / 468.6 MB, free: 16.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2364, allocations: 99.05 kB / 468.7 MB, free: 16.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.2383, allocations: 1.674 MB / 470.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.2385, allocations: 0.8971 MB / 471.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.2388, allocations: 133.6 kB / 471.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.2389, allocations: 44.31 kB / 471.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2389, allocations: 0 / 471.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Templates: time 0.0138/0.2527, allocations: 10.42 MB / 481.9 MB, free: 12.14 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