Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 119.6 kB / 18.41 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001362, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2812/0.2812, allocations: 38 MB / 337.2 MB, free: 12.92 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003122/0.003122, allocations: 72.58 kB / 467.5 MB, free: 27.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1299, allocations: 58.06 MB / 0.5133 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.011/0.141, allocations: 7.45 MB / 0.5206 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005469/0.1465, allocations: 2.991 MB / 0.5235 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.1471, allocations: 23.88 kB / 0.5235 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.1495, allocations: 0.7779 MB / 0.5243 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.1514, allocations: 0.6921 MB / 0.5249 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1525, allocations: 363.2 kB / 0.5253 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.1546, allocations: 1.336 MB / 0.5266 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.1558, allocations: 0.7408 MB / 0.5273 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.1568, allocations: 0.5526 MB / 0.5278 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.158, allocations: 0.6229 MB / 0.5285 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.1582, allocations: 72 kB / 0.5285 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1592, allocations: 479.1 kB / 0.529 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.1598, allocations: 466.8 kB / 0.5294 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008551/0.1607, allocations: 0.5054 MB / 0.5299 GB, free: 8.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1626, allocations: 1.425 MB / 0.5313 GB, free: 7.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1626, allocations: 3.938 kB / 0.5313 GB, free: 7.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1626, allocations: 4 kB / 0.5313 GB, free: 7.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.1626, allocations: 3.938 kB / 0.5313 GB, free: 7.184 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002333/0.165, allocations: 1.28 MB / 0.5326 GB, free: 5.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.165, allocations: 15.89 kB / 0.5326 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.1663, allocations: 208.1 kB / 0.5328 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.1677, allocations: 0.7298 MB / 0.5335 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/0.1678, allocations: 58.38 kB / 0.5336 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.168, allocations: 103.9 kB / 0.5337 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.1698, allocations: 1.107 MB / 0.5347 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.1699, allocations: 4 kB / 0.5347 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.17, allocations: 39.97 kB / 0.5348 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/0.1701, allocations: 73.95 kB / 0.5348 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.1716, allocations: 0.8821 MB / 0.5357 GB, free: 2.551 MB / 398.1 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.005616/0.1772, allocations: 4.071 MB / 0.5397 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.1779, allocations: 418 kB / 0.5401 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.1783, allocations: 268.6 kB / 0.5403 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.1784, allocations: 11.94 kB / 0.5404 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1784, allocations: 34.56 kB / 0.5404 GB, free: 13.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 4.138e-06/0.1784, allocations: 4 kB / 0.5404 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004444/0.1829, allocations: 2.01 MB / 0.5424 GB, free: 11.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.183, allocations: 81.55 kB / 0.5424 GB, free: 11.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.1837, allocations: 0.5733 MB / 0.543 GB, free: 10.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.1837, allocations: 37.7 kB / 0.543 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.1841, allocations: 483.7 kB / 0.5435 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.1843, allocations: 202.3 kB / 0.5437 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.1845, allocations: 142.6 kB / 0.5438 GB, free: 9.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1847, allocations: 382.7 kB / 0.5442 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.1852, allocations: 273.8 kB / 0.5444 GB, free: 9.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.1858, allocations: 0.5081 MB / 0.5449 GB, free: 8.621 MB / 414.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003267/0.1891, allocations: 1.4 MB / 0.5463 GB, free: 7.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.1891, allocations: 7.938 kB / 0.5463 GB, free: 7.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002026/0.1912, allocations: 1.096 MB / 0.5474 GB, free: 5.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1912, allocations: 8 kB / 0.5474 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001314/0.1925, allocations: 0.7522 MB / 0.5481 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.1931, allocations: 162.6 kB / 0.5483 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.1937, allocations: 179.7 kB / 0.5484 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004592/0.1983, allocations: 4.854 MB / 0.5532 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/0.1989, allocations: 39.97 kB / 0.5532 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.199, allocations: 39.98 kB / 0.5533 GB, free: 15.5 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * 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): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000521/0.1995, allocations: 321.5 kB / 0.5536 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.1996, allocations: 79.47 kB / 0.5536 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.2008, allocations: 0.6356 MB / 0.5543 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2008, allocations: 7.984 kB / 0.5543 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.2008, allocations: 0 / 0.5543 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.2008, allocations: 8 kB / 0.5543 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.2033, allocations: 1.515 MB / 0.5558 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2034, allocations: 0 / 0.5558 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.204, allocations: 127.8 kB / 0.5559 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.204, allocations: 7.938 kB / 0.5559 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.2041, allocations: 16 kB / 0.5559 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.2041, allocations: 4 kB / 0.5559 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2041, allocations: 4 kB / 0.5559 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.2054, allocations: 0.9605 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.2057, allocations: 180.7 kB / 0.557 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.2058, allocations: 15.98 kB / 0.557 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.2061, allocations: 23.98 kB / 0.5571 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.2062, allocations: 40.27 kB / 0.5571 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.2063, allocations: 16 kB / 0.5571 GB, free: 11.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005372/0.2068, allocations: 411 kB / 0.5575 GB, free: 10.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2068, allocations: 0 / 0.5575 GB, free: 10.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008297/0.2077, allocations: 231.9 kB / 0.5577 GB, free: 10.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003084/0.208, allocations: 142.5 kB / 0.5579 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.2097, allocations: 1.03 MB / 0.5589 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2097, allocations: 0 / 0.5589 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.2101, allocations: 271.7 kB / 0.5591 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.2109, allocations: 143.4 kB / 0.5593 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.2142, allocations: 2.039 MB / 0.5613 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007953/0.215, allocations: 1.082 MB / 0.5623 GB, free: 5.949 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.2153, allocations: 59.42 kB / 0.5624 GB, free: 5.891 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2153, allocations: 0 / 0.5624 GB, free: 5.891 MB / 430.1 MB Notification: Performance of Templates: time 0.02171/0.237, allocations: 15.37 MB / 0.5774 GB, free: 6.531 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.648515531094745] Failed to read output from testmodel.py, exit status != 0: 0.24631615704856813 0.447927902 0.282844925 Calling exit ...