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.00082/0.00082, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.8653/0.8653, allocations: 177.2 MB / 200.2 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001509/0.001509, allocations: 160.6 kB / 256.7 MB, free: 13.34 MB / 250.7 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.2575/0.2575, allocations: 80.36 MB / 393.5 MB, free: 2.371 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.5562 GB, free: 12.03 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.6e-05, allocations: 6.219 kB / 0.5562 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.008152/0.008178, allocations: 11.73 MB / 0.5677 GB, free: 252 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00624/0.01442, allocations: 3.445 MB / 0.5711 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.01571, allocations: 28 kB / 0.5711 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.01674, allocations: 0.5575 MB / 0.5716 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.01941, allocations: 1.619 MB / 0.5732 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.02152, allocations: 1.551 MB / 0.5747 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00279/0.02431, allocations: 3.743 MB / 0.5784 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.02495, allocations: 0.5814 MB / 0.579 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.02679, allocations: 2.123 MB / 0.581 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.02817, allocations: 1.55 MB / 0.5825 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003465/0.02852, allocations: 284 kB / 0.5828 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.02912, allocations: 451.7 kB / 0.5832 GB, free: 252 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.02973, allocations: 0.7701 MB / 0.584 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000728/0.03045, allocations: 1.078 MB / 0.5851 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.03319, allocations: 4.084 MB / 0.589 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.0332, allocations: 0 / 0.589 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.0332, allocations: 0 / 0.589 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.184e-05/0.03323, allocations: 4 kB / 0.589 GB, free: 10.29 MB / 0.5105 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.01217/0.0454, allocations: 7.343 MB / 0.5962 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.04545, allocations: 12.03 kB / 0.5962 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007451/0.0529, allocations: 2.32 MB / 0.5985 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.238/0.2909, allocations: 1.795 MB / 0.6002 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/0.2913, allocations: 0.8227 MB / 0.601 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003867/0.2917, allocations: 219.1 kB / 0.6013 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.2954, allocations: 3.095 MB / 0.6043 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.2954, allocations: 0 / 0.6043 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.2956, allocations: 82.28 kB / 0.6044 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.2956, allocations: 48.09 kB / 0.6044 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.299, allocations: 2.826 MB / 0.6072 GB, free: 88.04 MB / 0.5105 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.01059/0.3096, allocations: 7.431 MB / 0.6144 GB, free: 84.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006182/0.3158, allocations: 3.565 MB / 0.6179 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/0.3182, allocations: 1.824 MB / 0.6197 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.3184, allocations: 38.06 kB / 0.6197 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00301/0.3214, allocations: 2.288 MB / 0.622 GB, free: 82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=248): time 3.938e-06/0.3214, allocations: 4 kB / 0.622 GB, free: 82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=248): time 0.05897/0.3804, allocations: 27.96 MB / 0.6493 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3804, allocations: 184.2 kB / 0.6494 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.3827, allocations: 2.238 MB / 0.6516 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/0.383, allocations: 75.64 kB / 0.6517 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.3834, allocations: 1.202 MB / 0.6529 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006124/0.384, allocations: 0.8987 MB / 0.6537 GB, free: 63.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006437/0.3847, allocations: 0.5422 MB / 0.6543 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.3847, allocations: 301.1 kB / 0.6546 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.387, allocations: 2.043 MB / 0.6566 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/0.3895, allocations: 2.411 MB / 0.6589 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02595/0.4154, allocations: 14.29 MB / 0.6729 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.4154, allocations: 4 kB / 0.6729 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01956/0.435, allocations: 12.51 MB / 0.6851 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/0.4351, allocations: 120.8 kB / 0.6852 GB, free: 30.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.4351, allocations: 8 kB / 0.6852 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008254/0.4433, allocations: 5.233 MB / 0.6903 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.445, allocations: 0.5617 MB / 0.6909 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0294/0.4744, allocations: 22.48 MB / 0.7128 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.477, allocations: 0.49 MB / 0.7133 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.4772, allocations: 116 kB / 0.7134 GB, free: 1.371 MB / 0.5105 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.0009441/0.4781, allocations: 0.5331 MB / 0.7139 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.4784, allocations: 310 kB / 0.7142 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02077/0.4992, allocations: 11.86 MB / 0.7258 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.4992, allocations: 28 kB / 0.7258 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/0.4992, allocations: 16 kB / 0.7259 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.4993, allocations: 15.95 kB / 0.7259 GB, free: 4.531 MB / 0.5261 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.02385/0.5231, allocations: 14.22 MB / 0.7398 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.5231, allocations: 4 kB / 0.7398 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.5239, allocations: 255.6 kB / 0.74 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00908/0.533, allocations: 5.231 MB / 0.7451 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/0.5332, allocations: 55.98 kB / 0.7452 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03361/0.5668, allocations: 23.98 MB / 0.7686 GB, free: 8.445 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5668, allocations: 4 kB / 0.7686 GB, free: 8.441 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02491/0.5917, allocations: 14.31 MB / 0.7826 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009724/0.5927, allocations: 337.4 kB / 0.7829 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.593, allocations: 47.94 kB / 0.7829 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.5945, allocations: 299.6 kB / 0.7832 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001713/0.5962, allocations: 0.6073 MB / 0.7838 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.5963, allocations: 63.98 kB / 0.7839 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001735/0.5981, allocations: 1.483 MB / 0.7853 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5981, allocations: 0 / 0.7853 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00245/0.6005, allocations: 1.182 MB / 0.7865 GB, free: 5.98 MB / 0.5886 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.000365/0.6009, allocations: 171.5 kB / 0.7866 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009914/0.6108, allocations: 6.448 MB / 0.7929 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6108, allocations: 0 / 0.7929 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.006846/0.6177, allocations: 4.254 MB / 0.7971 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.6192, allocations: 269 kB / 0.7973 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007079/0.6263, allocations: 5.347 MB / 0.8026 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/0.6271, allocations: 1.263 MB / 0.8038 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.6277, allocations: 184.5 kB / 0.804 GB, free: 3.824 MB / 0.6042 GB Notification: Performance of SimCode: time 1.352e-06/0.6277, allocations: 0 / 0.804 GB, free: 3.824 MB / 0.6042 GB Notification: Performance of Templates: time 0.2646/0.8923, allocations: 65.66 MB / 0.8681 GB, free: 199 MB / 0.6355 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: 7.582580749876797] Failed to read output from testmodel.py, exit status != 0: 0.8983617071062326 0.90617823 0.87148655 Calling exit ...