Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTcircle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.TTcircle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTcircle") translateModel(PNlib.Examples.DisTest.TTcircle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTcircle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 221.8 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009542/0.0009541, allocations: 102 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07319/0.07319, allocations: 16.87 MB / 333.4 MB, free: 8.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009889/0.000989, allocations: 55.92 kB / 394.9 MB, free: 61.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07648/0.07748, allocations: 50.68 MB / 445.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTcircle): time 0.003064/0.08061, allocations: 3.012 MB / 448.6 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003841/0.08446, allocations: 3.285 MB / 451.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.08472, allocations: 7.938 kB / 451.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.08509, allocations: 174.8 kB / 452 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.08556, allocations: 194.7 kB / 452.2 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.08711, allocations: 1.151 MB / 453.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.08835, allocations: 2.375 MB / 455.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.08877, allocations: 0.5101 MB / 456.3 MB, free: 376 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008176/0.08959, allocations: 0.9344 MB / 457.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009686/0.09058, allocations: 0.9023 MB / 458.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003061/0.09089, allocations: 128 kB / 458.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.09211, allocations: 0.7763 MB / 459 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.09251, allocations: 390.6 kB / 459.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.09363, allocations: 0.9917 MB / 460.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.09647, allocations: 2.806 MB / 463.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.09649, allocations: 0 / 463.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0965, allocations: 0 / 463.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.09653, allocations: 3.938 kB / 463.2 MB, free: 9.426 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00347/0.1, allocations: 2.689 MB / 465.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1001, allocations: 12.02 kB / 465.9 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006767/0.1007, allocations: 258.2 kB / 466.1 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.1022, allocations: 0.9031 MB / 467 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.1024, allocations: 269.8 kB / 467.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.1027, allocations: 231.9 kB / 467.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00588/0.1086, allocations: 4.008 MB / 471.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.1087, allocations: 7.938 kB / 471.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.1089, allocations: 112 kB / 471.7 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002564/0.1092, allocations: 190.3 kB / 471.8 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004318/0.1135, allocations: 2.813 MB / 474.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.1239, allocations: 8.285 MB / 482.9 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004849/0.1288, allocations: 4.833 MB / 487.8 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1799/0.3087, allocations: 4.666 MB / 492.4 MB, free: 44.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.3089, allocations: 92.58 kB / 492.5 MB, free: 44.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003744/0.3126, allocations: 2.582 MB / 495.1 MB, free: 43.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=178): time 3.086e-06/0.3126, allocations: 2.031 kB / 495.1 MB, free: 43.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=178): time 0.01061/0.3233, allocations: 7.937 MB / 0.4913 GB, free: 40.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005192/0.3238, allocations: 1.268 MB / 0.4925 GB, free: 39.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3249, allocations: 0.8883 MB / 0.4934 GB, free: 39.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.3251, allocations: 126.2 kB / 0.4935 GB, free: 38.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.3254, allocations: 0.5907 MB / 0.4941 GB, free: 38.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.3257, allocations: 458.8 kB / 0.4945 GB, free: 38.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006562/0.3264, allocations: 0.5623 MB / 0.4951 GB, free: 38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.3265, allocations: 347.5 kB / 0.4954 GB, free: 37.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.3279, allocations: 1.089 MB / 0.4965 GB, free: 37.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.3298, allocations: 1.992 MB / 0.4984 GB, free: 35.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004882/0.3347, allocations: 6.324 MB / 0.5046 GB, free: 29.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.632e-05/0.3348, allocations: 11.98 kB / 0.5046 GB, free: 29.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.004496/0.3393, allocations: 4.365 MB / 0.5088 GB, free: 25.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.3395, allocations: 0.6737 MB / 0.5095 GB, free: 24.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.3395, allocations: 28.84 kB / 0.5095 GB, free: 24.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-05/0.3396, allocations: 43.98 kB / 0.5096 GB, free: 24.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/0.3403, allocations: 311.2 kB / 0.5099 GB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.593e-05/0.3403, allocations: 51.86 kB / 0.5099 GB, free: 23.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.3414, allocations: 325.2 kB / 0.5102 GB, free: 23.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.3416, allocations: 136.9 kB / 0.5104 GB, free: 23.43 MB / 330.7 MB Warning: Assuming fixed start value for the following 50 variables: P2.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer 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 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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" 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 T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real 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: 119 * Number of states: 0 () * Number of discrete variables: 292 ($PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$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.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,$whenCondition14,$PRE.P2.reStart,$whenCondition9,P2.outTransition[1].tokenInOut,$PRE.P2.tokeninout,P1.outTransition[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition7,$whenCondition8,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition12,$whenCondition13,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T2.inPlaces[1].disTransition,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,T2.firingCon,P2.inTransition[1].disPlace,T1.outPlaces[1].disTransition,P2.reStart,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,T1.firingCon,P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P2.enableOut.arcWeightSum,$PRE.P2.enableOut.TEout[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],T1.activation.arcWeightIntOut[1],P2.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],P2.enableOut.disTransition[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.minTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.tIntOut[1],T2.activation.tIntIn[1],T2.firingTime,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.enableIn.arcWeight[1],P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.firingSumOut.firingSum,P2.firingSumOut.arcWeight[1],P2.firingSumOut.fire[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.delayPassedOut.vec[1],P2.activeConOut.anychange,P2.activeConOut.vec[1],P2.enabledByInPlaces[1],P2.activeOut[1],$PRE.P2.activeOut[1],P2.t,$PRE.P2.t,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.enabledByInPlaces[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition10,$whenCondition11,P2.outTransition[1].fed,P2.inTransition[1].emptied,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 298 * Array equations: 2 * Algorithm blocks: 20 * 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.001734/0.3433, allocations: 1.676 MB / 0.512 GB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.3436, allocations: 186.6 kB / 0.5122 GB, free: 21.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007173/0.3508, allocations: 6.694 MB / 0.5187 GB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.3509, allocations: 12 kB / 0.5187 GB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3509, allocations: 0 / 0.5187 GB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3509, allocations: 7.969 kB / 0.5187 GB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008602/0.3595, allocations: 8.561 MB / 0.5271 GB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.3595, allocations: 0 / 0.5271 GB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.3598, allocations: 75.89 kB / 0.5272 GB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3598, allocations: 4 kB / 0.5272 GB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/0.36, allocations: 105.2 kB / 0.5273 GB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.36, allocations: 4 kB / 0.5273 GB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3601, allocations: 0 / 0.5273 GB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.3717, allocations: 10.07 MB / 0.5371 GB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.372, allocations: 207.3 kB / 0.5373 GB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/0.3725, allocations: 179.9 kB / 0.5375 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.3736, allocations: 215.6 kB / 0.5377 GB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/0.3748, allocations: 0.7386 MB / 0.5384 GB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/0.375, allocations: 123.5 kB / 0.5385 GB, free: 10.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005746/0.3756, allocations: 0.4912 MB / 0.539 GB, free: 9.641 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.462e-06/0.3756, allocations: 0 / 0.539 GB, free: 9.641 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002086/0.3777, allocations: 0.7816 MB / 0.5398 GB, free: 8.875 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 158 ($whenCondition13,$whenCondition12,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,P1.t,P1.tokeninout,P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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,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,P1.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,P2.t,P2.tokeninout,P2.activeOut[1],P2.enabledByInPlaces[1],P2.activeConOut.vec[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableIn.arcWeight[1],P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,P2.outTransition[1].tokenInOut,T2.firingTime,T2.fireTime,T2.ani,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 109 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P2.tokeninout,P1.tokeninout,P2.t,P2.activeOut[1],P1.t,P1.activeOut[1],T2.activation.active,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,i,P2.activeConOut.vec[i],P2.enableOut.TEout_[1],P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableOut.benefitMax,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,$whenCondition3,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],T1.activation.active,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 68 * Array equations: 2 * Algorithm blocks: 16 * Record equations: 0 * When equations: 8 * 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.00108/0.3788, allocations: 0.6241 MB / 0.5404 GB, free: 8.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006492/0.3853, allocations: 5.308 MB / 0.5456 GB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3853, allocations: 7.938 kB / 0.5456 GB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007442/0.3928, allocations: 9.039 MB / 0.5544 GB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.3939, allocations: 251.7 kB / 0.5546 GB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007802/0.4018, allocations: 5.928 MB / 0.5604 GB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/0.4026, allocations: 1.428 MB / 0.5618 GB, free: 1.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009695/0.4036, allocations: 439.3 kB / 0.5622 GB, free: 1.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.4038, allocations: 95.41 kB / 0.5623 GB, free: 1.309 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4038, allocations: 0 / 0.5623 GB, free: 1.309 MB / 362.7 MB Notification: Performance of Templates: time 0.05092/0.4547, allocations: 33.61 MB / 0.5951 GB, free: 15.33 MB / 410.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TTcircle.makefile (rm -f PNlib_PNlib.Examples.DisTest.TTcircle.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTcircle.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTcircle.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTcircle.sim & ./PNlib_PNlib.Examples.DisTest.TTcircle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TTcircle.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTcircle_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTcircle.mat","../files/PNlib_PNlib.Examples.DisTest.TTcircle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches