Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001485/0.001485, 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.376/1.376, 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.001449/0.001449, allocations: 213.8 kB / 310 MB, free: 3.016 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.577/0.577, allocations: 107.2 MB / 473.6 MB, free: 29.81 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.002458/0.002458, allocations: 81.88 kB / 0.6344 GB, free: 29.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1179, allocations: 80.14 MB / 0.7126 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01893/0.1368, allocations: 18.61 MB / 0.7308 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.147, allocations: 4.881 MB / 0.7356 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.1493, allocations: 44 kB / 0.7356 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.1511, allocations: 0.8789 MB / 0.7365 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005433/0.1565, allocations: 2.314 MB / 0.7387 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.1613, allocations: 2.065 MB / 0.7408 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007515/0.1688, allocations: 5.834 MB / 0.7465 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.1702, allocations: 0.8611 MB / 0.7473 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.1735, allocations: 2.439 MB / 0.7497 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003341/0.1768, allocations: 2.709 MB / 0.7523 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007457/0.1776, allocations: 452 kB / 0.7528 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.1788, allocations: 0.6013 MB / 0.7533 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009743/0.1798, allocations: 1.171 MB / 0.7545 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002184/0.182, allocations: 2.144 MB / 0.7566 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006997/0.189, allocations: 6.394 MB / 0.7628 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.189, allocations: 4 kB / 0.7628 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.189, allocations: 0 / 0.7628 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001318/0.1891, allocations: 3.938 kB / 0.7628 GB, free: 3.457 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03037/0.2195, allocations: 9.993 MB / 0.7726 GB, free: 9.371 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2195, allocations: 12.03 kB / 0.7726 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02604/0.2456, allocations: 4.055 MB / 0.7766 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00573/0.2513, allocations: 2.606 MB / 0.7791 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.2523, allocations: 1.04 MB / 0.7801 GB, free: 1.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008237/0.2532, allocations: 352 kB / 0.7805 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00978/0.2629, allocations: 4.78 MB / 0.7851 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.094e-05/0.263, allocations: 0 / 0.7851 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003722/0.2634, allocations: 140 kB / 0.7853 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.2e-05/0.2635, allocations: 88 kB / 0.7853 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008895/0.2723, allocations: 4.257 MB / 0.7895 GB, free: 7.754 MB / 0.5606 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.02948/0.3018, allocations: 13.09 MB / 0.8023 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.3136, allocations: 4.395 MB / 0.8066 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00584/0.3195, allocations: 2.519 MB / 0.809 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004138/0.3199, allocations: 58.97 kB / 0.8091 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2646/0.5845, allocations: 3.218 MB / 0.8122 GB, free: 85.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 9.508e-06/0.5845, allocations: 0 / 0.8122 GB, free: 85.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.2659/0.8504, allocations: 66.59 MB / 0.8773 GB, free: 44.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.8505, allocations: 151.9 kB / 0.8774 GB, free: 43.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/0.8538, allocations: 3.27 MB / 0.8806 GB, free: 40.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007511/0.8546, allocations: 85.7 kB / 0.8807 GB, free: 40.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000896/0.8555, allocations: 2.011 MB / 0.8827 GB, free: 38.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.8567, allocations: 1.39 MB / 0.884 GB, free: 37.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.8577, allocations: 0.6706 MB / 0.8847 GB, free: 37.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.566e-05/0.8578, allocations: 301.1 kB / 0.885 GB, free: 36.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004579/0.8624, allocations: 2.666 MB / 0.8876 GB, free: 34.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00485/0.8672, allocations: 3.287 MB / 0.8908 GB, free: 30.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06209/0.9293, allocations: 19.31 MB / 0.9096 GB, free: 11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/0.9293, allocations: 4 kB / 0.9096 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.05202/0.9813, allocations: 17.15 MB / 0.9264 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.96e-05/0.9814, allocations: 63.41 kB / 0.9264 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/0.9815, allocations: 16 kB / 0.9265 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0268/1.008, allocations: 7.303 MB / 0.9336 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/1.012, allocations: 0.6677 MB / 0.9342 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08869/1.1, allocations: 32.85 MB / 0.9663 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.106, allocations: 0.628 MB / 0.9669 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005791/1.107, allocations: 152 kB / 0.9671 GB, free: 100 kB / 0.6231 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (402): * Single equations (assignments): 399 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001699/1.108, allocations: 0.6853 MB / 0.9677 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009506/1.109, allocations: 477 kB / 0.9682 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05454/1.164, allocations: 16.78 MB / 0.9846 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.05e-05/1.164, allocations: 36 kB / 0.9846 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.004e-05/1.164, allocations: 28 kB / 0.9847 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.886e-05/1.164, allocations: 25.89 kB / 0.9847 GB, free: 13.99 MB / 0.6544 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.06161/1.226, allocations: 20.08 MB / 1.004 GB, free: 9.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/1.226, allocations: 2.688 kB / 1.004 GB, free: 9.949 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/1.228, allocations: 395.5 kB / 1.005 GB, free: 9.562 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02508/1.253, allocations: 7.341 MB / 1.012 GB, free: 2.207 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006462/1.254, allocations: 69.06 kB / 1.012 GB, free: 2.141 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08134/1.335, allocations: 30.73 MB / 1.042 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.335, allocations: 0 / 1.042 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06283/1.398, allocations: 20.23 MB / 1.062 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.399, allocations: 0.5056 MB / 1.062 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000848/1.4, allocations: 64 kB / 1.062 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004017/1.404, allocations: 379.5 kB / 1.063 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002781/1.407, allocations: 0.8182 MB / 1.063 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/1.407, allocations: 99.98 kB / 1.063 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00317/1.41, allocations: 2.129 MB / 1.066 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.41, allocations: 0 / 1.066 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004864/1.415, allocations: 1.824 MB / 1.067 GB, free: 9.184 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005859/1.416, allocations: 199.6 kB / 1.068 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02547/1.441, allocations: 9.036 MB / 1.076 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.441, allocations: 2 kB / 1.076 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01916/1.46, allocations: 5.936 MB / 1.082 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.463, allocations: 400.4 kB / 1.083 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/1.478, allocations: 8.283 MB / 1.091 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/1.48, allocations: 1.94 MB / 1.093 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.481, allocations: 279.3 kB / 1.093 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of SimCode: time 8.62e-07/1.481, allocations: 0 / 1.093 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of Templates: time 0.3509/1.832, allocations: 91.95 MB / 1.183 GB, free: 209 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.723848976194859] Failed to read output from testmodel.py, exit status != 0: 1.8396589430049062 1.848853352 1.657830849 Calling exit ...