Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.001253/0.001253, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.398/1.398, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001469/0.001469, allocations: 210.6 kB / 310 MB, free: 3.109 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5943/0.5943, allocations: 107.3 MB / 473.7 MB, free: 29.84 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [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.002466/0.002466, allocations: 89.95 kB / 0.6345 GB, free: 29.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.134, allocations: 80.16 MB / 0.7128 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01425/0.1482, allocations: 11.74 MB / 0.7243 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008171/0.1564, allocations: 3.437 MB / 0.7276 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.159, allocations: 31.94 kB / 0.7276 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.161, allocations: 0.5615 MB / 0.7282 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.1666, allocations: 1.566 MB / 0.7297 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.1708, allocations: 1.52 MB / 0.7312 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00618/0.1769, allocations: 3.776 MB / 0.7349 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.1785, allocations: 0.5776 MB / 0.7355 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.1813, allocations: 1.579 MB / 0.737 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.1843, allocations: 1.804 MB / 0.7388 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.1853, allocations: 288 kB / 0.739 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.1868, allocations: 447.9 kB / 0.7395 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.188, allocations: 0.7662 MB / 0.7402 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.1899, allocations: 1.328 MB / 0.7415 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00514/0.195, allocations: 4.049 MB / 0.7455 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.195, allocations: 0 / 0.7455 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.195, allocations: 0 / 0.7455 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001179/0.1952, allocations: 0 / 0.7455 GB, free: 5.395 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.0251/0.2203, allocations: 7.374 MB / 0.7527 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.2203, allocations: 12.03 kB / 0.7527 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.2358, allocations: 2.327 MB / 0.7549 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.2403, allocations: 1.797 MB / 0.7567 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009637/0.2413, allocations: 0.8334 MB / 0.7575 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008344/0.2421, allocations: 216 kB / 0.7577 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007799/0.2499, allocations: 3.089 MB / 0.7607 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-05/0.25, allocations: 4 kB / 0.7607 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004015/0.2504, allocations: 83.94 kB / 0.7608 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.2504, allocations: 48 kB / 0.7609 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006605/0.257, allocations: 2.822 MB / 0.7636 GB, free: 2.363 MB / 0.5294 GB 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.01963/0.2766, allocations: 7.446 MB / 0.7709 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.2876, allocations: 3.556 MB / 0.7744 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004534/0.2922, allocations: 1.824 MB / 0.7762 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003679/0.2925, allocations: 37.92 kB / 0.7762 GB, free: 5.285 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005464/0.298, allocations: 2.298 MB / 0.7784 GB, free: 2.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=248): time 6.061e-06/0.298, allocations: 0 / 0.7784 GB, free: 2.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.1205/0.4185, allocations: 27.96 MB / 0.8057 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.4186, allocations: 180.2 kB / 0.8059 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/0.4224, allocations: 2.244 MB / 0.8081 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005231/0.4229, allocations: 81.62 kB / 0.8082 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.424, allocations: 1.189 MB / 0.8093 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/0.4253, allocations: 0.9102 MB / 0.8102 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/0.4268, allocations: 0.55 MB / 0.8108 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4269, allocations: 301.1 kB / 0.811 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2686/0.6955, allocations: 2.041 MB / 0.813 GB, free: 86.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005298/0.7008, allocations: 2.404 MB / 0.8154 GB, free: 85.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05562/0.7564, allocations: 14.3 MB / 0.8294 GB, free: 82.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/0.7564, allocations: 1.312 kB / 0.8294 GB, free: 82.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.03821/0.7947, allocations: 12.5 MB / 0.8416 GB, free: 79.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.7947, allocations: 118.1 kB / 0.8417 GB, free: 79.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.7948, allocations: 3.969 kB / 0.8417 GB, free: 79.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01581/0.8106, allocations: 5.247 MB / 0.8468 GB, free: 77.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.8132, allocations: 0.55 MB / 0.8473 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05208/0.8653, allocations: 22.51 MB / 0.8693 GB, free: 54.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/0.8693, allocations: 480.6 kB / 0.8698 GB, free: 53.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/0.8698, allocations: 116 kB / 0.8699 GB, free: 53.7 MB / 0.5762 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001289/0.8711, allocations: 0.5356 MB / 0.8704 GB, free: 53.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000614/0.8717, allocations: 306 kB / 0.8707 GB, free: 52.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03467/0.9064, allocations: 11.86 MB / 0.8823 GB, free: 40.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.9064, allocations: 27.98 kB / 0.8823 GB, free: 40.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/0.9064, allocations: 20 kB / 0.8823 GB, free: 40.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-05/0.9065, allocations: 11.95 kB / 0.8823 GB, free: 40.86 MB / 0.5762 GB 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.03877/0.9452, allocations: 14.23 MB / 0.8962 GB, free: 26.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.9453, allocations: 2.375 kB / 0.8962 GB, free: 26.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.9466, allocations: 243.7 kB / 0.8965 GB, free: 26.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01563/0.9623, allocations: 5.239 MB / 0.9016 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005157/0.9628, allocations: 47.98 kB / 0.9016 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05175/1.015, allocations: 23.99 MB / 0.9251 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.015, allocations: 2.188 kB / 0.9251 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04659/1.061, allocations: 14.29 MB / 0.939 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009545/1.062, allocations: 351.2 kB / 0.9394 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008361/1.063, allocations: 51.92 kB / 0.9394 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003296/1.066, allocations: 299.6 kB / 0.9397 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002222/1.068, allocations: 0.6033 MB / 0.9403 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003205/1.069, allocations: 75.98 kB / 0.9404 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002602/1.071, allocations: 1.475 MB / 0.9418 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.071, allocations: 2.156 kB / 0.9418 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003539/1.075, allocations: 1.177 MB / 0.9429 GB, free: 10.46 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005235/1.075, allocations: 185.9 kB / 0.9431 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01841/1.094, allocations: 6.447 MB / 0.9494 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.094, allocations: 4 kB / 0.9494 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01337/1.107, allocations: 4.271 MB / 0.9536 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/1.11, allocations: 264.1 kB / 0.9538 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.121, allocations: 5.558 MB / 0.9593 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.122, allocations: 1.252 MB / 0.9605 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009831/1.123, allocations: 187.4 kB / 0.9607 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/1.123, allocations: 0 / 0.9607 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of Templates: time 0.09076/1.214, allocations: 65.66 MB / 1.025 GB, free: 6.359 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.443921890575439] Failed to read output from testmodel.py, exit status != 0: 1.2229940691031516 1.237508985 1.039293444 Calling exit ...