Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 106.2 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.001753/0.001753, allocations: 190 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.297/1.297, 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.07002/0.07002, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.698e-05, allocations: 5.562 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002395/0.002432, allocations: 1.987 MB / 428.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.005031, allocations: 1.564 MB / 430.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.005338, allocations: 15.94 kB / 430.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.005703, allocations: 130.9 kB / 430.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.006191, allocations: 138.8 kB / 430.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.007563, allocations: 0.6461 MB / 431.4 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.008723, allocations: 1.642 MB / 433 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.009058, allocations: 316.4 kB / 433.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000461/0.009527, allocations: 0.631 MB / 434 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.009968, allocations: 0.5564 MB / 434.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.0101, allocations: 135.9 kB / 434.7 MB, free: 2.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.01069, allocations: 491.5 kB / 435.2 MB, free: 2.277 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006411/0.01134, allocations: 1.542 MB / 436.7 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003263/0.01167, allocations: 0.8818 MB / 437.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.01192, allocations: 199.5 kB / 437.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001667/0.01209, allocations: 111.3 kB / 437.9 MB, free: 15.52 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: 259 (214) * Number of variables: 259 (249) Notification: Performance of Bindings: time 0.005192/0.01729, allocations: 5.008 MB / 442.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003375/0.01764, allocations: 211.6 kB / 443.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of Early Inline: time 0.005525/0.02317, allocations: 5.066 MB / 448.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001933/0.02339, allocations: 151.8 kB / 448.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of Alias: time 0.004021/0.02741, allocations: 3.369 MB / 451.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001865/0.02762, allocations: 139.8 kB / 451.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of Events: time 0.001817/0.02945, allocations: 1.507 MB / 453.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of Detect States: time 0.001903/0.03136, allocations: 1.86 MB / 455.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of Partitioning: time 0.00204/0.03341, allocations: 1.703 MB / 456.9 MB, free: 11.96 MB / 334.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_84 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_37)