Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001519/0.001519, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.363/1.363, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.001427/0.001427, allocations: 212.5 kB / 310 MB, free: 3.074 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.5632/0.5632, allocations: 107.2 MB / 473.6 MB, free: 29.77 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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.00245/0.00245, allocations: 85.27 kB / 0.6343 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1287, allocations: 80.15 MB / 0.7126 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01317/0.1418, allocations: 11.73 MB / 0.724 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00769/0.1495, allocations: 3.437 MB / 0.7274 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.1516, allocations: 35.94 kB / 0.7274 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.1534, allocations: 0.5615 MB / 0.728 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.1583, allocations: 1.552 MB / 0.7295 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.1621, allocations: 1.513 MB / 0.731 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005206/0.1673, allocations: 3.776 MB / 0.7347 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.1684, allocations: 0.5853 MB / 0.7352 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.1706, allocations: 1.579 MB / 0.7368 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.1729, allocations: 1.804 MB / 0.7385 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004717/0.1733, allocations: 287.9 kB / 0.7388 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008674/0.1742, allocations: 447.9 kB / 0.7392 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006755/0.1749, allocations: 0.7623 MB / 0.74 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.1762, allocations: 1.328 MB / 0.7413 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.1806, allocations: 4.045 MB / 0.7452 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1806, allocations: 4 kB / 0.7452 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1806, allocations: 0 / 0.7452 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.747e-05/0.1806, allocations: 0 / 0.7452 GB, free: 5.531 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02343/0.2041, allocations: 7.378 MB / 0.7524 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2041, allocations: 15.97 kB / 0.7525 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.2189, allocations: 2.324 MB / 0.7547 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/0.2228, allocations: 1.797 MB / 0.7565 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008573/0.2237, allocations: 0.8373 MB / 0.7573 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004924/0.2242, allocations: 216 kB / 0.7575 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006335/0.2305, allocations: 3.093 MB / 0.7605 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.2306, allocations: 0 / 0.7605 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/0.2308, allocations: 83.94 kB / 0.7606 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/0.2308, allocations: 48 kB / 0.7607 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00606/0.2369, allocations: 2.826 MB / 0.7634 GB, free: 2.488 MB / 0.5294 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.01719/0.2541, allocations: 7.435 MB / 0.7707 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.2646, allocations: 3.567 MB / 0.7742 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003943/0.2686, allocations: 1.828 MB / 0.7759 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.2688, allocations: 33.98 kB / 0.776 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004643/0.2734, allocations: 2.286 MB / 0.7782 GB, free: 3.086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=248): time 4.559e-06/0.2734, allocations: 0 / 0.7782 GB, free: 3.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.1201/0.3936, allocations: 27.96 MB / 0.8055 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.3937, allocations: 188.2 kB / 0.8057 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003832/0.3975, allocations: 2.232 MB / 0.8079 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006/0.3981, allocations: 77.64 kB / 0.8079 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.3992, allocations: 1.201 MB / 0.8091 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/0.4006, allocations: 0.9141 MB / 0.81 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/0.402, allocations: 0.5345 MB / 0.8105 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4021, allocations: 309.1 kB / 0.8108 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2818/0.684, allocations: 2.042 MB / 0.8128 GB, free: 86.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004962/0.6889, allocations: 2.4 MB / 0.8152 GB, free: 85.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05382/0.7427, allocations: 14.3 MB / 0.8291 GB, free: 82.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.7428, allocations: 1.156 kB / 0.8291 GB, free: 82.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.03657/0.7793, allocations: 12.5 MB / 0.8413 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.7794, allocations: 118.5 kB / 0.8414 GB, free: 79.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.7794, allocations: 7.812 kB / 0.8415 GB, free: 79.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01544/0.7949, allocations: 5.245 MB / 0.8466 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/0.7978, allocations: 0.5539 MB / 0.8471 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05023/0.8481, allocations: 22.49 MB / 0.8691 GB, free: 54.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003902/0.852, allocations: 483.5 kB / 0.8695 GB, free: 54.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/0.8523, allocations: 116 kB / 0.8697 GB, free: 53.92 MB / 0.5762 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.001028/0.8533, allocations: 0.5414 MB / 0.8702 GB, free: 53.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004558/0.8538, allocations: 310 kB / 0.8705 GB, free: 53.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03444/0.8882, allocations: 11.86 MB / 0.8821 GB, free: 41.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.8882, allocations: 28 kB / 0.8821 GB, free: 41.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/0.8883, allocations: 16 kB / 0.8821 GB, free: 41.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.879e-05/0.8883, allocations: 19.95 kB / 0.8821 GB, free: 41.07 MB / 0.5762 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.03821/0.9265, allocations: 14.22 MB / 0.896 GB, free: 26.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.9265, allocations: 1.406 kB / 0.896 GB, free: 26.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.9279, allocations: 239.7 kB / 0.8962 GB, free: 26.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01532/0.9432, allocations: 5.243 MB / 0.9014 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005562/0.9438, allocations: 55.98 kB / 0.9014 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0504/0.9942, allocations: 23.99 MB / 0.9248 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9942, allocations: 4 kB / 0.9248 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0459/1.04, allocations: 14.3 MB / 0.9388 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009355/1.041, allocations: 344.8 kB / 0.9391 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006197/1.042, allocations: 48 kB / 0.9392 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/1.045, allocations: 299.6 kB / 0.9395 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002093/1.047, allocations: 0.6111 MB / 0.9401 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.047, allocations: 63.98 kB / 0.9401 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002496/1.049, allocations: 1.479 MB / 0.9416 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/1.049, allocations: 0 / 0.9416 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004018/1.053, allocations: 1.177 MB / 0.9427 GB, free: 10.67 MB / 0.6075 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.0004966/1.054, allocations: 180 kB / 0.9429 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01848/1.072, allocations: 6.453 MB / 0.9492 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.072, allocations: 0.5625 kB / 0.9492 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01422/1.087, allocations: 4.267 MB / 0.9534 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.089, allocations: 270.2 kB / 0.9536 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.099, allocations: 5.566 MB / 0.9591 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/1.101, allocations: 1.252 MB / 0.9603 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.102, allocations: 183.4 kB / 0.9605 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/1.102, allocations: 0 / 0.9605 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of Templates: time 0.09031/1.192, allocations: 65.66 MB / 1.025 GB, free: 6.566 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.433589624706656] Failed to read output from testmodel.py, exit status != 0: 1.2008728510700166 1.214898616 1.031332826 Calling exit ...