Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001314/0.001314, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.454/1.454, allocations: 177.2 MB / 200.1 MB, free: 9.27 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.00219/0.00219, allocations: 165.3 kB / 256.6 MB, free: 0.7539 MB / 238.1 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.4675/0.4675, allocations: 80.31 MB / 393.3 MB, free: 9.434 MB / 366.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.002491/0.002491, allocations: 88.52 kB / 0.5559 GB, free: 31.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1398, allocations: 80.12 MB / 0.6341 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01381/0.1536, allocations: 11.84 MB / 0.6457 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009501/0.1631, allocations: 3.492 MB / 0.6491 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.1658, allocations: 31.94 kB / 0.6491 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.1677, allocations: 0.5615 MB / 0.6497 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.1731, allocations: 1.571 MB / 0.6512 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.1772, allocations: 1.534 MB / 0.6527 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006165/0.1834, allocations: 3.858 MB / 0.6565 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.1847, allocations: 0.5854 MB / 0.657 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.1877, allocations: 1.618 MB / 0.6586 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/0.1909, allocations: 1.846 MB / 0.6604 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.192, allocations: 296 kB / 0.6607 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.1936, allocations: 459.8 kB / 0.6612 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.195, allocations: 0.7858 MB / 0.6619 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.1972, allocations: 1.352 MB / 0.6632 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.3369/0.5341, allocations: 4.127 MB / 0.6673 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5341, allocations: 0 / 0.6673 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5341, allocations: 1.594 kB / 0.6673 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001645/0.5343, allocations: 0 / 0.6673 GB, free: 14.27 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02839/0.5626, allocations: 7.48 MB / 0.6746 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5627, allocations: 8.656 kB / 0.6746 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.5793, allocations: 2.325 MB / 0.6769 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.5844, allocations: 1.838 MB / 0.6787 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007444/0.5851, allocations: 0.8309 MB / 0.6795 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/0.5862, allocations: 219.3 kB / 0.6797 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007904/0.5941, allocations: 3.108 MB / 0.6827 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.5941, allocations: 0 / 0.6827 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/0.5944, allocations: 85.81 kB / 0.6828 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.91e-05/0.5945, allocations: 54.61 kB / 0.6828 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007174/0.6017, allocations: 2.839 MB / 0.6856 GB, free: 10.09 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.01994/0.6216, allocations: 7.475 MB / 0.6929 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.6326, allocations: 3.6 MB / 0.6964 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004568/0.6372, allocations: 1.844 MB / 0.6982 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/0.6375, allocations: 32.42 kB / 0.6983 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004575/0.6421, allocations: 2.318 MB / 0.7005 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=250): time 4.679e-06/0.6421, allocations: 4 kB / 0.7005 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1276/0.7697, allocations: 28.6 MB / 0.7285 GB, free: 9.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.7698, allocations: 189.4 kB / 0.7286 GB, free: 8.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004164/0.774, allocations: 2.3 MB / 0.7309 GB, free: 6.555 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008062/0.7748, allocations: 69.77 kB / 0.7309 GB, free: 6.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.776, allocations: 1.195 MB / 0.7321 GB, free: 5.285 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/0.7774, allocations: 0.9268 MB / 0.733 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.7786, allocations: 0.5542 MB / 0.7336 GB, free: 3.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7788, allocations: 301.1 kB / 0.7338 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004825/0.7836, allocations: 2.074 MB / 0.7359 GB, free: 1.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/0.7888, allocations: 2.445 MB / 0.7383 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06187/0.8506, allocations: 14.66 MB / 0.7526 GB, free: 8 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.8507, allocations: 3.656 kB / 0.7526 GB, free: 8 kB / 0.5606 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.04517/0.8958, allocations: 12.46 MB / 0.7647 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.896, allocations: 119.4 kB / 0.7649 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.896, allocations: 8 kB / 0.7649 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02056/0.9165, allocations: 5.432 MB / 0.7702 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/0.92, allocations: 0.5637 MB / 0.7707 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06887/0.9888, allocations: 22.96 MB / 0.7931 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005748/0.9946, allocations: 0.4885 MB / 0.7936 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008677/0.9955, allocations: 112 kB / 0.7937 GB, free: 5.832 MB / 0.6075 GB Warning: Assuming fixed start value for the following 6 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 Syn2.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 (326): * Single equations (assignments): 321 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001899/0.9974, allocations: 0.5357 MB / 0.7942 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/0.9985, allocations: 317.9 kB / 0.7946 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04379/1.042, allocations: 11.91 MB / 0.8062 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/1.042, allocations: 28 kB / 0.8062 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-05/1.042, allocations: 16 kB / 0.8062 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.88e-05/1.042, allocations: 15.95 kB / 0.8062 GB, free: 9.004 MB / 0.6231 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.05021/1.093, allocations: 14.28 MB / 0.8202 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/1.093, allocations: 3.938 kB / 0.8202 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.095, allocations: 250.5 kB / 0.8204 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01918/1.114, allocations: 5.272 MB / 0.8256 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00084/1.115, allocations: 51.98 kB / 0.8256 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06386/1.178, allocations: 24 MB / 0.8491 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.178, allocations: 0 / 0.8491 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04809/1.227, allocations: 14.38 MB / 0.8631 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.228, allocations: 349.5 kB / 0.8634 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000875/1.229, allocations: 48 kB / 0.8635 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/1.232, allocations: 303.6 kB / 0.8638 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00235/1.235, allocations: 0.5995 MB / 0.8644 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.235, allocations: 67.98 kB / 0.8644 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002655/1.237, allocations: 1.526 MB / 0.8659 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/1.237, allocations: 0 / 0.8659 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004695/1.242, allocations: 1.192 MB / 0.8671 GB, free: 10.4 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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 {(66,22,7.7%)} * 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.000505/1.243, allocations: 184 kB / 0.8672 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02041/1.263, allocations: 6.628 MB / 0.8737 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.263, allocations: 0 / 0.8737 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/1.278, allocations: 4.303 MB / 0.8779 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/1.281, allocations: 273.6 kB / 0.8782 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.292, allocations: 5.654 MB / 0.8837 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/1.293, allocations: 1.265 MB / 0.8849 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001264/1.294, allocations: 258.5 kB / 0.8852 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/1.295, allocations: 176.4 kB / 0.8854 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of SimCode: time 5.91e-07/1.295, allocations: 0 / 0.8854 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of Templates: time 0.1151/1.41, allocations: 71.02 MB / 0.9547 GB, free: 0.7383 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.441053326008841] Failed to read output from testmodel.py, exit status != 0: 1.707606052979827 1.723805147 1.186245614 Calling exit ...