Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2.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.IAwithPDtoTD2,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.IAwithPDtoTD2") translateModel(PNlib.Examples.ExtTest.IAwithPDtoTD2,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.IAwithPDtoTD2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 106.5 kB / 16.42 MB, free: 6.48 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.00136/0.00136, allocations: 190 kB / 17.36 MB, free: 5.707 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.307/1.307, allocations: 222.9 MB / 241.1 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.07101/0.07101, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.715e-05, allocations: 3.125 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.IAwithPDtoTD2): time 0.00334/0.003375, allocations: 3.594 MB / 430.5 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.007934, allocations: 3.294 MB / 433.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004164/0.008362, allocations: 15.94 kB / 433.8 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.008909, allocations: 297.5 kB / 434.1 MB, free: 3.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.009529, allocations: 317.4 kB / 434.4 MB, free: 3.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.01206, allocations: 1.693 MB / 436.1 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.01601, allocations: 4.536 MB / 440.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008091/0.01683, allocations: 0.6843 MB / 441.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.01866, allocations: 1.644 MB / 443 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.01987, allocations: 1.116 MB / 444.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003437/0.02022, allocations: 264 kB / 444.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.02163, allocations: 0.9287 MB / 445.3 MB, free: 8.086 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00208/0.02372, allocations: 3.076 MB / 448.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001044/0.02478, allocations: 1.794 MB / 450.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005582/0.02534, allocations: 419.5 kB / 450.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003891/0.02574, allocations: 234.5 kB / 450.8 MB, free: 2.516 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.009598/0.03534, allocations: 10.07 MB / 460.9 MB, free: 8.176 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0003816/0.03574, allocations: 353.6 kB / 461.2 MB, free: 7.812 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01038/0.04613, allocations: 10.24 MB / 471.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplify1: time 0.0003449/0.04651, allocations: 291.6 kB / 471.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Alias: time 0.008822/0.05534, allocations: 7.573 MB / 479.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simplify2: time 0.000316/0.05568, allocations: 247.6 kB / 479.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of Events: time 0.003337/0.05902, allocations: 3.003 MB / 482.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Detect States: time 0.00366/0.0627, allocations: 3.782 MB / 486.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Partitioning: time 0.00393/0.06664, allocations: 3.363 MB / 489.7 MB, free: 10.28 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: P3.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P3.color = if settings.animatePlace then if $SEV_149 then {255.0, 255.0 - 2.55 * P3.tokenscale, 255.0 - 2.55 * P3.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_74)