Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 113.5 kB / 16.43 MB, free: 6.523 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.46/1.46, allocations: 222.9 MB / 240.1 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 184.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5467/0.5467, allocations: 78.53 MB / 419.1 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.371e-05, allocations: 4.469 kB / 0.5542 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.3023/0.3023, allocations: 6.191 MB / 0.5603 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003785/0.3062, allocations: 1.853 MB / 0.5621 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.3073, allocations: 13.62 kB / 0.5621 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.308, allocations: 218.2 kB / 0.5623 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.3102, allocations: 0.7902 MB / 0.5631 GB, free: 35.05 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.3116, allocations: 0.5924 MB / 0.5637 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.3132, allocations: 1.584 MB / 0.5652 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.3136, allocations: 283 kB / 0.5655 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006687/0.3143, allocations: 0.5925 MB / 0.5661 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.3149, allocations: 0.7465 MB / 0.5668 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.315, allocations: 94.88 kB / 0.5669 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.3155, allocations: 240.2 kB / 0.5671 GB, free: 34.3 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.00112/0.3166, allocations: 2.33 MB / 0.5694 GB, free: 33 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005734/0.3172, allocations: 1.466 MB / 0.5708 GB, free: 32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.3174, allocations: 182 kB / 0.571 GB, free: 31.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0001878/0.3176, allocations: 33.88 kB / 0.571 GB, free: 31.95 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 (166) * Number of variables: 178 (178) Notification: Performance of Bindings: time 0.003925/0.3215, allocations: 6.084 MB / 0.577 GB, free: 29.22 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0004839/0.322, allocations: 0.5659 MB / 0.5775 GB, free: 29.09 MB / 430.1 MB Notification: Performance of Early Inline: time 0.003181/0.3252, allocations: 4.6 MB / 0.582 GB, free: 27.05 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001873/0.3254, allocations: 206.7 kB / 0.5822 GB, free: 26.96 MB / 430.1 MB Notification: Performance of Alias: time 0.003995/0.3294, allocations: 4.093 MB / 0.5862 GB, free: 24.39 MB / 430.1 MB Notification: Performance of simplify2: time 0.0002385/0.3297, allocations: 185.2 kB / 0.5864 GB, free: 24.31 MB / 430.1 MB Notification: Performance of Detect States: time 0.000827/0.3305, allocations: 0.8734 MB / 0.5872 GB, free: 23.76 MB / 430.1 MB Notification: Performance of Events: time 0.0005285/0.331, allocations: 462.5 kB / 0.5877 GB, free: 23.5 MB / 430.1 MB Notification: Performance of Partitioning: time 0.00109/0.3321, allocations: 1.035 MB / 0.5887 GB, free: 22.98 MB / 430.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: $FUN_17. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) {{order4.p.vr}, {order4.p.vi}} = ({{$FUN_17, $FUN_18}, {-$FUN_18, $FUN_17}} * {{order4.vd}, {order4.vq}}) .* order4.V_MBtoSB ($RES_SIM_19)