Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.001191, allocations: 90.83 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.01049/0.01049, allocations: 171.7 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.392/1.392, 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 2.2.0-master/package.mo): time 0.2046/0.2046, allocations: 16.71 MB / 308.2 MB, free: 15.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 12 kB / 373.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3262, allocations: 54.47 MB / 427.9 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.00169/0.328, allocations: 1.6 MB / 429.5 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.3314, allocations: 2.216 MB / 431.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.3317, allocations: 7.281 kB / 431.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.3321, allocations: 90.17 kB / 431.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.3324, allocations: 83.77 kB / 431.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.3341, allocations: 0.7445 MB / 432.6 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.3352, allocations: 1.119 MB / 433.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.3355, allocations: 147 kB / 433.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.336, allocations: 425.5 kB / 434.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.3364, allocations: 314.4 kB / 434.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.599e-05/0.3365, allocations: 30.5 kB / 434.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.3371, allocations: 458.8 kB / 435.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3372, allocations: 122.7 kB / 435.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.3376, allocations: 357.5 kB / 435.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008334/0.3384, allocations: 1.057 MB / 436.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3384, allocations: 0 / 436.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3384, allocations: 0 / 436.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.3384, allocations: 0 / 436.6 MB, free: 35.97 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001211/0.3396, allocations: 1.132 MB / 437.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3397, allocations: 11.56 kB / 437.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.34, allocations: 94.41 kB / 437.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.3405, allocations: 436.4 kB / 438.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-05/0.3406, allocations: 82.03 kB / 438.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3407, allocations: 76.55 kB / 438.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.3424, allocations: 1.331 MB / 439.8 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3424, allocations: 0 / 439.8 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.3425, allocations: 42.84 kB / 439.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.346e-05/0.3426, allocations: 53.25 kB / 439.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.344, allocations: 0.9188 MB / 440.8 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.3472, allocations: 3.32 MB / 444.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3487, allocations: 1.588 MB / 445.7 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.3498, allocations: 1.451 MB / 447.1 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.514e-05/0.3499, allocations: 80.11 kB / 447.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.351, allocations: 0.925 MB / 448.1 MB, free: 28.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.254e-06/0.3511, allocations: 0 / 448.1 MB, free: 28.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003263/0.3543, allocations: 2.619 MB / 450.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/0.3546, allocations: 0.5384 MB / 451.3 MB, free: 27.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.355, allocations: 409.5 kB / 451.7 MB, free: 26.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.355, allocations: 66.12 kB / 451.8 MB, free: 26.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3552, allocations: 271 kB / 452 MB, free: 26.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.3554, allocations: 198.8 kB / 452.2 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3555, allocations: 138.1 kB / 452.3 MB, free: 26.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.3556, allocations: 373.1 kB / 452.7 MB, free: 26.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/0.3562, allocations: 443.6 kB / 453.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.3569, allocations: 0.8107 MB / 454 MB, free: 25.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.3594, allocations: 2.558 MB / 456.5 MB, free: 23.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.3594, allocations: 2.969 kB / 456.5 MB, free: 23.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00218/0.3616, allocations: 1.825 MB / 458.3 MB, free: 22.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.3618, allocations: 335.1 kB / 458.7 MB, free: 22.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.3618, allocations: 12.28 kB / 458.7 MB, free: 22.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.3618, allocations: 15.47 kB / 458.7 MB, free: 22.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.3622, allocations: 122.1 kB / 458.8 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.3622, allocations: 28.88 kB / 458.8 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.3627, allocations: 137.5 kB / 459 MB, free: 22.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.3628, allocations: 51.62 kB / 459 MB, free: 22.14 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableOut.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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * 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.0008626/0.3636, allocations: 0.7562 MB / 459.8 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3638, allocations: 70.47 kB / 459.9 MB, free: 21.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.3664, allocations: 2.026 MB / 461.9 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.3664, allocations: 8.969 kB / 461.9 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3665, allocations: 5.375 kB / 461.9 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3665, allocations: 4.312 kB / 461.9 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.3703, allocations: 3.045 MB / 464.9 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.3703, allocations: 1.219 kB / 464.9 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3704, allocations: 34.98 kB / 465 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.3705, allocations: 2.156 kB / 465 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.908e-05/0.3705, allocations: 40 kB / 465 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3706, allocations: 9.453 kB / 465 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3706, allocations: 0 / 465 MB, free: 19.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.3737, allocations: 2.384 MB / 467.4 MB, free: 18.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.3738, allocations: 133.4 kB / 467.5 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.374, allocations: 74.88 kB / 467.6 MB, free: 17.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.3745, allocations: 76.23 kB / 467.7 MB, free: 17.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/0.375, allocations: 329.4 kB / 468 MB, free: 17.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.3751, allocations: 49.98 kB / 468.1 MB, free: 17.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.3754, allocations: 242.8 kB / 468.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3754, allocations: 5.375 kB / 468.3 MB, free: 17.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001091/0.3765, allocations: 339.1 kB / 468.6 MB, free: 17.57 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: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * 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.000722/0.3772, allocations: 381.4 kB / 469 MB, free: 17.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.3797, allocations: 2.1 MB / 471.1 MB, free: 16.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3797, allocations: 0 / 471.1 MB, free: 16.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00221/0.3819, allocations: 3.153 MB / 474.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.3827, allocations: 110.9 kB / 474.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.3856, allocations: 1.793 MB / 476.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3861, allocations: 0.9164 MB / 477.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004432/0.3865, allocations: 147.4 kB / 477.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.3866, allocations: 47.98 kB / 477.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3866, allocations: 0 / 477.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Templates: time 0.02112/0.4078, allocations: 12.76 MB / 490 MB, free: 5.043 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches