Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.00146/0.00146, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.397/1.397, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001535/0.001535, allocations: 224.8 kB / 310 MB, free: 3.066 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.5681/0.5681, allocations: 107.2 MB / 473.6 MB, free: 29.75 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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.002375/0.002375, allocations: 87.75 kB / 0.6343 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1333, allocations: 80.14 MB / 0.7125 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007985/0.1413, allocations: 5.931 MB / 0.7183 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.1458, allocations: 1.982 MB / 0.7203 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008027/0.1466, allocations: 19.94 kB / 0.7203 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007894/0.1474, allocations: 245.9 kB / 0.7205 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.1496, allocations: 0.8638 MB / 0.7214 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.1511, allocations: 0.6369 MB / 0.722 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.1531, allocations: 1.698 MB / 0.7236 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.1535, allocations: 218.9 kB / 0.7238 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.1545, allocations: 0.7081 MB / 0.7245 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.1556, allocations: 0.8204 MB / 0.7253 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.1558, allocations: 132 kB / 0.7255 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.1564, allocations: 287.8 kB / 0.7257 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003307/0.1567, allocations: 350.6 kB / 0.7261 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.1572, allocations: 0.5711 MB / 0.7266 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.1593, allocations: 1.774 MB / 0.7284 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1593, allocations: 0 / 0.7284 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1593, allocations: 4 kB / 0.7284 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.1593, allocations: 0 / 0.7284 GB, free: 6.934 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009582/0.1689, allocations: 2.91 MB / 0.7312 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1689, allocations: 12.03 kB / 0.7312 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/0.1739, allocations: 0.7991 MB / 0.732 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.1758, allocations: 0.8663 MB / 0.7328 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/0.1762, allocations: 345.2 kB / 0.7332 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.1763, allocations: 87.95 kB / 0.7333 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.1786, allocations: 1.139 MB / 0.7344 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1786, allocations: 3.938 kB / 0.7344 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.1787, allocations: 28 kB / 0.7344 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.1788, allocations: 20 kB / 0.7344 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.1809, allocations: 1.028 MB / 0.7354 GB, free: 15.52 MB / 0.5137 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.006779/0.1877, allocations: 2.917 MB / 0.7383 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007363/0.1951, allocations: 2.053 MB / 0.7403 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.1967, allocations: 0.656 MB / 0.7409 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.1968, allocations: 16.98 kB / 0.7409 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002039/0.1989, allocations: 0.8624 MB / 0.7418 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 3.807e-06/0.1989, allocations: 3.938 kB / 0.7418 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.02911/0.228, allocations: 6.959 MB / 0.7486 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.2281, allocations: 123.7 kB / 0.7487 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.2302, allocations: 1.118 MB / 0.7498 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000254/0.2305, allocations: 45.7 kB / 0.7498 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.231, allocations: 0.5015 MB / 0.7503 GB, free: 56 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005749/0.2315, allocations: 384.7 kB / 0.7507 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000774/0.2323, allocations: 283.5 kB / 0.751 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2324, allocations: 309.1 kB / 0.7513 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.2343, allocations: 0.8428 MB / 0.7521 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.2363, allocations: 1.004 MB / 0.7531 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02686/0.2632, allocations: 6.11 MB / 0.759 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.2632, allocations: 4 kB / 0.759 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01519/0.2784, allocations: 4.508 MB / 0.7634 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-05/0.2784, allocations: 67.33 kB / 0.7635 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.2785, allocations: 4 kB / 0.7635 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006372/0.2848, allocations: 1.654 MB / 0.7651 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.2865, allocations: 287.6 kB / 0.7654 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.3083, allocations: 8.335 MB / 0.7735 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.3104, allocations: 195.2 kB / 0.7737 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/0.3107, allocations: 63.97 kB / 0.7738 GB, free: 7.703 MB / 0.545 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 order2.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (164): * Single equations (assignments): 161 * 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): 1 system {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008351/0.3115, allocations: 296.2 kB / 0.7741 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.3119, allocations: 135.1 kB / 0.7742 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.3248, allocations: 3.918 MB / 0.778 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.3249, allocations: 8 kB / 0.778 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/0.3249, allocations: 11.98 kB / 0.778 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/0.3249, allocations: 7.969 kB / 0.778 GB, free: 3.281 MB / 0.545 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.01532/0.3402, allocations: 4.962 MB / 0.7829 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.3402, allocations: 4 kB / 0.7829 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.341, allocations: 107.8 kB / 0.783 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005572/0.3465, allocations: 1.59 MB / 0.7845 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.3467, allocations: 20 kB / 0.7846 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02104/0.3677, allocations: 9.189 MB / 0.7935 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3677, allocations: 3.938 kB / 0.7935 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/0.3826, allocations: 4.848 MB / 0.7983 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.3833, allocations: 154.9 kB / 0.7984 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/0.3837, allocations: 24 kB / 0.7984 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.3851, allocations: 111.9 kB / 0.7986 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007025/0.3858, allocations: 200.6 kB / 0.7987 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.3859, allocations: 28 kB / 0.7988 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00144/0.3874, allocations: 0.7587 MB / 0.7995 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3874, allocations: 4 kB / 0.7995 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001872/0.3893, allocations: 491.6 kB / 0.8 GB, free: 12.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003755/0.3896, allocations: 147.3 kB / 0.8001 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007123/0.3968, allocations: 2.521 MB / 0.8026 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3968, allocations: 0 / 0.8026 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004317/0.4011, allocations: 1.582 MB / 0.8041 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.402, allocations: 119.1 kB / 0.8042 GB, free: 8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.4067, allocations: 2.535 MB / 0.8067 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.4073, allocations: 0.544 MB / 0.8073 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.4076, allocations: 87.41 kB / 0.8073 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.4076, allocations: 0 / 0.8073 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of Templates: time 0.2818/0.6894, allocations: 24.95 MB / 0.8317 GB, free: 86.46 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.230790707282722] Failed to read output from testmodel.py, exit status != 0: 0.697689123917371 0.707737136 0.546340079 Calling exit ...