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.001355/0.001355, allocations: 108.3 kB / 16.42 MB, free: 6.465 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.39/1.39, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001444/0.001444, allocations: 188.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4783/0.4783, allocations: 78.53 MB / 419.1 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.258e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.2529/0.253, allocations: 6.188 MB / 0.5603 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004236/0.2573, allocations: 1.851 MB / 0.5621 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.2583, allocations: 7.625 kB / 0.5621 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.259, allocations: 225.9 kB / 0.5623 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.261, allocations: 0.7519 MB / 0.563 GB, free: 35 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.001306/0.2623, allocations: 0.5812 MB / 0.5636 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.2639, allocations: 1.587 MB / 0.5652 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.2643, allocations: 279.1 kB / 0.5654 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006043/0.2649, allocations: 0.5968 MB / 0.566 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.2656, allocations: 0.7412 MB / 0.5667 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.2657, allocations: 93.97 kB / 0.5668 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.2663, allocations: 242.2 kB / 0.5671 GB, free: 34.25 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.00122/0.2675, allocations: 2.33 MB / 0.5693 GB, free: 32.95 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006962/0.2682, allocations: 1.464 MB / 0.5708 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.2684, allocations: 189.3 kB / 0.5709 GB, free: 31.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0001767/0.2686, allocations: 33.97 kB / 0.571 GB, free: 31.89 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 (161) * Number of variables: 178 (178) Notification: Performance of Bindings: time 0.004062/0.2726, allocations: 6.038 MB / 0.5769 GB, free: 29.16 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0005166/0.2732, allocations: 0.5585 MB / 0.5774 GB, free: 29.04 MB / 430.1 MB Notification: Performance of Early Inline: time 0.003628/0.2768, allocations: 4.523 MB / 0.5818 GB, free: 27.05 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001785/0.277, allocations: 217.6 kB / 0.582 GB, free: 26.96 MB / 430.1 MB Notification: Performance of Alias: time 0.004162/0.2811, allocations: 4.061 MB / 0.586 GB, free: 24.4 MB / 430.1 MB Notification: Performance of simplify2: time 0.0002121/0.2814, allocations: 176.3 kB / 0.5862 GB, free: 24.33 MB / 430.1 MB Notification: Performance of Events: time 0.0006008/0.282, allocations: 0.5502 MB / 0.5867 GB, free: 24 MB / 430.1 MB Notification: Performance of Detect States: time 0.0006925/0.2827, allocations: 0.7708 MB / 0.5875 GB, free: 23.52 MB / 430.1 MB Notification: Performance of Partitioning: time 0.001125/0.2838, allocations: 1.014 MB / 0.5885 GB, free: 23.01 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)