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.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.0007883/0.0007883, allocations: 87.62 kB / 21.43 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] 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.003486/0.003486, allocations: 160.9 kB / 24.7 MB, free: 9.414 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.8598/0.8598, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.22/0.22, allocations: 29.42 MB / 290.9 MB, free: 2.434 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.392e-06/1.392e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.291e-05, allocations: 4.953 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.005623/0.005645, allocations: 7.045 MB / 438.5 MB, free: 5.996 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.008552, allocations: 2.832 MB / 441.4 MB, free: 3.156 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.008823, allocations: 35.69 kB / 441.4 MB, free: 3.121 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.009885, allocations: 0.7543 MB / 442.1 MB, free: 2.363 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009345/0.01082, allocations: 0.7187 MB / 442.9 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.01132, allocations: 402.8 kB / 443.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.166/0.1773, allocations: 1.364 MB / 444.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009991/0.1783, allocations: 0.5542 MB / 445.2 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009087/0.1792, allocations: 0.7623 MB / 445.9 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.1799, allocations: 0.5868 MB / 446.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.18, allocations: 75.19 kB / 446.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.1808, allocations: 0.5067 MB / 447.1 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.1811, allocations: 485.3 kB / 447.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.1813, allocations: 360.5 kB / 447.9 MB, free: 44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1824, allocations: 1.448 MB / 449.4 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1824, allocations: 0 / 449.4 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1824, allocations: 0 / 449.4 MB, free: 43.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1824, allocations: 0 / 449.4 MB, free: 43.91 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00129/0.1837, allocations: 1.213 MB / 450.6 MB, free: 43.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1837, allocations: 16.36 kB / 450.6 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006435/0.1843, allocations: 217.7 kB / 450.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/0.1851, allocations: 0.6516 MB / 451.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.1851, allocations: 65.55 kB / 451.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.1853, allocations: 99.3 kB / 451.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008841/0.1861, allocations: 1.119 MB / 452.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.1862, allocations: 0 / 452.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.1862, allocations: 35.81 kB / 452.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.68e-05/0.1863, allocations: 71.03 kB / 452.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.1871, allocations: 0.8844 MB / 453.7 MB, free: 42.81 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.002434/0.1895, allocations: 3.543 MB / 457.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.1899, allocations: 318.1 kB / 457.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.1901, allocations: 251.6 kB / 457.8 MB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1901, allocations: 6.484 kB / 457.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.1901, allocations: 40.94 kB / 457.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 1.473e-06/0.1901, allocations: 0 / 457.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.002155/0.1923, allocations: 1.928 MB / 459.8 MB, free: 39.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.1923, allocations: 87.55 kB / 459.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.1926, allocations: 0.521 MB / 460.4 MB, free: 39.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1926, allocations: 36.98 kB / 460.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1927, allocations: 494 kB / 460.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.1928, allocations: 192.9 kB / 461.1 MB, free: 38.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1929, allocations: 147.9 kB / 461.3 MB, free: 38.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.193, allocations: 375.5 kB / 461.6 MB, free: 38.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.1932, allocations: 266.3 kB / 461.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.1935, allocations: 0.5106 MB / 462.4 MB, free: 37.85 MB / 410.7 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.001509/0.195, allocations: 1.409 MB / 463.8 MB, free: 37.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.195, allocations: 3.062 kB / 463.8 MB, free: 37.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009878/0.196, allocations: 1.014 MB / 464.8 MB, free: 36.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.196, allocations: 9.438 kB / 464.8 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006151/0.1966, allocations: 0.6843 MB / 465.5 MB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.1969, allocations: 158.8 kB / 465.7 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.1972, allocations: 173.9 kB / 465.9 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.1988, allocations: 4.461 MB / 470.3 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.199, allocations: 45.62 kB / 470.4 MB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.199, allocations: 36.77 kB / 470.4 MB, free: 32.57 MB / 410.7 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.0002488/0.1993, allocations: 321.2 kB / 470.7 MB, free: 32.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.1993, allocations: 63.05 kB / 470.8 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.1999, allocations: 0.6391 MB / 471.4 MB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1999, allocations: 3.344 kB / 471.4 MB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1999, allocations: 0 / 471.4 MB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1999, allocations: 7.891 kB / 471.4 MB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.201, allocations: 1.314 MB / 472.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.201, allocations: 3 kB / 472.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.2013, allocations: 122.2 kB / 472.9 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2013, allocations: 4.969 kB / 472.9 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2013, allocations: 17.19 kB / 472.9 MB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2013, allocations: 10.66 kB / 472.9 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2013, allocations: 3.25 kB / 472.9 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.202, allocations: 0.9518 MB / 473.8 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2021, allocations: 95.44 kB / 473.9 MB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.2021, allocations: 18.45 kB / 474 MB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.2023, allocations: 28.78 kB / 474 MB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.2023, allocations: 30.44 kB / 474 MB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.2024, allocations: 21.23 kB / 474 MB, free: 30.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.2026, allocations: 358 kB / 474.4 MB, free: 30.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2026, allocations: 0 / 474.4 MB, free: 30.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.203, allocations: 231.4 kB / 474.6 MB, free: 30.7 MB / 410.7 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.0002165/0.2032, allocations: 154 kB / 474.8 MB, free: 30.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008175/0.2041, allocations: 0.9834 MB / 475.7 MB, free: 30.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2041, allocations: 0 / 475.7 MB, free: 30.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.2043, allocations: 251.4 kB / 476 MB, free: 30 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.2047, allocations: 143.5 kB / 476.1 MB, free: 29.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.2065, allocations: 1.886 MB / 478 MB, free: 28.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.2068, allocations: 494 kB / 478.5 MB, free: 28.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.2069, allocations: 61.52 kB / 478.6 MB, free: 28.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2069, allocations: 0 / 478.6 MB, free: 28.78 MB / 410.7 MB Notification: Performance of Templates: time 0.01541/0.2223, allocations: 15.62 MB / 494.2 MB, free: 27.2 MB / 410.7 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: 5.705404952168465] Failed to read output from testmodel.py, exit status != 0: 0.22793457843363285 0.23560264600000003 0.051767431 Calling exit ...