Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.SinglePC.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.ConTest.SinglePC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SinglePC") translateModel(PNlib.Examples.ConTest.SinglePC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SinglePC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001047, allocations: 112.5 kB / 16.42 MB, free: 6.5 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.00096/0.0009602, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.0976/0.0976, allocations: 16.72 MB / 307.9 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.617e-05, allocations: 2.281 kB / 426.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SinglePC): time 0.001769/0.001793, allocations: 1.512 MB / 428.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.003704, allocations: 1.368 MB / 429.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.003861, allocations: 7.938 kB / 429.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.004103, allocations: 79.38 kB / 429.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.004288, allocations: 59.47 kB / 429.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000934/0.005239, allocations: 0.5743 MB / 430.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.005921, allocations: 1.132 MB / 431.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.006, allocations: 37.08 kB / 431.7 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.006226, allocations: 387 kB / 432.1 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.006383, allocations: 175 kB / 432.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.006429, allocations: 31.94 kB / 432.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.006699, allocations: 295.6 kB / 432.6 MB, free: 4.93 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001726/0.006879, allocations: 450.9 kB / 433 MB, free: 4.484 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.887e-05/0.006944, allocations: 263.9 kB / 433.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.006993, allocations: 47.86 kB / 433.3 MB, free: 4.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.558e-05/0.007033, allocations: 11.88 kB / 433.3 MB, free: 4.164 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: 65 (34) * Number of variables: 65 (57) Notification: Performance of Bindings: time 0.0007076/0.007745, allocations: 1.105 MB / 434.4 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.447e-05/0.007826, allocations: 55.06 kB / 434.5 MB, free: 2.902 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004501/0.008282, allocations: 0.713 MB / 435.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of simplify1: time 3.652e-05/0.008326, allocations: 19.97 kB / 435.2 MB, free: 2.145 MB / 302.1 MB Notification: Performance of Alias: time 0.0007033/0.009034, allocations: 0.9382 MB / 436.1 MB, free: 1.066 MB / 302.1 MB Notification: Performance of simplify2: time 1.595e-05/0.009059, allocations: 11.98 kB / 436.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of Events: time 9.195e-05/0.009156, allocations: 79.88 kB / 436.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002582/0.009422, allocations: 363.2 kB / 436.6 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000177/0.009606, allocations: 277.8 kB / 436.9 MB, free: 280 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_1 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_11)