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.00163/0.00163, allocations: 79.28 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.417/1.417, allocations: 177.2 MB / 200.1 MB, free: 8.324 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.001555/0.001555, allocations: 160.7 kB / 256.6 MB, free: 4.277 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.517/0.517, allocations: 59.75 MB / 372.7 MB, free: 46.87 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.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.002514/0.002514, allocations: 90.39 kB / 0.5224 GB, free: 29.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.155, allocations: 73.27 MB / 0.594 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01373/0.1687, allocations: 11.81 MB / 0.6055 GB, free: 3.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009194/0.1779, allocations: 3.477 MB / 0.6089 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.1807, allocations: 31.94 kB / 0.6089 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.1827, allocations: 0.5654 MB / 0.6095 GB, free: 15 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006228/0.1889, allocations: 1.59 MB / 0.611 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004398/0.1933, allocations: 1.521 MB / 0.6125 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006455/0.1997, allocations: 3.866 MB / 0.6163 GB, free: 8.023 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.201, allocations: 0.5738 MB / 0.6169 GB, free: 7.402 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.2038, allocations: 1.622 MB / 0.6184 GB, free: 5.773 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.2069, allocations: 1.854 MB / 0.6203 GB, free: 3.91 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006741/0.2076, allocations: 296 kB / 0.6205 GB, free: 3.621 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.2087, allocations: 459.8 kB / 0.621 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008521/0.2095, allocations: 0.7818 MB / 0.6217 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.2111, allocations: 1.352 MB / 0.6231 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006335/0.2174, allocations: 4.119 MB / 0.6271 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.2175, allocations: 4 kB / 0.6271 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2175, allocations: 0 / 0.6271 GB, free: 12.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001573/0.2176, allocations: 0 / 0.6271 GB, free: 12.89 MB / 494.1 MB 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.02654/0.2442, allocations: 7.487 MB / 0.6344 GB, free: 5.293 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.2442, allocations: 11.98 kB / 0.6344 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.2601, allocations: 2.327 MB / 0.6367 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004901/0.265, allocations: 1.84 MB / 0.6385 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009125/0.266, allocations: 0.8257 MB / 0.6393 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006314/0.2666, allocations: 220 kB / 0.6395 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006893/0.2735, allocations: 3.105 MB / 0.6425 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.2735, allocations: 0 / 0.6425 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.2738, allocations: 91.94 kB / 0.6426 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/0.2738, allocations: 48 kB / 0.6427 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006583/0.2804, allocations: 2.842 MB / 0.6454 GB, free: 9.664 MB / 0.4981 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.01952/0.3, allocations: 7.469 MB / 0.6527 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.3116, allocations: 3.618 MB / 0.6563 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004756/0.3164, allocations: 1.838 MB / 0.6581 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.3167, allocations: 37.98 kB / 0.6581 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005271/0.3219, allocations: 2.306 MB / 0.6603 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=250): time 5.42e-06/0.3219, allocations: 0 / 0.6603 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1316/0.4535, allocations: 28.6 MB / 0.6883 GB, free: 13.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.4537, allocations: 180.2 kB / 0.6885 GB, free: 13.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/0.4576, allocations: 2.3 MB / 0.6907 GB, free: 10.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006173/0.4582, allocations: 73.77 kB / 0.6908 GB, free: 10.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.4592, allocations: 1.193 MB / 0.6919 GB, free: 9.641 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/0.4604, allocations: 0.9218 MB / 0.6928 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.4615, allocations: 0.5581 MB / 0.6934 GB, free: 8.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4617, allocations: 305.1 kB / 0.6937 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004773/0.4664, allocations: 2.074 MB / 0.6957 GB, free: 5.742 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/0.4715, allocations: 2.446 MB / 0.6981 GB, free: 3.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06091/0.5324, allocations: 14.64 MB / 0.7124 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/0.5324, allocations: 4 kB / 0.7124 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.4253/0.9577, allocations: 12.47 MB / 0.7246 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.974e-05/0.9578, allocations: 118.5 kB / 0.7247 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/0.9578, allocations: 7.094 kB / 0.7247 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0207/0.9785, allocations: 5.434 MB / 0.73 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/0.9817, allocations: 0.5593 MB / 0.7305 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05707/1.039, allocations: 22.95 MB / 0.7529 GB, free: 94.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/1.044, allocations: 493.3 kB / 0.7534 GB, free: 94.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005089/1.044, allocations: 120 kB / 0.7535 GB, free: 93.99 MB / 0.5606 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.001171/1.045, allocations: 0.5435 MB / 0.7541 GB, free: 93.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000596/1.046, allocations: 308.6 kB / 0.7544 GB, free: 93.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03777/1.084, allocations: 11.92 MB / 0.766 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/1.084, allocations: 27.94 kB / 0.766 GB, free: 81.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/1.084, allocations: 20 kB / 0.766 GB, free: 81.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.138e-05/1.084, allocations: 15.89 kB / 0.7661 GB, free: 81.09 MB / 0.5606 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.04166/1.126, allocations: 14.29 MB / 0.78 GB, free: 66.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.126, allocations: 4 kB / 0.78 GB, free: 66.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.127, allocations: 255.5 kB / 0.7802 GB, free: 66.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01671/1.144, allocations: 5.264 MB / 0.7854 GB, free: 61.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006299/1.145, allocations: 51.98 kB / 0.7854 GB, free: 61.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05474/1.199, allocations: 23.98 MB / 0.8089 GB, free: 36.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.199, allocations: 8 kB / 0.8089 GB, free: 36.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04263/1.242, allocations: 14.38 MB / 0.8229 GB, free: 22.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.243, allocations: 348.5 kB / 0.8232 GB, free: 22.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000672/1.244, allocations: 44.88 kB / 0.8233 GB, free: 22.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.247, allocations: 299.6 kB / 0.8236 GB, free: 21.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002014/1.249, allocations: 0.6034 MB / 0.8242 GB, free: 21.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.249, allocations: 63.98 kB / 0.8242 GB, free: 21.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001937/1.251, allocations: 1.522 MB / 0.8257 GB, free: 19.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.251, allocations: 0 / 0.8257 GB, free: 19.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003319/1.254, allocations: 1.2 MB / 0.8269 GB, free: 18.4 MB / 0.5606 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.0004059/1.255, allocations: 177.2 kB / 0.827 GB, free: 18.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01751/1.272, allocations: 6.619 MB / 0.8335 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.272, allocations: 0 / 0.8335 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01311/1.285, allocations: 4.317 MB / 0.8377 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.288, allocations: 274.3 kB / 0.838 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009081/1.297, allocations: 5.66 MB / 0.8435 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.298, allocations: 1.262 MB / 0.8447 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001205/1.299, allocations: 266.5 kB / 0.845 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/1.3, allocations: 172.5 kB / 0.8452 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/1.3, allocations: 0 / 0.8452 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.1095/1.409, allocations: 71 MB / 0.9145 GB, free: 8.621 MB / 0.6387 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 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.234478477039374] Failed to read output from testmodel.py, exit status != 0: 1.4185885379556566 1.43366285 1.212733806 Calling exit ...