Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json 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.001314/0.001314, allocations: 104.3 kB / 19.76 MB, free: 1.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 253.5 MB, free: 14.25 MB / 206.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.001681/0.001681, allocations: 207.5 kB / 310.1 MB, free: 3.082 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.497/0.497, allocations: 79.75 MB / 446.3 MB, free: 40.47 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.52e-05, allocations: 4.047 kB / 0.5942 GB, free: 38.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.006274/0.006299, allocations: 5.991 MB / 0.6 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003894/0.01019, allocations: 1.973 MB / 0.6019 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006587/0.01085, allocations: 16.47 kB / 0.6019 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.01148, allocations: 243.1 kB / 0.6022 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.01343, allocations: 0.8441 MB / 0.603 GB, free: 33.42 MB / 446.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.001375/0.0148, allocations: 0.6622 MB / 0.6036 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.01663, allocations: 1.957 MB / 0.6056 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.01702, allocations: 209.2 kB / 0.6058 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008492/0.01787, allocations: 0.7656 MB / 0.6065 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007417/0.01861, allocations: 0.7525 MB / 0.6072 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.01879, allocations: 111.7 kB / 0.6073 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005271/0.01932, allocations: 272.8 kB / 0.6076 GB, free: 31.3 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001502/0.02082, allocations: 3.185 MB / 0.6107 GB, free: 29.16 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007181/0.02154, allocations: 1.941 MB / 0.6126 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.02172, allocations: 86.78 kB / 0.6127 GB, free: 27.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0001657/0.02189, allocations: 37.53 kB / 0.6127 GB, free: 27.79 MB / 446.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.004157/0.02604, allocations: 6.877 MB / 0.6194 GB, free: 23.15 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006742/0.02672, allocations: 0.7939 MB / 0.6202 GB, free: 22.69 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.004151/0.03087, allocations: 6.377 MB / 0.6265 GB, free: 19.4 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001038/0.03191, allocations: 0.8866 MB / 0.6273 GB, free: 19.05 MB / 446.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.005163/0.03707, allocations: 5.816 MB / 0.633 GB, free: 15.39 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008633/0.03793, allocations: 0.7949 MB / 0.6338 GB, free: 15.09 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002931/0.03823, allocations: 389.6 kB / 0.6341 GB, free: 14.83 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.0007098/0.03894, allocations: 0.9762 MB / 0.6351 GB, free: 14.21 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.0004572/0.03939, allocations: 445.7 kB / 0.6355 GB, free: 13.97 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.001282/0.04067, allocations: 1.566 MB / 0.6371 GB, free: 13.27 MB / 446.1 MB Notification: Performance of [SIM] Causalize: time 0.003011/0.04369, allocations: 2.873 MB / 0.6399 GB, free: 12.49 MB / 446.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002224/0.04591, allocations: 3.177 MB / 0.643 GB, free: 10.79 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.004209/0.05012, allocations: 2.87 MB / 0.6458 GB, free: 9.32 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.006328/0.05645, allocations: 7.025 MB / 0.6526 GB, free: 5.582 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 0.0002478/0.05669, allocations: 93.86 kB / 0.6527 GB, free: 5.512 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 0.001043/0.05774, allocations: 0.9125 MB / 0.6536 GB, free: 5 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_480); Notification: Performance of [INI] Causalize: time 0.01378/0.07152, allocations: 9.238 MB / 0.6626 GB, free: 2.25 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.001488/0.073, allocations: 1.549 MB / 0.6641 GB, free: 1.195 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 1.693e-06/0.07301, allocations: 4 kB / 0.6641 GB, free: 1.191 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001811/0.07482, allocations: 1.663 MB / 0.6658 GB, free: 15.54 MB / 462.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.106e-05/0.07483, allocations: 4.656 kB / 0.6658 GB, free: 15.54 MB / 462.1 MB Notification: Performance of [SIM] Tearing: time 0.001238/0.07607, allocations: 0.9466 MB / 0.6667 GB, free: 14.61 MB / 462.1 MB Notification: Performance of [SIM] Categorize: time 1.945e-05/0.07608, allocations: 4 kB / 0.6667 GB, free: 14.61 MB / 462.1 MB Notification: Performance of [SIM] Solve: time 0.007929/0.08401, allocations: 5.556 MB / 0.6721 GB, free: 9.02 MB / 462.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.1040604159934446] Failed to read output from testmodel.py, exit status != 0: 0.09841664403211325 0.113509909 0.08856976000000001 Calling exit ...