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.0009805/0.0009805, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.9409/0.9409, allocations: 177.1 MB / 201 MB, free: 5.695 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.00148/0.00148, allocations: 148.7 kB / 257.7 MB, free: 12.97 MB / 250.7 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.3022/0.3022, allocations: 80.23 MB / 394.5 MB, free: 3.051 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 491.1 MB, free: 62.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.084e-05, allocations: 2.312 kB / 491.1 MB, free: 62.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.007475/0.007496, allocations: 12.65 MB / 0.4919 GB, free: 50.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006757/0.01425, allocations: 3.522 MB / 0.4954 GB, free: 46.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.01606, allocations: 28 kB / 0.4954 GB, free: 46.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.01731, allocations: 0.5653 MB / 0.496 GB, free: 46.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005344/0.02266, allocations: 1.646 MB / 0.4976 GB, free: 44.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003953/0.02661, allocations: 1.541 MB / 0.4991 GB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.03721, allocations: 3.833 MB / 0.5028 GB, free: 39.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.03863, allocations: 0.5824 MB / 0.5034 GB, free: 38.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004162/0.04279, allocations: 2.189 MB / 0.5055 GB, free: 36.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.04553, allocations: 1.617 MB / 0.5071 GB, free: 34.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007526/0.04628, allocations: 297.1 kB / 0.5074 GB, free: 34.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007599/0.04704, allocations: 455.7 kB / 0.5078 GB, free: 33.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.04742, allocations: 0.805 MB / 0.5086 GB, free: 33.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000922/0.04834, allocations: 1.099 MB / 0.5097 GB, free: 31.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.05067, allocations: 2.941 MB / 0.5125 GB, free: 29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.05067, allocations: 0.6562 kB / 0.5125 GB, free: 29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05067, allocations: 1.25 kB / 0.5126 GB, free: 29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.738e-05/0.05074, allocations: 0 / 0.5126 GB, free: 29 MB / 410.7 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.0113/0.06204, allocations: 7.763 MB / 0.5201 GB, free: 21.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.06208, allocations: 16.03 kB / 0.5201 GB, free: 21.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007594/0.06968, allocations: 2.725 MB / 0.5228 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.0716, allocations: 1.719 MB / 0.5245 GB, free: 16.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.07196, allocations: 0.8217 MB / 0.5253 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.07225, allocations: 220 kB / 0.5255 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.07426, allocations: 1.804 MB / 0.5273 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.07429, allocations: 0 / 0.5273 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.07447, allocations: 88 kB / 0.5273 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.0745, allocations: 52 kB / 0.5274 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.07603, allocations: 1.05 MB / 0.5284 GB, free: 12.33 MB / 410.7 MB 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.008395/0.08443, allocations: 6.668 MB / 0.5349 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/0.08763, allocations: 1.96 MB / 0.5368 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/0.08838, allocations: 0.7412 MB / 0.5376 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.08855, allocations: 61.92 kB / 0.5376 GB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.08964, allocations: 1.196 MB / 0.5388 GB, free: 1.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=250): time 3.837e-06/0.08964, allocations: 0 / 0.5388 GB, free: 1.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.05292/0.1426, allocations: 21.25 MB / 0.5595 GB, free: 12.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.1426, allocations: 188.2 kB / 0.5597 GB, free: 11.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.1446, allocations: 1.997 MB / 0.5617 GB, free: 9.875 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000269/0.1449, allocations: 73.7 kB / 0.5617 GB, free: 9.797 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007607/0.1456, allocations: 1.297 MB / 0.563 GB, free: 8.488 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008/0.1464, allocations: 0.9374 MB / 0.5639 GB, free: 7.543 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007841/0.1472, allocations: 0.5963 MB / 0.5645 GB, free: 6.934 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1473, allocations: 476.8 kB / 0.565 GB, free: 6.465 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.1486, allocations: 0.8914 MB / 0.5658 GB, free: 5.547 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.1501, allocations: 1.364 MB / 0.5672 GB, free: 4.031 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004214/0.1543, allocations: 3.575 MB / 0.5707 GB, free: 236 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.1543, allocations: 0 / 0.5707 GB, free: 236 kB / 442.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.0166/0.1709, allocations: 8.354 MB / 0.5788 GB, free: 7.785 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/0.171, allocations: 122.8 kB / 0.5789 GB, free: 7.641 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.171, allocations: 4 kB / 0.5789 GB, free: 7.637 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01526/0.1863, allocations: 5.383 MB / 0.5842 GB, free: 2.246 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.1886, allocations: 0.5656 MB / 0.5847 GB, free: 1.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02303/0.2117, allocations: 9.402 MB / 0.5939 GB, free: 8.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.2148, allocations: 410 kB / 0.5943 GB, free: 7.754 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/0.2151, allocations: 95.95 kB / 0.5944 GB, free: 7.66 MB / 474.7 MB 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 (330): * Single equations (assignments): 325 * 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.00092/0.216, allocations: 384.9 kB / 0.5948 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006404/0.2167, allocations: 401.9 kB / 0.5952 GB, free: 6.863 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/0.234, allocations: 7.477 MB / 0.6025 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.2341, allocations: 24 kB / 0.6025 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.712e-05/0.2341, allocations: 20 kB / 0.6025 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.2341, allocations: 11.95 kB / 0.6025 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.252, allocations: 9.547 MB / 0.6118 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.252, allocations: 0 / 0.6118 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.2528, allocations: 247.6 kB / 0.6121 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/0.2659, allocations: 5.242 MB / 0.6172 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2039/0.4698, allocations: 48.53 kB / 0.6172 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01777/0.4875, allocations: 13 MB / 0.6299 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4875, allocations: 0 / 0.6299 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/0.5031, allocations: 8.27 MB / 0.638 GB, free: 127.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/0.5037, allocations: 356.6 kB / 0.6384 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003299/0.504, allocations: 44.34 kB / 0.6384 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.5052, allocations: 223.2 kB / 0.6386 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/0.5064, allocations: 0.5743 MB / 0.6392 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.5065, allocations: 51.36 kB / 0.6392 GB, free: 127.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008616/0.5074, allocations: 1.135 MB / 0.6403 GB, free: 127.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5074, allocations: 0 / 0.6403 GB, free: 127.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002484/0.5099, allocations: 1.194 MB / 0.6415 GB, free: 126.4 MB / 490.7 MB 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.0003648/0.5102, allocations: 181.4 kB / 0.6417 GB, free: 126.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006428/0.5166, allocations: 4.317 MB / 0.6459 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5166, allocations: 0 / 0.6459 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004469/0.5211, allocations: 3.182 MB / 0.649 GB, free: 119.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.5223, allocations: 315.4 kB / 0.6493 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.528, allocations: 5.02 MB / 0.6542 GB, free: 115.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.5284, allocations: 0.5404 MB / 0.6547 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006913/0.529, allocations: 262.1 kB / 0.655 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/0.5296, allocations: 390.1 kB / 0.6553 GB, free: 113.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5296, allocations: 0 / 0.6553 GB, free: 113.9 MB / 490.7 MB Notification: Performance of Templates: time 0.06946/0.5991, allocations: 79.21 MB / 0.7327 GB, free: 34.97 MB / 490.7 MB " [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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9306713729165494]