Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.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.TAwithPDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD") translateModel(PNlib.Examples.ExtTest.TAwithPDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001605/0.001606, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07173/0.07173, allocations: 16.72 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.049e-05, allocations: 2.281 kB / 426.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithPDtoTD): time 0.003047/0.003076, allocations: 3.591 MB / 430.5 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.007245, allocations: 3.287 MB / 433.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.007611, allocations: 19.94 kB / 433.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.008074, allocations: 293.5 kB / 434.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005421/0.008624, allocations: 325.3 kB / 434.4 MB, free: 3.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.01061, allocations: 1.681 MB / 436.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003376/0.014, allocations: 4.556 MB / 440.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007096/0.01472, allocations: 0.6688 MB / 441.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.01612, allocations: 1.644 MB / 443 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000995/0.01713, allocations: 1.116 MB / 444.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002865/0.01742, allocations: 260 kB / 444.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.01854, allocations: 0.9404 MB / 445.3 MB, free: 8.238 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001959/0.02051, allocations: 3.076 MB / 448.4 MB, free: 5.129 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001022/0.02154, allocations: 1.794 MB / 450.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005544/0.0221, allocations: 419.5 kB / 450.6 MB, free: 2.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003475/0.02246, allocations: 238.5 kB / 450.8 MB, free: 2.664 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: 581 (429) * Number of variables: 581 (511) Notification: Performance of Bindings: time 0.009581/0.03205, allocations: 10.07 MB / 460.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0003438/0.0324, allocations: 357.7 kB / 461.2 MB, free: 7.961 MB / 334.1 MB Notification: Performance of Early Inline: time 0.009688/0.0421, allocations: 10.24 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simplify1: time 0.0003101/0.04243, allocations: 287.6 kB / 471.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of Alias: time 0.007899/0.05033, allocations: 7.573 MB / 479.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simplify2: time 0.0002645/0.05061, allocations: 247.6 kB / 479.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of Events: time 0.003125/0.05375, allocations: 3.019 MB / 482.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of Detect States: time 0.003867/0.05763, allocations: 3.759 MB / 486.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Partitioning: time 0.003915/0.06155, allocations: 3.375 MB / 489.7 MB, free: 10.44 MB / 366.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: P1.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P1.color = if settings.animatePlace then if $SEV_166 then {255.0, 255.0 - 2.55 * P1.tokenscale, 255.0 - 2.55 * P1.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_101)