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.001738/0.001738, allocations: 78.33 kB / 19.76 MB, free: 2.031 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.415/1.415, allocations: 177.2 MB / 200.1 MB, free: 8.336 MB / 190.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.002794/0.002794, allocations: 163.6 kB / 256.6 MB, free: 4.273 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.4512/0.4512, allocations: 59.75 MB / 372.7 MB, free: 46.86 MB / 334.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.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.002469/0.002469, allocations: 88.33 kB / 0.5224 GB, free: 29.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1441, allocations: 73.28 MB / 0.5939 GB, free: 15 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008598/0.1527, allocations: 5.901 MB / 0.5997 GB, free: 9.078 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006058/0.1587, allocations: 1.982 MB / 0.6016 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.1601, allocations: 8 kB / 0.6017 GB, free: 7.078 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.1614, allocations: 253.9 kB / 0.6019 GB, free: 6.828 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.1647, allocations: 0.8683 MB / 0.6027 GB, free: 5.961 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.1666, allocations: 0.6393 MB / 0.6034 GB, free: 5.324 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002897/0.1695, allocations: 1.694 MB / 0.605 GB, free: 3.625 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005928/0.1701, allocations: 211 kB / 0.6052 GB, free: 3.402 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.1715, allocations: 0.7198 MB / 0.6059 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.173, allocations: 0.8126 MB / 0.6067 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.1733, allocations: 132 kB / 0.6068 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006168/0.1739, allocations: 283.8 kB / 0.6071 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.1742, allocations: 350.6 kB / 0.6074 GB, free: 1.113 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.1748, allocations: 0.5749 MB / 0.608 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.1769, allocations: 1.778 MB / 0.6097 GB, free: 14.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1769, allocations: 0 / 0.6097 GB, free: 14.75 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1769, allocations: 0 / 0.6097 GB, free: 14.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.1769, allocations: 3.938 kB / 0.6097 GB, free: 14.75 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009754/0.1867, allocations: 2.913 MB / 0.6126 GB, free: 11.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1867, allocations: 11.98 kB / 0.6126 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005269/0.192, allocations: 0.7991 MB / 0.6134 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.1939, allocations: 0.8662 MB / 0.6142 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/0.1942, allocations: 337.3 kB / 0.6146 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.1944, allocations: 88 kB / 0.6146 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.1967, allocations: 1.135 MB / 0.6157 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1967, allocations: 0 / 0.6157 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.1968, allocations: 32 kB / 0.6158 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1969, allocations: 20 kB / 0.6158 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.199, allocations: 1.024 MB / 0.6168 GB, free: 7.348 MB / 478.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.007228/0.2063, allocations: 2.934 MB / 0.6197 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007832/0.2141, allocations: 2.049 MB / 0.6217 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.2159, allocations: 0.6544 MB / 0.6223 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.216, allocations: 20.98 kB / 0.6223 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002163/0.2182, allocations: 0.8571 MB / 0.6232 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 6.242e-06/0.2182, allocations: 0 / 0.6232 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02974/0.2479, allocations: 6.959 MB / 0.63 GB, free: 9.719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.248, allocations: 111.8 kB / 0.6301 GB, free: 9.586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.2503, allocations: 1.118 MB / 0.6312 GB, free: 8.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003051/0.2506, allocations: 45.7 kB / 0.6312 GB, free: 8.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000554/0.2512, allocations: 0.5093 MB / 0.6317 GB, free: 7.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/0.2518, allocations: 376.8 kB / 0.6321 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008724/0.2527, allocations: 287.5 kB / 0.6323 GB, free: 7.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2529, allocations: 309 kB / 0.6326 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/0.2548, allocations: 0.8388 MB / 0.6334 GB, free: 6.074 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.2569, allocations: 1.012 MB / 0.6344 GB, free: 5.008 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02775/0.2846, allocations: 6.118 MB / 0.6404 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.2847, allocations: 0 / 0.6404 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01549/0.3001, allocations: 4.508 MB / 0.6448 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.735e-05/0.3002, allocations: 69.67 kB / 0.6449 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.3003, allocations: 0 / 0.6449 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006796/0.3071, allocations: 1.654 MB / 0.6465 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.3088, allocations: 283.6 kB / 0.6468 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/0.3316, allocations: 8.342 MB / 0.6549 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.3341, allocations: 199.2 kB / 0.6551 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004027/0.3345, allocations: 55.97 kB / 0.6551 GB, free: 15.54 MB / 0.5137 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.001128/0.3356, allocations: 319.9 kB / 0.6555 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005276/0.3362, allocations: 131.2 kB / 0.6556 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.3501, allocations: 3.914 MB / 0.6594 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.3502, allocations: 12 kB / 0.6594 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/0.3502, allocations: 11.94 kB / 0.6594 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-05/0.3502, allocations: 3.984 kB / 0.6594 GB, free: 11.1 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 postOpt removeSimpleEquations (simulation): time 0.01641/0.3666, allocations: 4.966 MB / 0.6643 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.3666, allocations: 0 / 0.6643 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.3674, allocations: 103.9 kB / 0.6644 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006006/0.3734, allocations: 1.602 MB / 0.6659 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002579/0.3737, allocations: 16 kB / 0.666 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/0.3972, allocations: 9.192 MB / 0.6749 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3972, allocations: 0 / 0.6749 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/0.4142, allocations: 4.844 MB / 0.6797 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/0.4148, allocations: 154.9 kB / 0.6798 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005741/0.4154, allocations: 20 kB / 0.6798 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/0.4173, allocations: 111.9 kB / 0.6799 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008713/0.4181, allocations: 208.6 kB / 0.6801 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.4183, allocations: 24 kB / 0.6802 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001697/0.42, allocations: 0.7587 MB / 0.6809 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.42, allocations: 0 / 0.6809 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002385/0.4224, allocations: 495.6 kB / 0.6814 GB, free: 4.289 MB / 0.5294 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.0004464/0.4229, allocations: 140 kB / 0.6815 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007729/0.4306, allocations: 2.526 MB / 0.684 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4306, allocations: 0 / 0.684 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004886/0.4355, allocations: 1.582 MB / 0.6855 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.4371, allocations: 124.6 kB / 0.6856 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/0.4425, allocations: 2.48 MB / 0.6881 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007735/0.4433, allocations: 0.5479 MB / 0.6886 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005945/0.4439, allocations: 116.1 kB / 0.6887 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.4443, allocations: 80.48 kB / 0.6888 GB, free: 12.51 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.4443, allocations: 0 / 0.6888 GB, free: 12.51 MB / 0.545 GB Notification: Performance of Templates: time 0.04666/0.4909, allocations: 26.88 MB / 0.715 GB, free: 1.727 MB / 0.5606 GB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.021735899965279] Failed to read output from testmodel.py, exit status != 0: 0.5010583959519863 0.815445495 0.635924521 Calling exit ...