Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008712/0.0008712, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.0009308/0.0009309, allocations: 176.7 kB / 15.96 MB, free: 196 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.161/1.161, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1666/0.1666, allocations: 16.72 MB / 307.8 MB, free: 15.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002739, allocations: 8 kB / 372.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2247, allocations: 54.47 MB / 427.3 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.001353/0.226, allocations: 1.521 MB / 428.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.2284, allocations: 1.888 MB / 430.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.2286, allocations: 3.062 kB / 430.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.2288, allocations: 78.03 kB / 430.8 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.2291, allocations: 90.38 kB / 430.9 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009153/0.23, allocations: 0.6475 MB / 431.5 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006356/0.2306, allocations: 1.053 MB / 432.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.2308, allocations: 126.7 kB / 432.7 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.231, allocations: 414.5 kB / 433.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.2313, allocations: 268.7 kB / 433.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.2314, allocations: 27.06 kB / 433.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.2317, allocations: 420 kB / 433.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.2318, allocations: 101.8 kB / 433.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.232, allocations: 149.8 kB / 434 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.2324, allocations: 0.7229 MB / 434.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2324, allocations: 0 / 434.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2324, allocations: 2.875 kB / 434.8 MB, free: 36.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.2325, allocations: 0 / 434.8 MB, free: 36.46 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0008441/0.2333, allocations: 1.073 MB / 435.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.479e-05/0.2333, allocations: 11.66 kB / 435.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.2336, allocations: 81.69 kB / 435.9 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.2339, allocations: 402.6 kB / 436.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.234, allocations: 74.92 kB / 436.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.2341, allocations: 68.09 kB / 436.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.2352, allocations: 1.11 MB / 437.6 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2353, allocations: 7.875 kB / 437.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.2353, allocations: 37.17 kB / 437.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/0.2354, allocations: 49.22 kB / 437.7 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.2363, allocations: 0.7282 MB / 438.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.2384, allocations: 2.989 MB / 441.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.2394, allocations: 1.279 MB / 442.6 MB, free: 31.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007891/0.2402, allocations: 1.175 MB / 443.8 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.2402, allocations: 82.48 kB / 443.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008339/0.241, allocations: 0.7818 MB / 444.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.523e-06/0.2411, allocations: 0 / 444.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.002379/0.2434, allocations: 2.148 MB / 446.8 MB, free: 29.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/0.2436, allocations: 0.5339 MB / 447.4 MB, free: 28.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.2439, allocations: 375.9 kB / 447.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.244, allocations: 61.03 kB / 447.8 MB, free: 28.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2441, allocations: 245.7 kB / 448 MB, free: 28.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.2442, allocations: 181.8 kB / 448.2 MB, free: 27.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.2443, allocations: 18.56 kB / 448.2 MB, free: 27.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.2444, allocations: 364 kB / 448.6 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.2447, allocations: 298.1 kB / 448.9 MB, free: 27.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.2453, allocations: 0.6241 MB / 449.5 MB, free: 27.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.2458, allocations: 0.6647 MB / 450.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2458, allocations: 2.969 kB / 450.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001413/0.2472, allocations: 1.436 MB / 451.6 MB, free: 25.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.2474, allocations: 309.6 kB / 451.9 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2474, allocations: 11.88 kB / 451.9 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2474, allocations: 14.56 kB / 451.9 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.2477, allocations: 112.8 kB / 452 MB, free: 25.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.2477, allocations: 27.33 kB / 452.1 MB, free: 25.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.248, allocations: 105.3 kB / 452.2 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.2481, allocations: 47.81 kB / 452.2 MB, free: 25.34 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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.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,$PRE.T1.firingTime,T1.firingTime,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[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 (118): * Single equations (assignments): 108 * 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.0005261/0.2486, allocations: 0.6871 MB / 452.9 MB, free: 24.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.2487, allocations: 76.72 kB / 453 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.2505, allocations: 1.627 MB / 454.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2506, allocations: 5.844 kB / 454.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2506, allocations: 0 / 454.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2506, allocations: 3.953 kB / 454.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.2527, allocations: 2.348 MB / 457 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2528, allocations: 0 / 457 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-05/0.2529, allocations: 24.38 kB / 457 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2529, allocations: 2.969 kB / 457 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/0.2529, allocations: 36.5 kB / 457 MB, free: 22.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.2529, allocations: 7.141 kB / 457 MB, free: 22.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.253, allocations: 0 / 457 MB, free: 22.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.2549, allocations: 2.029 MB / 459.1 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.255, allocations: 122 kB / 459.2 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.2551, allocations: 70.34 kB / 459.3 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.2554, allocations: 49.89 kB / 459.3 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.2556, allocations: 90.14 kB / 459.4 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.2557, allocations: 48.17 kB / 459.4 MB, free: 21.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.2558, allocations: 229.2 kB / 459.7 MB, free: 21.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2558, allocations: 0 / 459.7 MB, free: 21.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000766/0.2566, allocations: 299.1 kB / 460 MB, free: 21.52 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: 64 ($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,$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.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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.0005453/0.2572, allocations: 364.3 kB / 460.3 MB, free: 21.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.2588, allocations: 1.708 MB / 462 MB, free: 20.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2588, allocations: 4.406 kB / 462 MB, free: 20.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.2603, allocations: 2.725 MB / 464.7 MB, free: 18.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.2608, allocations: 101.6 kB / 464.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.2626, allocations: 1.447 MB / 466.3 MB, free: 17.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2629, allocations: 0.898 MB / 467.2 MB, free: 16.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.2631, allocations: 128.6 kB / 467.3 MB, free: 16.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.2632, allocations: 44.34 kB / 467.4 MB, free: 16.74 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2632, allocations: 0 / 467.4 MB, free: 16.74 MB / 350.1 MB Notification: Performance of Templates: time 0.01382/0.277, allocations: 10.09 MB / 477.4 MB, free: 14.45 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TTtoPD.makefile (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","../files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches