Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTDfunction.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.HybTest.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") translateModel(PNlib.Examples.HybTest.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 107.1 kB / 16.42 MB, free: 6.445 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.2 kB / 17.36 MB, free: 5.719 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.281/1.281, 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.07016/0.07016, allocations: 16.72 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.21e-05, allocations: 2.281 kB / 426.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.002312/0.002342, allocations: 1.983 MB / 428.9 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.004773, allocations: 1.56 MB / 430.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.005026, allocations: 15.88 kB / 430.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.005314, allocations: 123 kB / 430.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.005666, allocations: 127 kB / 430.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.006852, allocations: 0.642 MB / 431.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.007921, allocations: 1.521 MB / 432.9 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.008155, allocations: 194.8 kB / 433.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.008525, allocations: 0.5765 MB / 433.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.008844, allocations: 414.1 kB / 434.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-05/0.008947, allocations: 92 kB / 434.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.009429, allocations: 467.3 kB / 434.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004752/0.009913, allocations: 1.094 MB / 435.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001888/0.01011, allocations: 0.6197 MB / 436.3 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.01025, allocations: 135.6 kB / 436.5 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001239/0.01038, allocations: 67.55 kB / 436.5 MB, free: 0.9023 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: 178 (139) * Number of variables: 178 (168) Notification: Performance of Bindings: time 0.003008/0.01339, allocations: 3.272 MB / 439.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001796/0.01358, allocations: 142.4 kB / 439.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003118/0.01671, allocations: 3.178 MB / 443.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001153/0.01684, allocations: 111.8 kB / 443.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Alias: time 0.002717/0.01956, allocations: 2.411 MB / 445.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simplify2: time 9.886e-05/0.01968, allocations: 87.84 kB / 445.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of Events: time 0.001086/0.02077, allocations: 0.848 MB / 446.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Detect States: time 0.001283/0.02206, allocations: 1.197 MB / 447.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001237/0.02331, allocations: 1.076 MB / 448.8 MB, free: 4.16 MB / 318.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_57 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_28)