Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt.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.ExtTest.TDSTestinterrupt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt") translateModel(PNlib.Examples.ExtTest.TDSTestinterrupt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 113.5 kB / 16.37 MB, free: 5.996 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.001147/0.001147, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07237/0.07237, allocations: 16.73 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.92 kB / 373 MB, free: 48.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 53.46 MB / 426.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDSTestinterrupt): time 0.003915/0.1316, allocations: 3.309 MB / 429.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006425/0.138, allocations: 4.67 MB / 434.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008777/0.139, allocations: 19.88 kB / 434.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.1397, allocations: 281.8 kB / 434.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.1403, allocations: 285.7 kB / 435.1 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.1439, allocations: 1.747 MB / 436.8 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003005/0.1469, allocations: 3.339 MB / 440.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006514/0.1476, allocations: 0.5255 MB / 440.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.1491, allocations: 1.293 MB / 442 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.1503, allocations: 0.9488 MB / 442.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003449/0.1506, allocations: 248 kB / 443.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.1521, allocations: 0.9638 MB / 444.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004218/0.1526, allocations: 434.5 kB / 444.5 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.1536, allocations: 1.085 MB / 445.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.1567, allocations: 3.003 MB / 448.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1567, allocations: 0 / 448.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1567, allocations: 0 / 448.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.1568, allocations: 0 / 448.6 MB, free: 5.508 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 503 * Number of variables: 503 Notification: Performance of Generate backend data structure: time 0.003892/0.1607, allocations: 2.943 MB / 451.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1607, allocations: 12.03 kB / 451.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008/0.1615, allocations: 265.7 kB / 451.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.1629, allocations: 0.8895 MB / 452.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.1632, allocations: 273.9 kB / 453 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.1635, allocations: 231.9 kB / 453.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005561/0.1691, allocations: 4.019 MB / 457.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/0.1692, allocations: 15.81 kB / 457.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.1694, allocations: 104 kB / 457.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00029/0.1697, allocations: 202.5 kB / 457.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.174, allocations: 2.813 MB / 460.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.1844, allocations: 8.934 MB / 469.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.189, allocations: 4.406 MB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003822/0.1928, allocations: 4.165 MB / 477.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.193, allocations: 90.11 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003285/0.1963, allocations: 2.62 MB / 480.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=209): time 3.075e-06/0.1963, allocations: 0 / 480.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=209): time 0.00956/0.2058, allocations: 7.108 MB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008543/0.2067, allocations: 1.529 MB / 489.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.208, allocations: 0.9798 MB / 490.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002084/0.2082, allocations: 137.6 kB / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000525/0.2088, allocations: 0.6364 MB / 491 MB, free: 9.793 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.2093, allocations: 0.5173 MB / 491.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007849/0.21, allocations: 0.6242 MB / 492.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2102, allocations: 353.9 kB / 492.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.2119, allocations: 1.188 MB / 493.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.2144, allocations: 2.182 MB / 495.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007701/0.2221, allocations: 6.831 MB / 0.4909 GB, free: 12.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.123e-05/0.2222, allocations: 11.94 kB / 0.4909 GB, free: 12.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=404) (initialization): time 0.006785/0.229, allocations: 4.756 MB / 0.4955 GB, free: 7.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004915/0.2295, allocations: 0.8479 MB / 0.4964 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/0.2295, allocations: 28 kB / 0.4964 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.075e-05/0.2296, allocations: 44 kB / 0.4964 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.2305, allocations: 335.2 kB / 0.4968 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.238e-05/0.2306, allocations: 59.8 kB / 0.4968 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.232, allocations: 356.9 kB / 0.4972 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.2322, allocations: 156 kB / 0.4973 GB, free: 5.863 MB / 382.1 MB Warning: Assuming fixed start value for the following 53 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 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 T3.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T3.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.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 P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 T3.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.fire:DISCRETE(fixed = true ) "Does the transition fire?" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 334 ($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.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[2],$PRE.P1.enableOut.cumEnablingProb[2],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[2],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition19,$PRE.P2.reStart,$whenCondition16,$PRE.T3.ani,$PRE.T3.fireTime,T3.ani,T3.fireTime,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition14,$whenCondition15,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition17,$whenCondition18,T3.eventIndex,$PRE.T3.eventIndex,$whenCondition8,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition7,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.tokenChange.vec[1],$PRE.P1.tokeninout,P1.outTransition[2].tokenInOut,P2.firingSumOut.firingSum,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,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],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition1,T3.firingCon,T3.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T2.firingCon,T2.inPlaces[1].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,T1.firingCon,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P2.reStart,P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$PRE.T3.firingTime,$PRE.T2.firingTime,$PRE.T1.r128,$PRE.T1.state128[4],$PRE.T1.state128[3],$PRE.T1.state128[2],$PRE.T1.state128[1],$PRE.T1.fire,$PRE.T1.putDelay,$PRE.T1.putFireTime,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[1],T3.enabledByInPlaces,P1.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[2],P1.enableIn.arcWeight[1],T3.activation.disPlaceOut[1],P1.enableOut.disTransition[2],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],T3.activation.active,T3.activation.maxTokensInt[1],T3.activation.arcWeightIntOut[1],T3.activation.tIntOut[1],T3.eventPassed,$PRE.T3.eventPassed,T3.firingTime,T3.active,T2.activation.active,T2.activation.minTokensInt[1],T2.activation.arcWeightIntIn[1],T2.activation.tIntIn[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.r128,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.outPlaces[1].enabledByInPlaces,T1.fire,T1.active,T1.putDelay,T1.putFireTime,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.t,$PRE.P2.t,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[2],P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[2],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[2],P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[2],P1.activeConOut.vec[1],P1.activeOut[2],$PRE.P1.activeOut[2],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,T2.enabledByOutPlaces,P2.inTransition[1].emptied,P1.outTransition[2].fed,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 (362): * Single equations (assignments): 333 * Array equations: 3 * Algorithm blocks: 26 * 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.002286/0.2345, allocations: 1.838 MB / 0.4991 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/0.2349, allocations: 198.3 kB / 0.4993 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2278/0.4626, allocations: 5.633 MB / 0.5048 GB, free: 80.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.611e-05/0.4627, allocations: 20.83 kB / 0.5048 GB, free: 80.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.4627, allocations: 0.5156 kB / 0.5048 GB, free: 80.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.4627, allocations: 7.562 kB / 0.5048 GB, free: 80.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.4739, allocations: 8.249 MB / 0.5129 GB, free: 78.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4739, allocations: 0 / 0.5129 GB, free: 78.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.4742, allocations: 79.55 kB / 0.5129 GB, free: 78.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-06/0.4742, allocations: 5.344 kB / 0.5129 GB, free: 78.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/0.4745, allocations: 104.3 kB / 0.513 GB, free: 78.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.4745, allocations: 4.562 kB / 0.5131 GB, free: 78.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4745, allocations: 1.469 kB / 0.5131 GB, free: 78.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008222/0.4827, allocations: 6.174 MB / 0.5191 GB, free: 76.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.483, allocations: 218.4 kB / 0.5193 GB, free: 75.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004494/0.4834, allocations: 190.2 kB / 0.5195 GB, free: 75.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.4844, allocations: 190.3 kB / 0.5197 GB, free: 75.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009193/0.4854, allocations: 0.7446 MB / 0.5204 GB, free: 75.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/0.4856, allocations: 119.9 kB / 0.5205 GB, free: 75.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005195/0.4861, allocations: 0.5448 MB / 0.521 GB, free: 75.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4861, allocations: 2.438 kB / 0.521 GB, free: 75.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001908/0.4881, allocations: 0.8145 MB / 0.5218 GB, free: 74.48 MB / 382.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: 183 ($whenCondition1,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],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,T2.active,T3.active,$whenCondition18,$whenCondition17,$whenCondition19,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,P1.t,P1.outTransition[2].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeOut[2],P1.activeConOut.vec[1],P1.activeConOut.vec[2],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],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.fire[2],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,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,T1.putFireTime,T1.putDelay,T1.active,T1.fire,T1.outPlaces[1].enabledByInPlaces,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T3.firingTime,T3.fireTime,T3.eventPassed,T3.ani,T3.eventIndex,T3.activation.tIntOut[1],T3.activation.arcWeightIntOut[1],T3.activation.maxTokensInt[1],T3.activation.active) * Number of discrete states: 127 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,P2.t,P1.t,P1.activeOut[1],P1.activeOut[2],T3.eventIndex,$whenCondition8,T3.activation.active,T3.eventPassed,T2.eventIndex,$whenCondition7,T2.activation.active,T2.eventPassed,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.delayPassed,T1.putFireTime,$whenCondition6,T1.putDelay,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition5,T1.fire,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,$whenCondition3,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[2],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],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition1,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 76 * Array equations: 3 * Algorithm blocks: 21 * Record equations: 0 * When equations: 10 * 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.0009991/0.4891, allocations: 0.6598 MB / 0.5225 GB, free: 73.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005125/0.4942, allocations: 5.739 MB / 0.5281 GB, free: 67.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4942, allocations: 0 / 0.5281 GB, free: 67.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004714/0.4989, allocations: 8.541 MB / 0.5364 GB, free: 59.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5, allocations: 288.9 kB / 0.5367 GB, free: 58.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.5064, allocations: 4.901 MB / 0.5415 GB, free: 53.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007803/0.5072, allocations: 1.435 MB / 0.5429 GB, free: 52.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009388/0.5082, allocations: 453.1 kB / 0.5433 GB, free: 52.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.5084, allocations: 115.4 kB / 0.5434 GB, free: 51.94 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5084, allocations: 0 / 0.5434 GB, free: 51.94 MB / 382.1 MB Notification: Performance of Templates: time 0.0469/0.5553, allocations: 33.11 MB / 0.5758 GB, free: 18.81 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt.sim & ./PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TDSTestinterrupt.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TDSTestinterrupt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches