Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.0009859/0.0009859, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.9841/0.9841, allocations: 177.1 MB / 200.3 MB, free: 5.703 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.001356/0.001356, allocations: 158.5 kB / 256.9 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2859/0.2859, allocations: 83.28 MB / 396.7 MB, free: 15.89 MB / 378.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 494.4 MB, free: 58.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.376e-05, allocations: 2.312 kB / 494.4 MB, free: 58.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.007541/0.007565, allocations: 12.61 MB / 0.4951 GB, free: 45.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007229/0.01479, allocations: 3.513 MB / 0.4986 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.01736, allocations: 31.94 kB / 0.4986 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.01852, allocations: 0.5554 MB / 0.4991 GB, free: 41.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.0224, allocations: 1.646 MB / 0.5007 GB, free: 40.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.02493, allocations: 1.529 MB / 0.5022 GB, free: 38.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003855/0.02879, allocations: 3.808 MB / 0.506 GB, free: 34.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008911/0.02968, allocations: 0.5854 MB / 0.5065 GB, free: 34.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.03263, allocations: 2.17 MB / 0.5086 GB, free: 32.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.03386, allocations: 1.6 MB / 0.5102 GB, free: 30.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003646/0.03423, allocations: 293.2 kB / 0.5105 GB, free: 30.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007649/0.03499, allocations: 451.8 kB / 0.5109 GB, free: 29.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.03535, allocations: 0.7972 MB / 0.5117 GB, free: 28.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.03617, allocations: 1.092 MB / 0.5128 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.03911, allocations: 2.929 MB / 0.5156 GB, free: 24.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.03912, allocations: 0 / 0.5156 GB, free: 24.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.03912, allocations: 0 / 0.5156 GB, free: 24.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.555e-05/0.03919, allocations: 0.5625 kB / 0.5156 GB, free: 24.86 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01224/0.05144, allocations: 7.72 MB / 0.5232 GB, free: 17.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.05149, allocations: 12.03 kB / 0.5232 GB, free: 17.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007756/0.05925, allocations: 2.737 MB / 0.5258 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/0.06264, allocations: 1.707 MB / 0.5275 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003896/0.06303, allocations: 0.8179 MB / 0.5283 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003551/0.06338, allocations: 223.9 kB / 0.5285 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.06536, allocations: 1.796 MB / 0.5303 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.06538, allocations: 0 / 0.5303 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.06553, allocations: 84 kB / 0.5304 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.06556, allocations: 52 kB / 0.5304 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.06683, allocations: 1.058 MB / 0.5314 GB, free: 8.238 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.007587/0.07442, allocations: 6.629 MB / 0.5379 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/0.07726, allocations: 1.963 MB / 0.5398 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008076/0.07807, allocations: 0.7412 MB / 0.5406 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.07826, allocations: 57.97 kB / 0.5406 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001231/0.07949, allocations: 1.188 MB / 0.5418 GB, free: 13.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 3.226e-06/0.0795, allocations: 0 / 0.5418 GB, free: 13.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.04682/0.1263, allocations: 20.15 MB / 0.5615 GB, free: 9.148 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.1264, allocations: 180.2 kB / 0.5616 GB, free: 8.938 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.1285, allocations: 1.996 MB / 0.5636 GB, free: 6.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000223/0.1288, allocations: 73.7 kB / 0.5636 GB, free: 6.852 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006696/0.1294, allocations: 1.297 MB / 0.5649 GB, free: 5.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000675/0.1301, allocations: 0.9334 MB / 0.5658 GB, free: 4.602 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006928/0.1308, allocations: 0.5884 MB / 0.5664 GB, free: 4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.1309, allocations: 476.8 kB / 0.5669 GB, free: 3.531 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.132, allocations: 0.8836 MB / 0.5677 GB, free: 2.621 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.1334, allocations: 1.356 MB / 0.569 GB, free: 1.113 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.1371, allocations: 3.519 MB / 0.5725 GB, free: 13.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.1372, allocations: 0 / 0.5725 GB, free: 13.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=415) (initialization): time 0.0147/0.1519, allocations: 8.26 MB / 0.5805 GB, free: 5.016 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.1519, allocations: 114.8 kB / 0.5807 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.1519, allocations: 8 kB / 0.5807 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01222/0.1642, allocations: 5.23 MB / 0.5858 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.1659, allocations: 0.5773 MB / 0.5863 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/0.1809, allocations: 9.113 MB / 0.5952 GB, free: 5.812 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.1831, allocations: 414 kB / 0.5956 GB, free: 5.406 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.1833, allocations: 91.95 kB / 0.5957 GB, free: 5.316 MB / 474.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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (328): * Single equations (assignments): 323 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007771/0.1841, allocations: 385.3 kB / 0.5961 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004903/0.1846, allocations: 390 kB / 0.5965 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.1979, allocations: 7.469 MB / 0.6037 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.198, allocations: 24 kB / 0.6038 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.198, allocations: 20 kB / 0.6038 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.198, allocations: 11.95 kB / 0.6038 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.2138, allocations: 9.54 MB / 0.6131 GB, free: 3.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.2138, allocations: 7.922 kB / 0.6131 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/0.2144, allocations: 243.7 kB / 0.6134 GB, free: 2.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2139/0.4283, allocations: 5.256 MB / 0.6185 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004701/0.4288, allocations: 54.36 kB / 0.6185 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/0.4519, allocations: 13.01 MB / 0.6312 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4519, allocations: 0 / 0.6312 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02477/0.4767, allocations: 8.277 MB / 0.6393 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009315/0.4776, allocations: 347.2 kB / 0.6397 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005519/0.4781, allocations: 45.22 kB / 0.6397 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.4795, allocations: 224.4 kB / 0.6399 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/0.4807, allocations: 0.5667 MB / 0.6405 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.4809, allocations: 47.12 kB / 0.6405 GB, free: 116.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008571/0.4817, allocations: 1.134 MB / 0.6416 GB, free: 116.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4817, allocations: 0 / 0.6416 GB, free: 116.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002494/0.4842, allocations: 1.179 MB / 0.6428 GB, free: 116.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0003701/0.4846, allocations: 183.9 kB / 0.643 GB, free: 116.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00578/0.4904, allocations: 4.204 MB / 0.6471 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4904, allocations: 0 / 0.6471 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004202/0.4946, allocations: 3.2 MB / 0.6502 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/0.4955, allocations: 316.8 kB / 0.6505 GB, free: 111 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005657/0.5012, allocations: 4.972 MB / 0.6553 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.5015, allocations: 0.5462 MB / 0.6559 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00047/0.502, allocations: 253.8 kB / 0.6561 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/0.5026, allocations: 388.7 kB / 0.6565 GB, free: 105.6 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5026, allocations: 0 / 0.6565 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Templates: time 0.06545/0.568, allocations: 75.39 MB / 0.7301 GB, free: 31.88 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.149665647186339]