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.001112/0.001112, allocations: 80.94 kB / 19.94 MB, free: 4.543 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 1.071/1.071, allocations: 177.2 MB / 200.3 MB, free: 5.398 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.001301/0.001301, allocations: 156.6 kB / 257 MB, free: 12.83 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.4724/0.4724, allocations: 80.25 MB / 340.5 MB, free: 9.523 MB / 314.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.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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 383.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.616e-05, allocations: 5.125 kB / 383.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.009877/0.009903, allocations: 12.58 MB / 396.5 MB, free: 1.949 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008599/0.0185, allocations: 3.667 MB / 400.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.02096, allocations: 31.94 kB / 400.2 MB, free: 14.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.02227, allocations: 0.5808 MB / 400.8 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.02626, allocations: 1.613 MB / 402.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.02892, allocations: 1.54 MB / 403.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004535/0.03345, allocations: 3.74 MB / 407.7 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.03445, allocations: 0.6244 MB / 408.3 MB, free: 6.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.03792, allocations: 2.15 MB / 410.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.03973, allocations: 1.569 MB / 412 MB, free: 2.301 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006522/0.04039, allocations: 284 kB / 412.3 MB, free: 2.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009413/0.04133, allocations: 459.8 kB / 412.7 MB, free: 1.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.04186, allocations: 0.7778 MB / 413.5 MB, free: 0.793 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.04298, allocations: 1.086 MB / 414.6 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.04637, allocations: 2.883 MB / 417.5 MB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.04638, allocations: 4 kB / 417.5 MB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04638, allocations: 0 / 417.5 MB, free: 12.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.235e-05/0.04645, allocations: 3.938 kB / 417.5 MB, free: 12.8 MB / 394.7 MB 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.01197/0.05842, allocations: 6.622 MB / 424.1 MB, free: 6.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.05847, allocations: 12.03 kB / 424.1 MB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009221/0.06769, allocations: 2.907 MB / 427 MB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.07015, allocations: 1.212 MB / 428.2 MB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004556/0.0706, allocations: 0.81 MB / 429 MB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.07088, allocations: 216 kB / 429.3 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.07308, allocations: 1.833 MB / 431.1 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.07311, allocations: 0 / 431.1 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.07326, allocations: 87.94 kB / 431.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.07328, allocations: 52 kB / 431.2 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.07474, allocations: 0.892 MB / 432.1 MB, free: 13.73 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.008576/0.08332, allocations: 5.017 MB / 437.1 MB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.08634, allocations: 1.836 MB / 439 MB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007499/0.08709, allocations: 0.6276 MB / 439.6 MB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.08728, allocations: 45.98 kB / 439.6 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.08857, allocations: 1.184 MB / 440.8 MB, free: 4.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 5.63e-06/0.08857, allocations: 0 / 440.8 MB, free: 4.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.2738/0.3623, allocations: 20.03 MB / 460.9 MB, free: 59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.3624, allocations: 182.2 kB / 461 MB, free: 58.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.364, allocations: 1.821 MB / 462.9 MB, free: 57.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003861/0.3644, allocations: 73.7 kB / 462.9 MB, free: 57.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/0.3648, allocations: 0.8036 MB / 463.7 MB, free: 57.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005912/0.3654, allocations: 0.9213 MB / 464.6 MB, free: 56.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006509/0.366, allocations: 0.5516 MB / 465.2 MB, free: 56.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.366, allocations: 308.9 kB / 465.5 MB, free: 56.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.3672, allocations: 0.8171 MB / 466.3 MB, free: 55.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.3685, allocations: 1.18 MB / 467.5 MB, free: 54.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003723/0.3722, allocations: 3.389 MB / 470.9 MB, free: 51.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.3722, allocations: 0 / 470.9 MB, free: 51.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01373/0.3859, allocations: 7.603 MB / 478.5 MB, free: 43.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.386, allocations: 110.8 kB / 478.6 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.386, allocations: 8.625 kB / 478.6 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/0.3985, allocations: 4.978 MB / 483.6 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.4006, allocations: 0.6909 MB / 484.3 MB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.4146, allocations: 7.816 MB / 492.1 MB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.417, allocations: 403.8 kB / 492.5 MB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.4172, allocations: 87.95 kB / 492.6 MB, free: 30.42 MB / 410.7 MB 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 (324): * Single equations (assignments): 319 * 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 {(64,24,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007872/0.418, allocations: 340.6 kB / 492.9 MB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/0.4184, allocations: 255.7 kB / 493.2 MB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.4306, allocations: 7.019 MB / 0.4885 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.4306, allocations: 28 kB / 0.4885 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/0.4306, allocations: 16 kB / 0.4885 GB, free: 22.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/0.4307, allocations: 15.95 kB / 0.4885 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.4466, allocations: 8.435 MB / 0.4967 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/0.4466, allocations: 0 / 0.4967 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.4477, allocations: 267.1 kB / 0.497 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/0.4593, allocations: 5.137 MB / 0.502 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005285/0.4599, allocations: 52.75 kB / 0.5021 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.4745, allocations: 10.51 MB / 0.5123 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4745, allocations: 0 / 0.5123 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.4898, allocations: 7.695 MB / 0.5198 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008814/0.4906, allocations: 290.7 kB / 0.5201 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.491, allocations: 44 kB / 0.5202 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.4922, allocations: 219.8 kB / 0.5204 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/0.4935, allocations: 0.5721 MB / 0.5209 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.4936, allocations: 47.42 kB / 0.521 GB, free: 5.078 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008738/0.4945, allocations: 0.9651 MB / 0.5219 GB, free: 4.105 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4945, allocations: 4 kB / 0.5219 GB, free: 4.102 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002659/0.4972, allocations: 1.177 MB / 0.5231 GB, free: 2.957 MB / 426.7 MB 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.0003697/0.4975, allocations: 150.8 kB / 0.5232 GB, free: 2.805 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007085/0.5046, allocations: 3.917 MB / 0.527 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.675e-05/0.5047, allocations: 28 kB / 0.5271 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005137/0.5098, allocations: 2.855 MB / 0.5299 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.5114, allocations: 320.8 kB / 0.5302 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007788/0.5192, allocations: 4.833 MB / 0.5349 GB, free: 6.648 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.5197, allocations: 0.5361 MB / 0.5354 GB, free: 6.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008997/0.5206, allocations: 250.6 kB / 0.5356 GB, free: 5.844 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/0.5213, allocations: 359.3 kB / 0.536 GB, free: 5.492 MB / 442.7 MB Notification: Performance of SimCode: time 2.324e-06/0.5213, allocations: 5.094 kB / 0.536 GB, free: 5.488 MB / 442.7 MB Notification: Performance of Templates: time 0.08332/0.6047, allocations: 71.14 MB / 0.6055 GB, free: 14.88 MB / 0.5105 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.16638533398509]