Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 91.77 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.0008973/0.0008973, 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.181/1.181, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.166/0.166, allocations: 16.73 MB / 307.8 MB, free: 15.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.000282, allocations: 11.98 kB / 372.8 MB, free: 3.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2282, allocations: 54.46 MB / 427.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.001312/0.2295, allocations: 1.528 MB / 428.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2317, allocations: 1.89 MB / 430.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.2318, allocations: 6.719 kB / 430.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.2322, allocations: 88.72 kB / 430.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.2324, allocations: 88.78 kB / 430.9 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008617/0.2332, allocations: 0.64 MB / 431.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.2338, allocations: 1.064 MB / 432.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.234, allocations: 129 kB / 432.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.2343, allocations: 418.5 kB / 433.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.2345, allocations: 264.4 kB / 433.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.2346, allocations: 30.78 kB / 433.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.235, allocations: 449.2 kB / 433.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.2351, allocations: 107.3 kB / 433.9 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2352, allocations: 157.5 kB / 434.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.2357, allocations: 0.7398 MB / 434.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2357, allocations: 0 / 434.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2357, allocations: 7.875 kB / 434.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2357, allocations: 3.531 kB / 434.8 MB, free: 36.23 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.0008302/0.2365, allocations: 1.111 MB / 436 MB, free: 35.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.547e-05/0.2366, allocations: 10.19 kB / 436 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.2368, allocations: 86.44 kB / 436.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.2371, allocations: 401.4 kB / 436.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.2372, allocations: 79.66 kB / 436.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.2373, allocations: 65.88 kB / 436.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.2385, allocations: 1.161 MB / 437.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2386, allocations: 11.03 kB / 437.8 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.2386, allocations: 38.27 kB / 437.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.545e-05/0.2387, allocations: 53.47 kB / 437.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.2396, allocations: 0.7707 MB / 438.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.2418, allocations: 3.031 MB / 441.6 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.2428, allocations: 1.323 MB / 443 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008486/0.2437, allocations: 1.219 MB / 444.2 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.2437, allocations: 84.12 kB / 444.3 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008967/0.2446, allocations: 0.8501 MB / 445.1 MB, free: 29.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 1.744e-06/0.2446, allocations: 0 / 445.1 MB, free: 29.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.002479/0.2471, allocations: 2.302 MB / 447.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.2473, allocations: 0.6135 MB / 448 MB, free: 28.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.2476, allocations: 382.3 kB / 448.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.2476, allocations: 64.44 kB / 448.5 MB, free: 27.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2477, allocations: 252.6 kB / 448.7 MB, free: 27.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.2479, allocations: 197.1 kB / 448.9 MB, free: 27.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.2479, allocations: 18.31 kB / 448.9 MB, free: 27.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.248, allocations: 372.5 kB / 449.3 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.2484, allocations: 324.7 kB / 449.6 MB, free: 26.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.2489, allocations: 0.6833 MB / 450.3 MB, free: 26.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.2494, allocations: 0.7157 MB / 451 MB, free: 25.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.2494, allocations: 7.281 kB / 451 MB, free: 25.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00147/0.2509, allocations: 1.557 MB / 452.6 MB, free: 25.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/0.251, allocations: 340.8 kB / 452.9 MB, free: 24.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.251, allocations: 9.75 kB / 452.9 MB, free: 24.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.251, allocations: 18.28 kB / 452.9 MB, free: 24.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.2514, allocations: 122.5 kB / 453.1 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.2514, allocations: 23.02 kB / 453.1 MB, free: 24.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.2517, allocations: 118.3 kB / 453.2 MB, free: 24.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.2518, allocations: 54.45 kB / 453.2 MB, free: 24.59 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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.P1.reStart,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition7,$whenCondition6,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition3,$PRE.T2.eventIndex,T2.eventIndex,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,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$whenCondition5,$whenCondition4,$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,T2.active,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T2.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 (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0005072/0.2523, allocations: 0.7379 MB / 454 MB, free: 24.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.349e-05/0.2524, allocations: 68.44 kB / 454.1 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.2542, allocations: 1.751 MB / 455.8 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.2542, allocations: 6.25 kB / 455.8 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2543, allocations: 6.953 kB / 455.8 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2543, allocations: 7.422 kB / 455.8 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.2569, allocations: 2.697 MB / 458.5 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2569, allocations: 0 / 458.5 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.257, allocations: 30.81 kB / 458.6 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.257, allocations: 0 / 458.6 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.2571, allocations: 41.42 kB / 458.6 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2571, allocations: 7.469 kB / 458.6 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2571, allocations: 0 / 458.6 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.2594, allocations: 2.154 MB / 460.8 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.2594, allocations: 133.9 kB / 460.9 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.2596, allocations: 71.44 kB / 461 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.2599, allocations: 57.42 kB / 461 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.2601, allocations: 89.67 kB / 461.1 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/0.2602, allocations: 48.09 kB / 461.1 MB, free: 20.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.2604, allocations: 229 kB / 461.4 MB, free: 20.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2604, allocations: 0 / 461.4 MB, free: 20.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008701/0.2613, allocations: 317 kB / 461.7 MB, free: 20.44 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: 68 ($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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.0005869/0.2619, allocations: 379.9 kB / 462 MB, free: 20.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.2636, allocations: 1.845 MB / 463.9 MB, free: 19.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2636, allocations: 1.375 kB / 463.9 MB, free: 19.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.2652, allocations: 2.839 MB / 466.7 MB, free: 17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.2658, allocations: 115.8 kB / 466.8 MB, free: 16.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.2678, allocations: 1.626 MB / 468.5 MB, free: 16.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.2681, allocations: 0.9067 MB / 469.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002806/0.2684, allocations: 130.9 kB / 469.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.2685, allocations: 49.53 kB / 469.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2685, allocations: 4 kB / 469.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01548/0.284, allocations: 10.66 MB / 480.2 MB, free: 12.8 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TEnoInput.makefile (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & ./PNlib_PNlib.Examples.DisTest.TEnoInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","../files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches