Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTD.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.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") translateModel(PNlib.Examples.HybTest.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 106.4 kB / 16.42 MB, free: 6.484 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.001521/0.001521, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.424/1.424, 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.07396/0.07397, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.486e-05, allocations: 2.281 kB / 426.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.003189/0.003224, allocations: 1.976 MB / 428.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.005456, allocations: 1.564 MB / 430.5 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.005652, allocations: 11.94 kB / 430.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.005932, allocations: 119 kB / 430.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.006293, allocations: 147 kB / 430.8 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.007334, allocations: 0.646 MB / 431.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.008357, allocations: 1.533 MB / 432.9 MB, free: 4.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.008589, allocations: 182.9 kB / 433.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.008973, allocations: 0.5726 MB / 433.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.009303, allocations: 418.1 kB / 434.1 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.009425, allocations: 88 kB / 434.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.009901, allocations: 463.5 kB / 434.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004465/0.01036, allocations: 1.098 MB / 435.7 MB, free: 1.812 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001794/0.01055, allocations: 0.6196 MB / 436.3 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.01069, allocations: 135.6 kB / 436.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.419e-05/0.01078, allocations: 63.61 kB / 436.5 MB, free: 0.9883 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: 178 (139) * Number of variables: 178 (168) Notification: Performance of Bindings: time 0.003106/0.0139, allocations: 3.296 MB / 439.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002196/0.01412, allocations: 129 kB / 440 MB, free: 13.43 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003237/0.01737, allocations: 3.178 MB / 443.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001111/0.01749, allocations: 99.83 kB / 443.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Alias: time 0.002652/0.02015, allocations: 2.411 MB / 445.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of simplify2: time 9.009e-05/0.02026, allocations: 87.84 kB / 445.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of Detect States: time 0.001156/0.02142, allocations: 1.131 MB / 446.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of Events: time 0.001012/0.02244, allocations: 0.8518 MB / 447.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of Partitioning: time 0.00114/0.02359, allocations: 1.073 MB / 448.8 MB, free: 4.309 MB / 318.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_57 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_28)