Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008271/0.0008271, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8991/0.8991, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04534/0.04534, allocations: 12.64 MB / 272.6 MB, free: 0.7109 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2") translateModel(PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 403.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.067e-05, allocations: 2.281 kB / 403.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2): time 0.003078/0.003098, allocations: 3.39 MB / 406.9 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003685/0.006783, allocations: 3.275 MB / 410.2 MB, free: 3.484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.007091, allocations: 23.88 kB / 410.2 MB, free: 3.461 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.007555, allocations: 333.1 kB / 410.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009213/0.008476, allocations: 417.1 kB / 410.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.01015, allocations: 1.793 MB / 412.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.01246, allocations: 4.025 MB / 416.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.01279, allocations: 291.8 kB / 417 MB, free: 12.57 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.01444, allocations: 2.312 MB / 419.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007649/0.01521, allocations: 0.9773 MB / 420.3 MB, free: 9.277 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.01544, allocations: 292 kB / 420.6 MB, free: 8.992 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008357/0.01628, allocations: 1.077 MB / 421.7 MB, free: 7.914 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.01659, allocations: 0.5406 MB / 422.2 MB, free: 7.371 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.01717, allocations: 0.885 MB / 423.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.01971, allocations: 3.795 MB / 426.9 MB, free: 2.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01971, allocations: 3.938 kB / 426.9 MB, free: 2.676 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.01971, allocations: 0 / 426.9 MB, free: 2.676 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.01973, allocations: 0 / 426.9 MB, free: 2.676 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 630 * Number of variables: 630 Notification: Performance of Generate backend data structure: time 0.002487/0.02222, allocations: 3.288 MB / 430.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.02226, allocations: 8.031 kB / 430.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005493/0.0228, allocations: 322.5 kB / 430.5 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009994/0.0238, allocations: 0.9421 MB / 431.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.02413, allocations: 0.6744 MB / 432.1 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/0.02465, allocations: 275.9 kB / 432.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004972/0.02963, allocations: 6.006 MB / 438.4 MB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.02966, allocations: 7.938 kB / 438.4 MB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.02984, allocations: 135.9 kB / 438.5 MB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.03002, allocations: 198.9 kB / 438.7 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/0.03388, allocations: 4.087 MB / 442.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1723/0.2062, allocations: 9.989 MB / 452.8 MB, free: 71.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.2086, allocations: 3.177 MB / 456 MB, free: 69.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.2105, allocations: 2.848 MB / 458.8 MB, free: 68.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.2106, allocations: 20.06 kB / 458.9 MB, free: 68.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/0.2131, allocations: 3.894 MB / 462.7 MB, free: 65.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=241): time 3.186e-06/0.2131, allocations: 6.844 kB / 462.8 MB, free: 65.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=241): time 0.007037/0.2201, allocations: 9.688 MB / 472.4 MB, free: 61.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000401/0.2205, allocations: 1.646 MB / 474.1 MB, free: 59.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007774/0.2213, allocations: 0.9607 MB / 475.1 MB, free: 58.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.2214, allocations: 155.3 kB / 475.2 MB, free: 58.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.2218, allocations: 0.7901 MB / 476 MB, free: 58.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.2221, allocations: 0.6146 MB / 476.6 MB, free: 57.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005488/0.2226, allocations: 0.7286 MB / 477.3 MB, free: 57.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.2227, allocations: 338.7 kB / 477.7 MB, free: 57.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.224, allocations: 2.206 MB / 479.9 MB, free: 55.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.2258, allocations: 3.834 MB / 483.7 MB, free: 52.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00495/0.2307, allocations: 7.49 MB / 491.2 MB, free: 46.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.2308, allocations: 11.22 kB / 491.2 MB, free: 46.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=464) (initialization): time 0.005092/0.2359, allocations: 6.286 MB / 497.5 MB, free: 43.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002653/0.2361, allocations: 0.9153 MB / 498.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/0.2362, allocations: 39.66 kB / 498.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-05/0.2362, allocations: 54.56 kB / 498.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.2369, allocations: 419.6 kB / 498.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.868e-05/0.237, allocations: 75.77 kB / 499 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/0.2379, allocations: 391.7 kB / 499.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.2381, allocations: 178.6 kB / 499.5 MB, free: 42.12 MB / 410.7 MB Warning: Assuming fixed start value for the following 72 variables: P3.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P3.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P3.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer 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.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 T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P3.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P3.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer 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 P3.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P3.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P3.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P3.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" 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 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 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: 162 * Number of states: 0 () * Number of discrete variables: 388 ($PRE.P3.enableIn.valid,P3.enableIn.valid,$PRE.P3.enableIn.benefitLimit,P3.enableIn.benefitLimit,$PRE.P3.enableIn.benefitMax,P3.enableIn.benefitMax,$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,P3.enableIn.randNum,$PRE.P3.enableIn.randNum,P3.enableIn.state128[4],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],$PRE.P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$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.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.P3.reStart,$whenCondition13,T2.inPlaces[1].tokenInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P3.firingSumOut.firingSum,$PRE.P3.firingSumIn.firingSum,P3.tokeninout,$whenCondition11,$whenCondition12,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition14,$whenCondition15,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition17,$whenCondition18,P3.firingSumOut.firingSum,P2.firingSumOut.firingSum,P1.firingSumIn.firingSum,$PRE.P3.enableOut.benefitLimit,P3.enableOut.benefitLimit,$PRE.P3.enableOut.valid,P3.enableOut.valid,$PRE.P3.enableOut.benefitMax,P3.enableOut.benefitMax,$PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,P3.enableOut.randNum,$PRE.P3.enableOut.randNum,P3.enableOut.state128[4],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[1],$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,P3.enableOut.arcWeightSum,$PRE.P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,$whenCondition3,$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,$whenCondition2,$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,T2.firingCon,T2.outPlaces[1].disTransition,P3.inTransition[1].disPlace,T2.inPlaces[1].disTransition,P1.outTransition[1].disPlace,T1.firingCon,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[2].disPlace,P3.reStart,P2.reStart,P1.reStart,P3.enableIn.disTransition[1],P2.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.T1.firingTime,$PRE.P3.enableIn.arcWeightSum,$PRE.P3.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[1],TA1.outTransition.arcType,IA1.outTransition.arcType,T1.activation.testValueInt[1],T2.activation.testValueInt[1],T1.activation.arcWeightIntIn[1],P2.enableIn.arcWeight[1],T2.activation.arcWeightIntIn[1],P3.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T2.activation.disPlaceIn[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[2],T1.activation.disPlaceIn[1],P1.enableOut.arcWeight[1],P1.enableOut.arcWeight[2],T2.activation.active,T2.activation.normalArc[1],T2.activation.maxTokensInt[1],T2.activation.minTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.arcType[1],T2.activation.tIntOut[1],T2.activation.tIntIn[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.outPlaces[1].enabledByInPlaces,T2.active,T1.activation.active,T1.activation.normalArc[1],T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcType[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.enableIn.TAein[1],P3.firingSumIn.firingSum,P3.firingSumIn.arcWeight[1],P3.firingSumIn.fire[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedIn.vec[1],P3.t,$PRE.P3.t,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.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.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,IA1.testColor[3],IA1.testColor[2],IA1.testColor[1],$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,P1.outTransition[1].fed,P3.inTransition[1].emptied,P2.inTransition[1].emptied,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].fed,P1.outTransition[2].arcType,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (419): * Single equations (assignments): 389 * Array equations: 1 * Algorithm blocks: 29 * 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.002053/0.2402, allocations: 2.058 MB / 0.4898 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.2405, allocations: 210.2 kB / 0.49 GB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/0.2461, allocations: 6.378 MB / 0.4963 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.2461, allocations: 17.25 kB / 0.4963 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2461, allocations: 1.656 kB / 0.4963 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.2461, allocations: 12 kB / 0.4963 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007206/0.2533, allocations: 8.455 MB / 0.5046 GB, free: 32.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2533, allocations: 0 / 0.5046 GB, free: 32.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.2535, allocations: 109.7 kB / 0.5047 GB, free: 32.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2535, allocations: 4 kB / 0.5047 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.2537, allocations: 123.9 kB / 0.5048 GB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.2537, allocations: 8.75 kB / 0.5048 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2537, allocations: 7.938 kB / 0.5048 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/0.2596, allocations: 7.704 MB / 0.5123 GB, free: 25.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.2597, allocations: 144.9 kB / 0.5125 GB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/0.26, allocations: 220.4 kB / 0.5127 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.2606, allocations: 215.9 kB / 0.5129 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008188/0.2614, allocations: 0.7465 MB / 0.5136 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.2616, allocations: 136.3 kB / 0.5137 GB, free: 23.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003767/0.262, allocations: 462.6 kB / 0.5142 GB, free: 23.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.262, allocations: 4 kB / 0.5142 GB, free: 23.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002001/0.264, allocations: 0.9231 MB / 0.5151 GB, free: 22.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 216 ($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,$whenCondition2,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,$whenCondition3,P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.enableOut.benefitMax,P3.enableOut.valid,P3.enableOut.benefitLimit,T1.active,T2.active,$whenCondition18,$whenCondition17,$whenCondition19,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition12,$whenCondition11,$whenCondition13,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,IA1.testColor[1],IA1.testColor[2],IA1.testColor[3],P1.t,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.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,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,P3.t,P3.tokeninout,P3.delayPassedIn.vec[1],P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.firingSumIn.fire[1],P3.firingSumIn.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumOut.firingSum,P3.enableIn.TAein[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.enableIn.benefitMax,P3.enableIn.valid,P3.enableIn.benefitLimit,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.inPlaces[1].tokenInOut,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcType[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.normalArc[1],T1.activation.active,T2.inPlaces[1].tokenInOut,T2.outPlaces[1].enabledByInPlaces,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcType[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.normalArc[1],T2.activation.active) * Number of discrete states: 151 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P3.firingSumOut.firingSum,P3.firingSumIn.firingSum,P1.tokeninout,P3.t,P2.t,P1.t,P1.activeOut[1],P1.activeOut[2],T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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,$whenCondition4,P1.enableOut.arcWeightSum,P1.enableOut.TEout[2],P1.enableOut.TEout[1],P3.enableIn.TEin_[1],P3.enableIn.valid,P3.enableIn.benefitLimit,P3.enableIn.benefitMax,P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,$whenCondition6,P3.enableIn.arcWeightSum,P3.enableIn.TEin[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,$whenCondition5,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P3.enableOut.benefitLimit,P3.enableOut.valid,P3.enableOut.benefitMax,P3.enableOut.Index,P3.enableOut.endWhile,P3.enableOut.sumEnablingProbTAout,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.nTAout,P3.enableOut.nremTAout,$whenCondition3,P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,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,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,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 (122): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 23 * Record equations: 0 * When equations: 9 * 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.0008399/0.2648, allocations: 0.749 MB / 0.5158 GB, free: 21.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004923/0.2697, allocations: 7.84 MB / 0.5235 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2698, allocations: 128 / 0.5235 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.2724, allocations: 4.777 MB / 0.5281 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.273, allocations: 258.7 kB / 0.5284 GB, free: 8.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.2783, allocations: 6.428 MB / 0.5347 GB, free: 2.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.2788, allocations: 0.9324 MB / 0.5356 GB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.279, allocations: 128.5 kB / 0.5357 GB, free: 1.191 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.279, allocations: 3.938 kB / 0.5357 GB, free: 1.188 MB / 410.7 MB Notification: Performance of Templates: time 0.03074/0.3097, allocations: 33.77 MB / 0.5687 GB, free: 15.32 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2CalcHelperMain.o OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2CalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2CalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2Initialize.cpp:1226:62: error: invalid argument type 'StatArrayDim1' to unary expression 1226 | _P1_P_activeConOut_P_vec_.assign((_P1_P_activeOut__pre && (!_functions->_OMC_LIT1))); | ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2Initialize.cpp:1261:113: error: no matching function for call to object of type 'WrapArray' 1261 | _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:722:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 722 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:731:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 731 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2CalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2Initialize.cpp:1261:205: error: no matching function for call to object of type 'WrapArray' 1261 | _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:722:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 722 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:731:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 731 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2CalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2.cpp:188:81: error: invalid argument type 'StatArrayDim1' to unary expression 188 | _P1_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P1_P_activeOut_) && (!_functions->_OMC_LIT1))); | ^~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD2CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.8620761344209313] Failed to read output from testmodel.py, exit status != 0: 0.31531480979174376 0.323647568 0.302247617 Calling exit ...