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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0893/0.0893, allocations: 12.37 MB / 32.03 MB, free: 6.406 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 112.9 kB / 38.07 MB, free: 1.082 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 207.7 MB / 251.7 MB, free: 7.246 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 220.3 kB / 307 MB, free: 264 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3159/0.3159, allocations: 79.74 MB / 441.8 MB, free: 12.24 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,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=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.033e-05, allocations: 2.281 kB / 0.5887 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007485/0.007505, allocations: 6.019 MB / 0.5946 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.01137, allocations: 1.917 MB / 0.5965 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.01173, allocations: 12 kB / 0.5965 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.01235, allocations: 241.9 kB / 0.5967 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.01426, allocations: 0.8387 MB / 0.5976 GB, free: 13.95 MB / 414.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.001336/0.0156, allocations: 0.6574 MB / 0.5982 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00195/0.01755, allocations: 1.963 MB / 0.6001 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.01795, allocations: 199.4 kB / 0.6003 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009081/0.01886, allocations: 0.7586 MB / 0.601 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008036/0.01966, allocations: 0.7501 MB / 0.6018 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.01984, allocations: 115.9 kB / 0.6019 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.02029, allocations: 251.9 kB / 0.6021 GB, free: 9.254 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.002543/0.02283, allocations: 3.183 MB / 0.6052 GB, free: 6.039 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001429/0.02426, allocations: 1.943 MB / 0.6071 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.02445, allocations: 88 kB / 0.6072 GB, free: 3.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001532/0.0246, allocations: 35.88 kB / 0.6073 GB, free: 3.949 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 (184) * Number of variables: 196 (196) Notification: Performance of [SIM] Bindings: time 0.006405/0.03101, allocations: 6.878 MB / 0.614 GB, free: 12.81 MB / 430.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009354/0.03194, allocations: 0.7938 MB / 0.6147 GB, free: 11.99 MB / 430.1 MB Notification: Performance of [SIM] Early Inline: time 0.006575/0.03852, allocations: 6.391 MB / 0.621 GB, free: 5.57 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00137/0.03989, allocations: 0.8709 MB / 0.6218 GB, free: 4.625 MB / 430.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.007862/0.04775, allocations: 5.815 MB / 0.6275 GB, free: 14.32 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001189/0.04894, allocations: 0.8041 MB / 0.6283 GB, free: 13.46 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004377/0.04938, allocations: 379.9 kB / 0.6287 GB, free: 13.05 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.001173/0.05055, allocations: 0.9892 MB / 0.6296 GB, free: 12 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.0006435/0.05119, allocations: 445.5 kB / 0.6301 GB, free: 11.55 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.001931/0.05312, allocations: 1.576 MB / 0.6316 GB, free: 9.945 MB / 446.1 MB Notification: Performance of [SIM] Causalize: time 0.004292/0.05741, allocations: 2.872 MB / 0.6344 GB, free: 7.027 MB / 446.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003448/0.06086, allocations: 3.188 MB / 0.6375 GB, free: 3.832 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.005073/0.06594, allocations: 2.858 MB / 0.6403 GB, free: 0.75 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.2374/0.3033, allocations: 6.989 MB / 0.6471 GB, free: 44.21 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 0.0002828/0.3036, allocations: 100.6 kB / 0.6472 GB, free: 44.15 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 0.0009633/0.3046, allocations: 0.9103 MB / 0.6481 GB, free: 43.67 MB / 446.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $DER.aVRTypeII.Verr.u2 = 0.0 ($RES_SIM_2); [SCAL] (1) $DER.aVRTypeII.derivativeBlock.x = 0.0 ($RES_SIM_3); [SCAL] (1) order4.Vt0.re = order4.v_0 * cos(order4.angle_0) ($RES_SIM_481); Notification: Performance of [INI] Causalize: time 0.01386/0.3184, allocations: 9.233 MB / 0.6571 GB, free: 41.46 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.001643/0.3201, allocations: 1.537 MB / 0.6586 GB, free: 41.14 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 1.613e-06/0.3201, allocations: 1.156 kB / 0.6586 GB, free: 41.14 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.00192/0.322, allocations: 1.684 MB / 0.6603 GB, free: 40.57 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.013e-05/0.322, allocations: 1.531 kB / 0.6603 GB, free: 40.57 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 0.001027/0.323, allocations: 0.9394 MB / 0.6612 GB, free: 40.26 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 1.806e-05/0.323, allocations: 6.438 kB / 0.6612 GB, free: 40.26 MB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.006506/0.3295, allocations: 5.56 MB / 0.6666 GB, free: 38.38 MB / 446.1 MB Error: Internal error NBDifferentiate.differentiateVariablePointer failed for parameter Real $TMP.aVRTypeII.vf00 because the result is expected to be a variable but turned out to be 0.0. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1661315209930763] Failed to read output from testmodel.py, exit status != 0: 0.34212430100888014 0.350420512 0.323843313 Calling exit ...