Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TCwithPD.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.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") translateModel(PNlib.Examples.HybTest.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108.6 kB / 16.42 MB, free: 6.512 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.001244/0.001244, allocations: 187.2 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07175/0.07175, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/2.86e-05, allocations: 3.828 kB / 426.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TCwithPD): time 0.003112/0.00315, allocations: 3.42 MB / 430.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004916/0.008079, allocations: 3.474 MB / 433.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.008731, allocations: 15.94 kB / 433.8 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.00927, allocations: 281.7 kB / 434.1 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.009876, allocations: 285.7 kB / 434.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.01251, allocations: 1.722 MB / 436.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.01624, allocations: 4.112 MB / 440.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007731/0.01703, allocations: 0.6141 MB / 440.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.01897, allocations: 1.496 MB / 442.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.02022, allocations: 1.121 MB / 443.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003376/0.02057, allocations: 272 kB / 443.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.02237, allocations: 1.198 MB / 444.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002037/0.02442, allocations: 2.916 MB / 447.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008963/0.02533, allocations: 1.586 MB / 449.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006448/0.02598, allocations: 419 kB / 449.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004064/0.02639, allocations: 174.8 kB / 450 MB, free: 3.355 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: 556 (371) * Number of variables: 556 (443) Notification: Performance of Bindings: time 0.009635/0.03604, allocations: 9.453 MB / 459.5 MB, free: 9.664 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0008531/0.0369, allocations: 0.8812 MB / 460.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0125/0.04941, allocations: 10.58 MB / 470.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simplify1: time 0.0005132/0.04997, allocations: 251.6 kB / 471.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Alias: time 0.008127/0.05811, allocations: 6.777 MB / 477.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simplify2: time 0.0003896/0.05854, allocations: 223.7 kB / 478.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of Events: time 0.00312/0.06167, allocations: 2.714 MB / 480.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of Detect States: time 0.003604/0.06529, allocations: 3.77 MB / 484.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Partitioning: time 0.003928/0.06923, allocations: 3.13 MB / 487.8 MB, free: 12.62 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_131 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_35)