Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08411/0.08411, allocations: 9.512 MB / 29.37 MB, free: 5.863 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001322/0.001322, allocations: 99.34 kB / 35.55 MB, free: 428 kB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8552/0.8552, allocations: 158.6 MB / 197.4 MB, free: 6.879 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.001521/0.001521, allocations: 172 kB / 249.9 MB, free: 5.426 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2562/0.2562, allocations: 59.7 MB / 312.9 MB, free: 6.316 MB / 298.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 351 MB, free: 168 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.297e-05, allocations: 14.25 kB / 351 MB, free: 152 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.1502/0.1502, allocations: 6.272 MB / 357.3 MB, free: 20.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004345/0.1546, allocations: 2.029 MB / 359.3 MB, free: 18.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009557/0.1555, allocations: 9.719 kB / 359.3 MB, free: 18.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007308/0.1563, allocations: 252.8 kB / 359.5 MB, free: 18.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.1582, allocations: 0.8938 MB / 360.4 MB, free: 18.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1594, allocations: 0.6568 MB / 361.1 MB, free: 17.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.1614, allocations: 1.671 MB / 362.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.1619, allocations: 227.8 kB / 363 MB, free: 16.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.1633, allocations: 0.9546 MB / 363.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1643, allocations: 0.7145 MB / 364.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004112/0.1647, allocations: 133.6 kB / 364.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.1653, allocations: 265.6 kB / 365 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.1656, allocations: 354.3 kB / 365.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00058/0.1661, allocations: 486.3 kB / 365.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.1677, allocations: 1.262 MB / 367.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1677, allocations: 0 / 367.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1677, allocations: 1.562 kB / 367.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.294e-05/0.1677, allocations: 0 / 367.1 MB, free: 13.81 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004407/0.1722, allocations: 2.697 MB / 369.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1722, allocations: 12.62 kB / 369.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.1746, allocations: 0.9625 MB / 370.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008197/0.1754, allocations: 0.5977 MB / 371.4 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.1756, allocations: 333.9 kB / 371.7 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.1757, allocations: 89.67 kB / 371.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.1763, allocations: 0.7041 MB / 372.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1764, allocations: 0 / 372.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.1764, allocations: 32.97 kB / 372.5 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.1764, allocations: 23.94 kB / 372.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.1769, allocations: 347.7 kB / 372.9 MB, free: 8.234 MB / 330.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.002733/0.1796, allocations: 1.916 MB / 374.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.1817, allocations: 1.182 MB / 376 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.182, allocations: 248.2 kB / 376.3 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.1821, allocations: 20.98 kB / 376.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/0.1824, allocations: 0.491 MB / 376.8 MB, free: 4.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 2.545e-06/0.1824, allocations: 0.7188 kB / 376.8 MB, free: 4.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=98): time 0.009765/0.1922, allocations: 4.535 MB / 381.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.1923, allocations: 111.8 kB / 381.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/0.1931, allocations: 0.8814 MB / 382.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.1932, allocations: 45.7 kB / 382.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.1934, allocations: 371.4 kB / 382.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.1937, allocations: 380.7 kB / 383.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/0.194, allocations: 299.3 kB / 383.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.194, allocations: 305.1 kB / 383.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.1946, allocations: 394.1 kB / 384 MB, free: 12.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.1952, allocations: 0.5549 MB / 384.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.1969, allocations: 1.549 MB / 386.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.1969, allocations: 7.938 kB / 386.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004959/0.2019, allocations: 2.776 MB / 388.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.2019, allocations: 63.39 kB / 389 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2019, allocations: 4 kB / 389 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004323/0.2062, allocations: 1.62 MB / 390.6 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/0.2071, allocations: 287.6 kB / 390.9 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005651/0.2127, allocations: 3.55 MB / 394.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/0.2137, allocations: 171.1 kB / 394.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/0.2138, allocations: 43.97 kB / 394.7 MB, free: 2.059 MB / 346.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004188/0.2142, allocations: 231 kB / 394.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.2144, allocations: 107.8 kB / 395 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.2185, allocations: 2.31 MB / 397.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2185, allocations: 8 kB / 397.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.2185, allocations: 11.94 kB / 397.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2185, allocations: 9.094 kB / 397.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/0.2236, allocations: 2.999 MB / 400.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.2236, allocations: 0 / 400.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.2239, allocations: 107.9 kB / 400.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/0.2277, allocations: 1.578 MB / 402 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/0.2278, allocations: 21.3 kB / 402 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005741/0.2335, allocations: 4.788 MB / 406.8 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.2335, allocations: 3.938 kB / 406.8 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/0.2382, allocations: 2.65 MB / 409.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.2385, allocations: 126.9 kB / 409.6 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.2386, allocations: 24 kB / 409.6 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.2391, allocations: 75.92 kB / 409.7 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/0.2394, allocations: 197.2 kB / 409.9 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.2395, allocations: 20 kB / 409.9 MB, free: 2.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003796/0.2398, allocations: 463.7 kB / 410.4 MB, free: 2.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2398, allocations: 0 / 410.4 MB, free: 2.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001194/0.241, allocations: 491.6 kB / 410.8 MB, free: 1.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002522/0.2413, allocations: 127.5 kB / 411 MB, free: 1.414 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.2439, allocations: 1.638 MB / 412.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/0.244, allocations: 12.75 kB / 412.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.2456, allocations: 1.113 MB / 413.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.2461, allocations: 137.1 kB / 413.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.2494, allocations: 2.077 MB / 415.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.2496, allocations: 245.6 kB / 416.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000291/0.2499, allocations: 115.8 kB / 416.3 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.2502, allocations: 187.3 kB / 416.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2502, allocations: 0 / 416.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of Templates: time 0.0324/0.2826, allocations: 27.64 MB / 444.1 MB, free: 280 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.730558108072728]