Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001499/0.001499, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.378/1.378, allocations: 230.6 MB / 253.4 MB, free: 14.3 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.001525/0.001525, allocations: 212.8 kB / 310 MB, free: 3.051 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.5657/0.5657, allocations: 107.2 MB / 473.6 MB, free: 29.7 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_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.002405/0.002405, allocations: 91.08 kB / 0.6343 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1221, allocations: 80.15 MB / 0.7126 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01313/0.1353, allocations: 11.86 MB / 0.7242 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007423/0.1427, allocations: 3.481 MB / 0.7276 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.1446, allocations: 35.88 kB / 0.7276 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.1464, allocations: 0.5576 MB / 0.7281 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.1511, allocations: 1.589 MB / 0.7297 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.1545, allocations: 1.527 MB / 0.7312 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004568/0.1591, allocations: 3.858 MB / 0.7349 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000913/0.16, allocations: 0.5854 MB / 0.7355 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.1619, allocations: 1.614 MB / 0.7371 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.164, allocations: 1.847 MB / 0.7389 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000455/0.1645, allocations: 300 kB / 0.7392 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008139/0.1653, allocations: 459.8 kB / 0.7396 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006751/0.166, allocations: 0.7896 MB / 0.7404 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.1672, allocations: 1.352 MB / 0.7417 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.1714, allocations: 4.123 MB / 0.7457 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1714, allocations: 4 kB / 0.7457 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1714, allocations: 0 / 0.7457 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.924e-05/0.1715, allocations: 0 / 0.7457 GB, free: 5.051 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.02337/0.1949, allocations: 7.48 MB / 0.7531 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1949, allocations: 12.03 kB / 0.7531 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/0.2097, allocations: 2.32 MB / 0.7553 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003597/0.2133, allocations: 1.848 MB / 0.7571 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008171/0.2141, allocations: 0.8218 MB / 0.7579 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004306/0.2145, allocations: 227.9 kB / 0.7582 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006219/0.2207, allocations: 3.105 MB / 0.7612 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.2208, allocations: 0 / 0.7612 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.221, allocations: 87.94 kB / 0.7613 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.2211, allocations: 55.98 kB / 0.7613 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005933/0.227, allocations: 2.842 MB / 0.7641 GB, free: 1.828 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.01682/0.2438, allocations: 7.459 MB / 0.7714 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.2544, allocations: 3.61 MB / 0.7749 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003947/0.2583, allocations: 1.842 MB / 0.7767 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.2586, allocations: 37.98 kB / 0.7767 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004578/0.2631, allocations: 2.31 MB / 0.779 GB, free: 2.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=250): time 4.458e-06/0.2631, allocations: 0 / 0.779 GB, free: 2.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=250): time 0.1198/0.3829, allocations: 28.6 MB / 0.8069 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.383, allocations: 188.3 kB / 0.8071 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003752/0.3868, allocations: 2.292 MB / 0.8094 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004841/0.3873, allocations: 69.7 kB / 0.8094 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.3883, allocations: 1.197 MB / 0.8106 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/0.3896, allocations: 0.9218 MB / 0.8115 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.3909, allocations: 0.5542 MB / 0.812 GB, free: 332 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.391, allocations: 301.1 kB / 0.8123 GB, free: 28 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2606/0.6516, allocations: 2.074 MB / 0.8143 GB, free: 86.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00475/0.6564, allocations: 2.446 MB / 0.8167 GB, free: 86.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05463/0.711, allocations: 14.65 MB / 0.831 GB, free: 82.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.711, allocations: 2.375 kB / 0.831 GB, free: 82.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.03639/0.7474, allocations: 12.46 MB / 0.8432 GB, free: 79.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.7475, allocations: 118.7 kB / 0.8433 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.7475, allocations: 7.938 kB / 0.8433 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01646/0.7639, allocations: 5.432 MB / 0.8486 GB, free: 75.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.7667, allocations: 0.5656 MB / 0.8492 GB, free: 74.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05374/0.8205, allocations: 22.96 MB / 0.8716 GB, free: 51.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/0.8247, allocations: 492.7 kB / 0.8721 GB, free: 51.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005809/0.8252, allocations: 120 kB / 0.8722 GB, free: 51.38 MB / 0.5762 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.001503/0.8267, allocations: 0.5333 MB / 0.8727 GB, free: 50.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007679/0.8275, allocations: 306.9 kB / 0.873 GB, free: 50.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0353/0.8628, allocations: 11.91 MB / 0.8846 GB, free: 38.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.8628, allocations: 27.98 kB / 0.8847 GB, free: 38.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.671e-05/0.8629, allocations: 23.94 kB / 0.8847 GB, free: 38.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.196e-05/0.8629, allocations: 11.95 kB / 0.8847 GB, free: 38.46 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.03966/0.9026, allocations: 14.29 MB / 0.8986 GB, free: 24.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.9026, allocations: 7.938 kB / 0.8987 GB, free: 24.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.9041, allocations: 245.3 kB / 0.8989 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01546/0.9196, allocations: 5.276 MB / 0.904 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005616/0.9201, allocations: 47.98 kB / 0.9041 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05322/0.9734, allocations: 23.99 MB / 0.9275 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.9734, allocations: 7.172 kB / 0.9275 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04716/1.021, allocations: 14.37 MB / 0.9416 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009493/1.021, allocations: 347.2 kB / 0.9419 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009384/1.022, allocations: 48 kB / 0.9419 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003491/1.026, allocations: 299.6 kB / 0.9422 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002376/1.028, allocations: 0.6112 MB / 0.9428 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004488/1.029, allocations: 63.98 kB / 0.9429 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00287/1.032, allocations: 1.518 MB / 0.9444 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.032, allocations: 0 / 0.9444 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004278/1.036, allocations: 1.2 MB / 0.9455 GB, free: 7.754 MB / 0.6075 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.00063/1.037, allocations: 185.1 kB / 0.9457 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0197/1.056, allocations: 6.617 MB / 0.9522 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.056, allocations: 0 / 0.9522 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01361/1.07, allocations: 4.297 MB / 0.9564 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/1.073, allocations: 273.5 kB / 0.9566 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.085, allocations: 5.729 MB / 0.9622 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/1.086, allocations: 1.269 MB / 0.9635 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.088, allocations: 183.4 kB / 0.9636 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of SimCode: time 1.042e-06/1.088, allocations: 0 / 0.9636 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of Templates: time 0.0909/1.178, allocations: 66.55 MB / 1.029 GB, free: 2.344 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.467253981158137] Failed to read output from testmodel.py, exit status != 0: 1.1871655341237783 1.2024579260000001 1.027979027 Calling exit ...