Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001621/0.001621, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.48/1.48, allocations: 230.6 MB / 253.4 MB, free: 8.246 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.001919/0.001919, allocations: 223.8 kB / 310 MB, free: 3.086 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.4802/0.4802, allocations: 79.73 MB / 446.2 MB, free: 14.8 MB / 318.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_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002521/0.002521, allocations: 83.88 kB / 0.5942 GB, free: 13.35 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1639, allocations: 73.29 MB / 0.6658 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.009347/0.1733, allocations: 6.271 MB / 0.6719 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00494/0.1782, allocations: 1.904 MB / 0.6737 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.1795, allocations: 8 kB / 0.6737 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009194/0.1804, allocations: 218.1 kB / 0.674 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.1833, allocations: 0.8293 MB / 0.6748 GB, free: 10.7 MB / 478.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.001677/0.185, allocations: 0.5756 MB / 0.6753 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002525/0.1875, allocations: 1.385 MB / 0.6767 GB, free: 8.742 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.188, allocations: 208.3 kB / 0.6769 GB, free: 8.523 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.1893, allocations: 0.6068 MB / 0.6775 GB, free: 7.914 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.1906, allocations: 0.7739 MB / 0.6782 GB, free: 7.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.1908, allocations: 104 kB / 0.6783 GB, free: 7.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006631/0.1915, allocations: 255.9 kB / 0.6786 GB, free: 6.785 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.1918, allocations: 294.7 kB / 0.6788 GB, free: 6.496 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.1925, allocations: 0.6097 MB / 0.6794 GB, free: 5.883 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.1945, allocations: 1.509 MB / 0.6809 GB, free: 4.367 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1945, allocations: 0 / 0.6809 GB, free: 4.367 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1945, allocations: 4 kB / 0.6809 GB, free: 4.363 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.368e-05/0.1946, allocations: 0 / 0.6809 GB, free: 4.363 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.009138/0.2037, allocations: 2.471 MB / 0.6833 GB, free: 1.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.2037, allocations: 19.92 kB / 0.6834 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/0.2091, allocations: 0.7641 MB / 0.6841 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.2108, allocations: 0.7411 MB / 0.6848 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004919/0.2113, allocations: 367 kB / 0.6852 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.2115, allocations: 72 kB / 0.6852 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.214, allocations: 1.178 MB / 0.6864 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.2141, allocations: 7.875 kB / 0.6864 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/0.2142, allocations: 32 kB / 0.6864 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.2142, allocations: 16 kB / 0.6864 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.2162, allocations: 0.9459 MB / 0.6874 GB, free: 13.59 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006988/0.2232, allocations: 3.489 MB / 0.6908 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007316/0.2305, allocations: 1.942 MB / 0.6927 GB, free: 7.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.232, allocations: 0.597 MB / 0.6933 GB, free: 7.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.2322, allocations: 20.64 kB / 0.6933 GB, free: 7.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.2322, allocations: 43.22 kB / 0.6933 GB, free: 7.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=92): time 3.346e-06/0.2322, allocations: 0 / 0.6933 GB, free: 7.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=92): time 0.03372/0.2659, allocations: 6.568 MB / 0.6997 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.2661, allocations: 93.72 kB / 0.6998 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3525/0.6185, allocations: 0.9614 MB / 0.7008 GB, free: 33.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002734/0.6188, allocations: 45.14 kB / 0.7008 GB, free: 33.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.6191, allocations: 464.7 kB / 0.7012 GB, free: 33.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.6194, allocations: 328 kB / 0.7016 GB, free: 33.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/0.6199, allocations: 263 kB / 0.7018 GB, free: 33.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.6199, allocations: 303.2 kB / 0.7021 GB, free: 33.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.6213, allocations: 0.6972 MB / 0.7028 GB, free: 33.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.6228, allocations: 0.9164 MB / 0.7037 GB, free: 33.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02379/0.6466, allocations: 5.291 MB / 0.7088 GB, free: 32.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.817e-05/0.6466, allocations: 2.25 kB / 0.7088 GB, free: 32.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01459/0.6612, allocations: 4.122 MB / 0.7129 GB, free: 31.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.6613, allocations: 7.875 kB / 0.7129 GB, free: 31.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/0.6613, allocations: 5.219 kB / 0.7129 GB, free: 31.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006006/0.6673, allocations: 1.506 MB / 0.7144 GB, free: 31.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.6687, allocations: 263.4 kB / 0.7146 GB, free: 31.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/0.6878, allocations: 8.173 MB / 0.7226 GB, free: 27.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.6894, allocations: 178 kB / 0.7228 GB, free: 27.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.6895, allocations: 53.56 kB / 0.7228 GB, free: 27.74 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006064/0.6902, allocations: 265.7 kB / 0.7231 GB, free: 27.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/0.6913, allocations: 338.9 kB / 0.7234 GB, free: 27.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.7032, allocations: 3.568 MB / 0.7269 GB, free: 26.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/0.7032, allocations: 9.469 kB / 0.7269 GB, free: 26.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/0.7033, allocations: 7.969 kB / 0.7269 GB, free: 26.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.7033, allocations: 3.984 kB / 0.7269 GB, free: 26.32 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.7172, allocations: 5.069 MB / 0.7318 GB, free: 23.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.7173, allocations: 3.438 kB / 0.7318 GB, free: 23.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006293/0.7179, allocations: 109.1 kB / 0.7319 GB, free: 23.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005164/0.7231, allocations: 1.587 MB / 0.7335 GB, free: 22.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.7232, allocations: 19.86 kB / 0.7335 GB, free: 22.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/0.7401, allocations: 10.58 MB / 0.7438 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7401, allocations: 0 / 0.7438 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.7531, allocations: 4.595 MB / 0.7483 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/0.7536, allocations: 135.2 kB / 0.7485 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.7538, allocations: 21.88 kB / 0.7485 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009732/0.7548, allocations: 79.91 kB / 0.7486 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005128/0.7553, allocations: 189.2 kB / 0.7487 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.7554, allocations: 24 kB / 0.7488 GB, free: 8.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007544/0.7561, allocations: 0.6434 MB / 0.7494 GB, free: 7.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7561, allocations: 0 / 0.7494 GB, free: 7.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001412/0.7575, allocations: 439.2 kB / 0.7498 GB, free: 7.438 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.7578, allocations: 146 kB / 0.7499 GB, free: 7.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005239/0.763, allocations: 2.156 MB / 0.7521 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.763, allocations: 0 / 0.7521 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00342/0.7664, allocations: 1.26 MB / 0.7533 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.7679, allocations: 348.9 kB / 0.7536 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.7715, allocations: 2.128 MB / 0.7557 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.7719, allocations: 1.077 MB / 0.7567 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.7722, allocations: 79.42 kB / 0.7568 GB, free: 216 kB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7722, allocations: 0 / 0.7568 GB, free: 216 kB / 494.1 MB Notification: Performance of Templates: time 0.03214/0.8044, allocations: 21.61 MB / 0.7779 GB, free: 10.57 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.902515178080648] Failed to read output from testmodel.py, exit status != 0: 0.8145750700496137 0.829273361 0.6315125819999999 Calling exit ...