Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001078, allocations: 108.5 kB / 16.42 MB, free: 6.527 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.001025/0.001025, allocations: 192.3 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.264/1.264, 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.07119/0.07119, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.767e-05, allocations: 2.281 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.001951/0.001977, allocations: 1.866 MB / 428.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.00438, allocations: 1.925 MB / 430.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.004578, allocations: 11.94 kB / 430.7 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.004892, allocations: 99.17 kB / 430.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.00518, allocations: 119 kB / 431 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.006553, allocations: 0.9005 MB / 431.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00096/0.007524, allocations: 1.56 MB / 433.4 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.007721, allocations: 165.4 kB / 433.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.008057, allocations: 0.5649 MB / 434.1 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.008307, allocations: 350.3 kB / 434.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/0.008389, allocations: 76 kB / 434.6 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.008854, allocations: 0.4916 MB / 435.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003352/0.009199, allocations: 0.9119 MB / 436 MB, free: 1.48 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000136/0.009342, allocations: 0.5388 MB / 436.5 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.009463, allocations: 127.7 kB / 436.6 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.127e-05/0.00954, allocations: 55.67 kB / 436.7 MB, free: 0.7539 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: 150 (110) * Number of variables: 150 (140) Notification: Performance of Bindings: time 0.002334/0.01188, allocations: 2.812 MB / 439.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.643e-05/0.01197, allocations: 79.84 kB / 439.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002481/0.01446, allocations: 2.802 MB / 442.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simplify1: time 7.67e-05/0.01455, allocations: 75.83 kB / 442.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of Alias: time 0.002087/0.01664, allocations: 2.126 MB / 444.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simplify2: time 7.06e-05/0.01673, allocations: 67.91 kB / 444.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of Events: time 0.0006083/0.01734, allocations: 497 kB / 445.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of Detect States: time 0.001013/0.01837, allocations: 1.118 MB / 446.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0009132/0.01929, allocations: 0.9305 MB / 447.2 MB, free: 5.824 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_33 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_27)