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.001432/0.001432, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.502/1.502, allocations: 230.6 MB / 252.7 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.001739/0.001739, allocations: 210 kB / 309.2 MB, free: 3.09 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.6363/0.6363, allocations: 107.2 MB / 472.8 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.002608/0.002608, allocations: 88.3 kB / 0.6336 GB, free: 29.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1577, allocations: 80.15 MB / 0.7119 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.0217/0.1794, allocations: 18.62 MB / 0.7301 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.1924, allocations: 4.881 MB / 0.7349 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004646/0.1971, allocations: 40 kB / 0.7349 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.2008, allocations: 0.8828 MB / 0.7358 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009899/0.2107, allocations: 2.301 MB / 0.738 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007158/0.2179, allocations: 2.072 MB / 0.74 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01124/0.2291, allocations: 5.826 MB / 0.7457 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003232/0.2324, allocations: 0.865 MB / 0.7466 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.238, allocations: 2.435 MB / 0.7489 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00546/0.2435, allocations: 2.717 MB / 0.7516 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002361/0.2458, allocations: 444 kB / 0.752 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.2489, allocations: 0.6054 MB / 0.7526 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002479/0.2514, allocations: 1.174 MB / 0.7538 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004945/0.2564, allocations: 2.136 MB / 0.7558 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.268, allocations: 6.394 MB / 0.7621 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.2681, allocations: 0 / 0.7621 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2681, allocations: 0 / 0.7621 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003314/0.2684, allocations: 0 / 0.7621 GB, free: 3.605 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.03746/0.3059, allocations: 9.997 MB / 0.7718 GB, free: 9.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3059, allocations: 12.02 kB / 0.7719 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02937/0.3353, allocations: 4.059 MB / 0.7758 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007373/0.3426, allocations: 2.61 MB / 0.7784 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001297/0.3439, allocations: 1.036 MB / 0.7794 GB, free: 1.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/0.3454, allocations: 352 kB / 0.7797 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.3571, allocations: 4.78 MB / 0.7844 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.876e-05/0.3572, allocations: 0 / 0.7844 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/0.3576, allocations: 140 kB / 0.7845 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/0.3577, allocations: 95.92 kB / 0.7846 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.3684, allocations: 4.261 MB / 0.7888 GB, free: 7.887 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.03818/0.4066, allocations: 13.08 MB / 0.8015 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/0.4208, allocations: 4.395 MB / 0.8058 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007087/0.4278, allocations: 2.515 MB / 0.8083 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007307/0.4286, allocations: 58.95 kB / 0.8083 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00873/0.4373, allocations: 3.222 MB / 0.8115 GB, free: 124 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 9.327e-06/0.4373, allocations: 0 / 0.8115 GB, free: 124 kB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.6393/1.077, allocations: 66.59 MB / 0.8765 GB, free: 44.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.077, allocations: 141.8 kB / 0.8767 GB, free: 44.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/1.081, allocations: 3.269 MB / 0.8799 GB, free: 41.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009033/1.081, allocations: 89.7 kB / 0.8799 GB, free: 41.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.082, allocations: 2.023 MB / 0.8819 GB, free: 39.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/1.084, allocations: 1.38 MB / 0.8833 GB, free: 38.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/1.085, allocations: 0.6745 MB / 0.8839 GB, free: 37.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.78e-05/1.085, allocations: 301.1 kB / 0.8842 GB, free: 37.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004915/1.09, allocations: 2.663 MB / 0.8868 GB, free: 34.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005125/1.095, allocations: 3.292 MB / 0.89 GB, free: 31.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06786/1.163, allocations: 19.31 MB / 0.9089 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-05/1.163, allocations: 8 kB / 0.9089 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.05731/1.22, allocations: 17.15 MB / 0.9256 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/1.22, allocations: 67.34 kB / 0.9257 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/1.22, allocations: 16 kB / 0.9257 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02892/1.249, allocations: 7.297 MB / 0.9328 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/1.253, allocations: 0.667 MB / 0.9335 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09457/1.348, allocations: 32.86 MB / 0.9656 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006467/1.354, allocations: 0.6266 MB / 0.9662 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007823/1.355, allocations: 156 kB / 0.9663 GB, free: 0.6484 MB / 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.002521/1.358, allocations: 0.6737 MB / 0.967 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.359, allocations: 480.9 kB / 0.9675 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05911/1.418, allocations: 16.78 MB / 0.9838 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/1.418, allocations: 36 kB / 0.9839 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.091e-05/1.418, allocations: 28 kB / 0.9839 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/1.418, allocations: 27.91 kB / 0.9839 GB, free: 14.54 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.06794/1.486, allocations: 20.08 MB / 1.004 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.486, allocations: 0 / 1.004 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/1.489, allocations: 395.5 kB / 1.004 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0275/1.517, allocations: 7.337 MB / 1.011 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/1.518, allocations: 67.98 kB / 1.011 GB, free: 2.695 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08682/1.604, allocations: 30.72 MB / 1.041 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.604, allocations: 4.812 kB / 1.041 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06785/1.672, allocations: 20.24 MB / 1.061 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/1.674, allocations: 0.5118 MB / 1.061 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001831/1.676, allocations: 68 kB / 1.061 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005266/1.681, allocations: 379.5 kB / 1.062 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00354/1.685, allocations: 0.8114 MB / 1.063 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006577/1.686, allocations: 95.98 kB / 1.063 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003891/1.689, allocations: 2.133 MB / 1.065 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.689, allocations: 3.938 kB / 1.065 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007165/1.697, allocations: 1.823 MB / 1.067 GB, free: 9.746 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.001023/1.698, allocations: 196.7 kB / 1.067 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02952/1.727, allocations: 9.045 MB / 1.076 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.727, allocations: 0 / 1.076 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02226/1.749, allocations: 5.945 MB / 1.081 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005989/1.755, allocations: 383.8 kB / 1.082 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.778, allocations: 8.212 MB / 1.09 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/1.78, allocations: 1.944 MB / 1.092 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001889/1.782, allocations: 375.1 kB / 1.092 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009146/1.783, allocations: 247.4 kB / 1.092 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of SimCode: time 1.182e-06/1.783, allocations: 4 kB / 1.092 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of Templates: time 0.4888/2.272, allocations: 104.8 MB / 1.195 GB, free: 203.4 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: 11.515640744939446] Failed to read output from testmodel.py, exit status != 0: 2.2808319497853518 2.290598385 2.019892608 Calling exit ...