Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_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_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 112.2 kB / 16.43 MB, free: 6.5 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.384/1.384, allocations: 222.9 MB / 240.1 MB, free: 4.391 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.001439/0.001439, allocations: 184.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4444/0.4444, allocations: 78.52 MB / 419.1 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.185e-05, allocations: 2.5 kB / 0.5542 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.2375/0.2376, allocations: 6.565 MB / 0.5606 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003504/0.2411, allocations: 1.962 MB / 0.5625 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004992/0.2416, allocations: 11.09 kB / 0.5626 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.2424, allocations: 243.8 kB / 0.5628 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.2445, allocations: 0.7926 MB / 0.5636 GB, free: 35.18 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.001459/0.2459, allocations: 0.6323 MB / 0.5642 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.248, allocations: 1.808 MB / 0.5659 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.2484, allocations: 320.9 kB / 0.5663 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.2492, allocations: 0.6677 MB / 0.5669 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.2499, allocations: 0.805 MB / 0.5677 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.2501, allocations: 109.8 kB / 0.5678 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.2506, allocations: 261 kB / 0.568 GB, free: 34.34 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.001221/0.2518, allocations: 2.511 MB / 0.5705 GB, free: 32.95 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006116/0.2524, allocations: 1.563 MB / 0.572 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.2526, allocations: 196.5 kB / 0.5722 GB, free: 31.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0002066/0.2528, allocations: 41.66 kB / 0.5723 GB, free: 31.82 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: 190 (173) * Number of variables: 190 (190) Notification: Performance of Bindings: time 0.004355/0.2572, allocations: 6.732 MB / 0.5788 GB, free: 28.69 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0003967/0.2576, allocations: 405.5 kB / 0.5792 GB, free: 28.47 MB / 430.1 MB Notification: Performance of Early Inline: time 0.003199/0.2608, allocations: 4.728 MB / 0.5838 GB, free: 25.84 MB / 430.1 MB Notification: Performance of simplify1: time 0.000186/0.261, allocations: 222.5 kB / 0.584 GB, free: 25.74 MB / 430.1 MB Notification: Performance of Alias: time 0.004438/0.2655, allocations: 4.461 MB / 0.5884 GB, free: 22.96 MB / 430.1 MB Notification: Performance of simplify2: time 0.000218/0.2657, allocations: 192.3 kB / 0.5886 GB, free: 22.88 MB / 430.1 MB Notification: Performance of Events: time 0.0005377/0.2662, allocations: 0.5617 MB / 0.5891 GB, free: 22.54 MB / 430.1 MB Notification: Performance of Detect States: time 0.0006838/0.2669, allocations: 0.8614 MB / 0.59 GB, free: 22 MB / 430.1 MB Notification: Performance of Partitioning: time 0.001059/0.268, allocations: 1.052 MB / 0.591 GB, free: 21.47 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_26)