Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_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_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07139/0.07139, allocations: 12.6 MB / 28.91 MB, free: 0.6328 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.0009208/0.0009208, allocations: 111.5 kB / 32.52 MB, free: 3.566 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001404/0.001404, allocations: 192.4 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3702/0.3702, allocations: 78.5 MB / 420 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.536e-05, allocations: 2.281 kB / 0.5564 GB, free: 28.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.005138/0.005161, allocations: 6.799 MB / 0.5631 GB, free: 23.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.008429, allocations: 1.993 MB / 0.565 GB, free: 22.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00054/0.008982, allocations: 14.72 kB / 0.565 GB, free: 22.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.009543, allocations: 248.5 kB / 0.5653 GB, free: 22.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.01111, allocations: 0.8046 MB / 0.566 GB, free: 21.49 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.001139/0.01225, allocations: 0.6626 MB / 0.5667 GB, free: 21.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.01355, allocations: 1.836 MB / 0.5685 GB, free: 19.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.01393, allocations: 345.3 kB / 0.5688 GB, free: 19.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005246/0.01447, allocations: 0.672 MB / 0.5695 GB, free: 19.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.01504, allocations: 0.8171 MB / 0.5703 GB, free: 18.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.01519, allocations: 111.6 kB / 0.5704 GB, free: 18.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.01561, allocations: 265.7 kB / 0.5706 GB, free: 18.7 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001041/0.01666, allocations: 2.559 MB / 0.5731 GB, free: 16.79 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005134/0.01718, allocations: 1.602 MB / 0.5747 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.01736, allocations: 205.3 kB / 0.5749 GB, free: 15.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001578/0.01752, allocations: 36.62 kB / 0.5749 GB, free: 15.46 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: 198 (181) * Number of variables: 198 (198) Notification: Performance of Bindings: time 0.003627/0.02115, allocations: 6.69 MB / 0.5814 GB, free: 9.727 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0003941/0.02156, allocations: 0.5742 MB / 0.582 GB, free: 9.148 MB / 398.1 MB Notification: Performance of Early Inline: time 0.002673/0.02424, allocations: 4.797 MB / 0.5867 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001335/0.02438, allocations: 231.7 kB / 0.5869 GB, free: 4.082 MB / 398.1 MB Notification: Performance of Alias: time 0.003503/0.02789, allocations: 4.635 MB / 0.5914 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplify2: time 0.000163/0.02806, allocations: 179.8 kB / 0.5916 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Events: time 0.0005384/0.02861, allocations: 0.5996 MB / 0.5922 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Detect States: time 0.0006966/0.02931, allocations: 0.8638 MB / 0.593 GB, free: 13.31 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001017/0.03034, allocations: 1.088 MB / 0.5941 GB, free: 12.19 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_30)