Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09432/0.09432, allocations: 12.6 MB / 28.92 MB, free: 0.6406 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.001169/0.001169, allocations: 107.5 kB / 32.52 MB, free: 3.578 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.196/2.196, 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.001575/0.001575, allocations: 191.3 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5355/0.5355, allocations: 78.51 MB / 420 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.597e-05/3.599e-05, allocations: 2.281 kB / 0.5564 GB, free: 28.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.009696/0.009742, allocations: 6.613 MB / 0.5629 GB, free: 23.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.01656, allocations: 1.926 MB / 0.5647 GB, free: 22.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.01917, allocations: 10.5 kB / 0.5648 GB, free: 22.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.02087, allocations: 244 kB / 0.565 GB, free: 22.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.02551, allocations: 0.8584 MB / 0.5658 GB, free: 21.9 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.00275/0.02827, allocations: 0.6275 MB / 0.5664 GB, free: 21.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005599/0.03388, allocations: 1.808 MB / 0.5682 GB, free: 20.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.03511, allocations: 327.8 kB / 0.5685 GB, free: 20.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.03775, allocations: 0.6722 MB / 0.5692 GB, free: 19.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.04023, allocations: 0.7949 MB / 0.57 GB, free: 19.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009566/0.04121, allocations: 110.3 kB / 0.5701 GB, free: 19.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.04352, allocations: 258.9 kB / 0.5703 GB, free: 19.16 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.002927/0.04647, allocations: 2.509 MB / 0.5728 GB, free: 17.28 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.001147/0.04763, allocations: 1.573 MB / 0.5743 GB, free: 16.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.04812, allocations: 194.8 kB / 0.5745 GB, free: 16 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0004803/0.04861, allocations: 41.38 kB / 0.5745 GB, free: 15.98 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: 190 (178) * Number of variables: 190 (190) Notification: Performance of Bindings: time 0.006149/0.05476, allocations: 6.773 MB / 0.5811 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0004322/0.05521, allocations: 403.1 kB / 0.5815 GB, free: 9.781 MB / 398.1 MB Notification: Performance of Early Inline: time 0.003314/0.05853, allocations: 4.808 MB / 0.5862 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simplify1: time 0.0002008/0.05875, allocations: 227.7 kB / 0.5864 GB, free: 4.707 MB / 398.1 MB Notification: Performance of Alias: time 0.004374/0.06313, allocations: 4.482 MB / 0.5908 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simplify2: time 0.0002349/0.06338, allocations: 195.8 kB / 0.591 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Detect States: time 0.001067/0.06446, allocations: 0.956 MB / 0.5919 GB, free: 14.61 MB / 414.1 MB Notification: Performance of Events: time 0.0006069/0.06507, allocations: 479.2 kB / 0.5924 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001203/0.06629, allocations: 1.063 MB / 0.5934 GB, free: 13.06 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_26)