Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.000892/0.000892, 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.014/1.014, allocations: 177.2 MB / 200.3 MB, free: 5.395 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.001277/0.001277, allocations: 155.7 kB / 257 MB, free: 12.85 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.4448/0.4448, allocations: 80.24 MB / 340.5 MB, free: 9.582 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 383.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.21e-05, allocations: 4.844 kB / 383.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009895/0.009917, allocations: 12.44 MB / 396.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008589/0.01851, allocations: 3.662 MB / 400 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.021, allocations: 31.94 kB / 400 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.0226, allocations: 0.5732 MB / 400.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.02703, allocations: 1.645 MB / 402.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.02962, allocations: 1.525 MB / 403.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004982/0.0346, allocations: 3.728 MB / 407.5 MB, free: 6.961 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.03562, allocations: 0.6166 MB / 408.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.0396, allocations: 2.146 MB / 410.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.04134, allocations: 1.589 MB / 411.8 MB, free: 2.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003877/0.04173, allocations: 284 kB / 412.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007695/0.0425, allocations: 451.7 kB / 412.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004572/0.04296, allocations: 0.7739 MB / 413.3 MB, free: 1.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.04422, allocations: 1.086 MB / 414.4 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.04711, allocations: 2.887 MB / 417.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.04711, allocations: 0 / 417.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.04712, allocations: 0 / 417.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.354e-05/0.04716, allocations: 0 / 417.3 MB, free: 13.04 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01325/0.0604, allocations: 6.63 MB / 423.9 MB, free: 6.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.06045, allocations: 16.03 kB / 423.9 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.07215, allocations: 2.91 MB / 426.8 MB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.07512, allocations: 1.201 MB / 428 MB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008495/0.07597, allocations: 0.8139 MB / 428.8 MB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004711/0.07644, allocations: 223.9 kB / 429.1 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.07932, allocations: 1.829 MB / 430.9 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.07935, allocations: 0 / 430.9 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.07954, allocations: 88 kB / 431 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.07958, allocations: 48 kB / 431 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.08135, allocations: 0.8879 MB / 431.9 MB, free: 13.96 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.01078/0.09213, allocations: 4.958 MB / 436.9 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003966/0.0961, allocations: 1.832 MB / 438.7 MB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.09713, allocations: 0.6121 MB / 439.3 MB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.09735, allocations: 53.98 kB / 439.4 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/0.09884, allocations: 1.177 MB / 440.5 MB, free: 5.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=247): time 6.021e-06/0.09885, allocations: 0 / 440.5 MB, free: 5.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=247): time 0.2573/0.3561, allocations: 21.02 MB / 461.6 MB, free: 46.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.3562, allocations: 189.2 kB / 461.7 MB, free: 46.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.3579, allocations: 1.824 MB / 463.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003527/0.3582, allocations: 71.17 kB / 463.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.3586, allocations: 0.8066 MB / 464.4 MB, free: 45.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006074/0.3592, allocations: 0.9068 MB / 465.4 MB, free: 45.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006086/0.3598, allocations: 0.5512 MB / 465.9 MB, free: 45.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.3599, allocations: 305.1 kB / 466.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.361, allocations: 0.8177 MB / 467 MB, free: 44.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.3622, allocations: 1.178 MB / 468.2 MB, free: 44.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.3657, allocations: 3.351 MB / 471.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.3657, allocations: 5.125 kB / 471.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01255/0.3782, allocations: 7.608 MB / 479.2 MB, free: 33.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.3783, allocations: 122.4 kB / 479.3 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.3783, allocations: 4 kB / 479.3 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/0.3906, allocations: 5.108 MB / 484.4 MB, free: 28.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.3924, allocations: 0.5483 MB / 484.9 MB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.4065, allocations: 7.998 MB / 492.9 MB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.4091, allocations: 409.6 kB / 493.3 MB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.4093, allocations: 89.83 kB / 493.4 MB, free: 21.52 MB / 410.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 order3_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 (319): * Single equations (assignments): 314 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008239/0.4101, allocations: 338.9 kB / 493.8 MB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/0.4106, allocations: 259.4 kB / 494 MB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.4228, allocations: 7.015 MB / 0.4893 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/0.4228, allocations: 24 kB / 0.4893 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.668e-05/0.4229, allocations: 20 kB / 0.4893 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-05/0.4229, allocations: 11.95 kB / 0.4893 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.4385, allocations: 8.419 MB / 0.4976 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/0.4385, allocations: 4 kB / 0.4976 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009281/0.4394, allocations: 238.4 kB / 0.4978 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0121/0.4515, allocations: 5.177 MB / 0.5028 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005231/0.452, allocations: 47.98 kB / 0.5029 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/0.4688, allocations: 10.5 MB / 0.5131 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4688, allocations: 4 kB / 0.5132 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.4841, allocations: 7.685 MB / 0.5207 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009553/0.4851, allocations: 293.2 kB / 0.5209 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/0.4854, allocations: 44 kB / 0.521 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.4867, allocations: 219.8 kB / 0.5212 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001502/0.4882, allocations: 0.5757 MB / 0.5217 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.4883, allocations: 43.98 kB / 0.5218 GB, free: 13.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001248/0.4896, allocations: 0.9711 MB / 0.5227 GB, free: 12.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4896, allocations: 0 / 0.5227 GB, free: 12.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002985/0.4925, allocations: 1.169 MB / 0.5239 GB, free: 11.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0004373/0.493, allocations: 158.3 kB / 0.524 GB, free: 10.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006755/0.4997, allocations: 3.984 MB / 0.5279 GB, free: 6.941 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-05/0.4998, allocations: 29.27 kB / 0.528 GB, free: 6.914 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005118/0.5049, allocations: 2.854 MB / 0.5307 GB, free: 4.055 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5064, allocations: 314.7 kB / 0.531 GB, free: 3.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008824/0.5152, allocations: 4.801 MB / 0.5357 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007357/0.5159, allocations: 0.5399 MB / 0.5363 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000987/0.5169, allocations: 254.3 kB / 0.5365 GB, free: 14.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.518, allocations: 360.4 kB / 0.5368 GB, free: 13.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.475e-06/0.518, allocations: 0 / 0.5368 GB, free: 13.8 MB / 458.7 MB Notification: Performance of Templates: time 0.08527/0.6032, allocations: 71.47 MB / 0.6066 GB, free: 6.891 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.882163084112108]