Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.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_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 113.6 kB / 16.43 MB, free: 6.504 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.305/1.305, allocations: 222.9 MB / 240.1 MB, free: 4.578 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.00128/0.00128, allocations: 195.5 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.452/0.452, allocations: 78.53 MB / 419.1 MB, free: 3.094 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.449e-05, allocations: 2.5 kB / 0.5542 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.2783/0.2783, allocations: 6.758 MB / 0.5608 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.2832, allocations: 2.011 MB / 0.5628 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.2848, allocations: 11.06 kB / 0.5628 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009498/0.2858, allocations: 245.2 kB / 0.563 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.2883, allocations: 0.8065 MB / 0.5638 GB, free: 34.57 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.001529/0.2899, allocations: 0.6537 MB / 0.5645 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002039/0.2919, allocations: 1.838 MB / 0.5663 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.2924, allocations: 343.5 kB / 0.5666 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009839/0.2934, allocations: 0.6697 MB / 0.5673 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007377/0.2941, allocations: 0.8164 MB / 0.568 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.2943, allocations: 114.3 kB / 0.5682 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.2948, allocations: 268 kB / 0.5684 GB, free: 33.68 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.001194/0.296, allocations: 2.552 MB / 0.5709 GB, free: 32.25 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006301/0.2967, allocations: 1.604 MB / 0.5725 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.2969, allocations: 200.3 kB / 0.5727 GB, free: 31.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0002698/0.2972, allocations: 43.41 kB / 0.5727 GB, free: 31.1 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: 198 (181) * Number of variables: 198 (198) Notification: Performance of Bindings: time 0.004562/0.3018, allocations: 6.692 MB / 0.5792 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0005548/0.3023, allocations: 0.5759 MB / 0.5798 GB, free: 27.85 MB / 430.1 MB Notification: Performance of Early Inline: time 0.003629/0.306, allocations: 4.793 MB / 0.5845 GB, free: 25.18 MB / 430.1 MB Notification: Performance of simplify1: time 0.0002227/0.3062, allocations: 230.2 kB / 0.5847 GB, free: 25.08 MB / 430.1 MB Notification: Performance of Alias: time 0.005333/0.3115, allocations: 4.635 MB / 0.5892 GB, free: 22.16 MB / 430.1 MB Notification: Performance of simplify2: time 0.0002845/0.3119, allocations: 186.9 kB / 0.5894 GB, free: 22.09 MB / 430.1 MB Notification: Performance of Events: time 0.0006829/0.3125, allocations: 0.5982 MB / 0.59 GB, free: 21.73 MB / 430.1 MB Notification: Performance of Detect States: time 0.0007826/0.3133, allocations: 0.869 MB / 0.5908 GB, free: 21.19 MB / 430.1 MB Notification: Performance of Partitioning: time 0.001145/0.3145, allocations: 1.085 MB / 0.5919 GB, free: 20.62 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_30)