Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SinglePD.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.DisTest.SinglePD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SinglePD") translateModel(PNlib.Examples.DisTest.SinglePD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SinglePD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 108.2 kB / 16.42 MB, free: 6.469 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.001105/0.001105, allocations: 192.2 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.0722/0.0722, allocations: 16.72 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.657e-05, allocations: 2.281 kB / 426.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SinglePD): time 0.001721/0.001746, allocations: 1.405 MB / 428.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.003861, allocations: 1.718 MB / 430.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.003993, allocations: 7.938 kB / 430.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.00422, allocations: 63.45 kB / 430.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.004371, allocations: 59.52 kB / 430.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.00553, allocations: 0.8381 MB / 431 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007126/0.006254, allocations: 1.19 MB / 432.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.635e-05/0.006328, allocations: 37.08 kB / 432.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.006576, allocations: 391 kB / 432.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.006693, allocations: 123.2 kB / 432.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.006727, allocations: 20 kB / 432.8 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.00687, allocations: 95.86 kB / 432.9 MB, free: 4.602 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001341/0.007012, allocations: 371.1 kB / 433.2 MB, free: 4.234 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.073e-05/0.007079, allocations: 267.9 kB / 433.5 MB, free: 3.969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.007135, allocations: 51.86 kB / 433.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.707e-05/0.007177, allocations: 7.938 kB / 433.6 MB, free: 3.91 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 (28) * Number of variables: 62 (54) Notification: Performance of Bindings: time 0.0006985/0.00788, allocations: 1.03 MB / 434.6 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.74e-05/0.007914, allocations: 23.97 kB / 434.6 MB, free: 2.75 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004305/0.00835, allocations: 0.6796 MB / 435.3 MB, free: 2.043 MB / 302.1 MB Notification: Performance of simplify1: time 2.17e-05/0.008379, allocations: 11.98 kB / 435.3 MB, free: 2.031 MB / 302.1 MB Notification: Performance of Alias: time 0.0007013/0.009087, allocations: 0.891 MB / 436.2 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of simplify2: time 1.247e-05/0.009108, allocations: 7.984 kB / 436.2 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of Events: time 0.0001214/0.009234, allocations: 99.78 kB / 436.3 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004178/0.009659, allocations: 351.3 kB / 436.6 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001738/0.009841, allocations: 249.3 kB / 436.9 MB, free: 260 kB / 302.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_2 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_10)