Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09313/0.09313, allocations: 12.6 MB / 28.91 MB, free: 0.7227 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 107.5 kB / 32.51 MB, free: 3.66 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 195.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.6011/0.6011, allocations: 78.5 MB / 420 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.332e-05, allocations: 2.281 kB / 0.5564 GB, free: 28.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.008153/0.008194, allocations: 6.249 MB / 0.5625 GB, free: 24.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005438/0.01366, allocations: 1.811 MB / 0.5643 GB, free: 22.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.01473, allocations: 9.906 kB / 0.5643 GB, free: 22.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007301/0.01547, allocations: 214.6 kB / 0.5645 GB, free: 22.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.01794, allocations: 0.8055 MB / 0.5653 GB, free: 22.1 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.00161/0.01955, allocations: 0.5919 MB / 0.5659 GB, free: 21.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.02169, allocations: 1.584 MB / 0.5674 GB, free: 20.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/0.02217, allocations: 284.8 kB / 0.5677 GB, free: 20.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008844/0.02306, allocations: 0.5952 MB / 0.5683 GB, free: 20.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007421/0.02381, allocations: 0.7446 MB / 0.569 GB, free: 19.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.024, allocations: 93.59 kB / 0.5691 GB, free: 19.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.02465, allocations: 246.9 kB / 0.5693 GB, free: 19.63 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001612/0.02627, allocations: 2.328 MB / 0.5716 GB, free: 17.89 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.00089/0.02717, allocations: 1.465 MB / 0.573 GB, free: 16.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.02745, allocations: 181.8 kB / 0.5732 GB, free: 16.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0002874/0.02774, allocations: 30.94 kB / 0.5732 GB, free: 16.69 MB / 398.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.006027/0.03378, allocations: 6.085 MB / 0.5792 GB, free: 12.07 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0005168/0.0343, allocations: 0.5572 MB / 0.5797 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Early Inline: time 0.003199/0.03751, allocations: 4.613 MB / 0.5842 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001916/0.03772, allocations: 211.7 kB / 0.5844 GB, free: 6.637 MB / 398.1 MB Notification: Performance of Alias: time 0.004286/0.04201, allocations: 4.077 MB / 0.5884 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simplify2: time 0.000202/0.04223, allocations: 175.8 kB / 0.5886 GB, free: 1.984 MB / 398.1 MB Notification: Performance of Detect States: time 0.0008322/0.04307, allocations: 0.8788 MB / 0.5894 GB, free: 1.082 MB / 398.1 MB Notification: Performance of Events: time 0.0004653/0.04355, allocations: 471.2 kB / 0.5899 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001042/0.0446, allocations: 1.034 MB / 0.5909 GB, free: 15.56 MB / 414.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)