Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD.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.IAwithPDtoTD,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.IAwithPDtoTD") translateModel(PNlib.Examples.ExtTest.IAwithPDtoTD,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.IAwithPDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 106.2 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.001459/0.001459, 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.228/1.228, 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.0691/0.0691, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.117e-05, allocations: 2.281 kB / 426.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.IAwithPDtoTD): time 0.002984/0.003013, allocations: 3.591 MB / 430.5 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.007405, allocations: 3.283 MB / 433.8 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.007828, allocations: 19.94 kB / 433.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.008331, allocations: 293.5 kB / 434.1 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005702/0.008921, allocations: 325.4 kB / 434.4 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.01118, allocations: 1.679 MB / 436.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00373/0.01492, allocations: 4.548 MB / 440.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.01575, allocations: 0.6805 MB / 441.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.01743, allocations: 1.64 MB / 443 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.01848, allocations: 1.116 MB / 444.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.01884, allocations: 268 kB / 444.4 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.0202, allocations: 0.9326 MB / 445.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002064/0.02227, allocations: 3.08 MB / 448.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009577/0.02324, allocations: 1.79 MB / 450.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005278/0.02377, allocations: 423.5 kB / 450.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000323/0.02411, allocations: 234.5 kB / 450.8 MB, free: 2.496 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.008927/0.03304, allocations: 10.07 MB / 460.9 MB, free: 8.152 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0003245/0.03337, allocations: 349.8 kB / 461.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of Early Inline: time 0.009706/0.04309, allocations: 10.25 MB / 471.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simplify1: time 0.0003572/0.04347, allocations: 287.6 kB / 471.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of Alias: time 0.008115/0.0516, allocations: 7.565 MB / 479.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simplify2: time 0.0002772/0.05189, allocations: 247.6 kB / 479.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Events: time 0.003211/0.05511, allocations: 3.013 MB / 482.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Detect States: time 0.003846/0.05897, allocations: 3.77 MB / 486.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Partitioning: time 0.00415/0.06313, allocations: 3.375 MB / 489.7 MB, free: 10.27 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)