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.00118/0.00118, allocations: 104.4 kB / 16.42 MB, free: 6.492 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.001203/0.001203, 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07104/0.07104, allocations: 16.74 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.126e-05, allocations: 4.812 kB / 426.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.002122/0.002151, allocations: 1.974 MB / 428.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.00422, allocations: 1.567 MB / 430.5 MB, free: 7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.004412, allocations: 7.938 kB / 430.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.004679, allocations: 123 kB / 430.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.00501, allocations: 127 kB / 430.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009771/0.00601, allocations: 0.6456 MB / 431.4 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000917/0.006937, allocations: 1.517 MB / 432.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.007153, allocations: 198.8 kB / 433.1 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.007477, allocations: 0.5765 MB / 433.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.007768, allocations: 410.1 kB / 434.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.00788, allocations: 88 kB / 434.1 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.008312, allocations: 471.4 kB / 434.6 MB, free: 2.852 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004643/0.008784, allocations: 1.09 MB / 435.7 MB, free: 1.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002074/0.009, allocations: 0.6313 MB / 436.3 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.00914, allocations: 131.6 kB / 436.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.658e-05/0.009242, allocations: 63.61 kB / 436.5 MB, free: 0.918 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.003039/0.01229, allocations: 3.28 MB / 439.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001675/0.01246, allocations: 133 kB / 439.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003214/0.01569, allocations: 3.178 MB / 443.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001193/0.01581, allocations: 103.8 kB / 443.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of Alias: time 0.002574/0.0184, allocations: 2.423 MB / 445.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of simplify2: time 7.503e-05/0.01849, allocations: 79.88 kB / 445.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of Events: time 0.0009684/0.01947, allocations: 0.8507 MB / 446.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of Detect States: time 0.00123/0.02071, allocations: 1.197 MB / 447.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001121/0.02184, allocations: 1.073 MB / 448.8 MB, free: 4.18 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)