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.0009177/0.0009177, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009729/0.0009729, allocations: 171.2 kB / 24.92 MB, free: 8.73 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.9554/0.9554, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.1303/0.1303, allocations: 29.42 MB / 291.2 MB, free: 2.684 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.182e-06/1.182e-06, allocations: 3.938 kB / 316.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.813e-05, allocations: 2.312 kB / 316.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006104/0.006122, allocations: 6.368 MB / 323.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.009951, allocations: 2.991 MB / 326.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.01025, allocations: 35.75 kB / 326.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.01097, allocations: 282 kB / 326.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.0121, allocations: 0.707 MB / 327.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.01274, allocations: 394.8 kB / 327.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.01386, allocations: 1.351 MB / 329 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005843/0.01445, allocations: 0.6041 MB / 329.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008968/0.01534, allocations: 0.8027 MB / 330.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007319/0.01608, allocations: 0.5844 MB / 331 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.01615, allocations: 72 kB / 331.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.01662, allocations: 399.2 kB / 331.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.01693, allocations: 490.8 kB / 331.9 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.01718, allocations: 355.2 kB / 332.3 MB, free: 9.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008348/0.01802, allocations: 0.9421 MB / 333.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01802, allocations: 0 / 333.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01802, allocations: 0 / 333.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.01803, allocations: 0 / 333.2 MB, free: 8.574 MB / 314.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.001212/0.01924, allocations: 1.137 MB / 334.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.01928, allocations: 8.031 kB / 334.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006798/0.01996, allocations: 232.7 kB / 334.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.0206, allocations: 0.5439 MB / 335.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.02064, allocations: 62.36 kB / 335.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.02078, allocations: 104.6 kB / 335.3 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.02144, allocations: 0.684 MB / 336 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.02146, allocations: 3.938 kB / 336 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.0215, allocations: 35.98 kB / 336 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.744e-05/0.02159, allocations: 65.97 kB / 336.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.02196, allocations: 289.6 kB / 336.4 MB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.0246, allocations: 3.036 MB / 339.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.02483, allocations: 195.9 kB / 339.6 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.02494, allocations: 107.8 kB / 339.7 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.02497, allocations: 15.98 kB / 339.7 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.02499, allocations: 34.56 kB / 339.8 MB, free: 1.754 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 1.593e-06/0.025, allocations: 0 / 339.8 MB, free: 1.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001651/0.02665, allocations: 1.006 MB / 340.8 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.02668, allocations: 81.61 kB / 340.9 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.02695, allocations: 466.8 kB / 341.3 MB, free: 152 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.02697, allocations: 33.7 kB / 341.3 MB, free: 112 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1533/0.1803, allocations: 435.4 kB / 341.8 MB, free: 29.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.1805, allocations: 195.4 kB / 342 MB, free: 29.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.1806, allocations: 138.3 kB / 342.1 MB, free: 29.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.1807, allocations: 378 kB / 342.5 MB, free: 29.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1809, allocations: 74.62 kB / 342.5 MB, free: 29.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.1811, allocations: 324.2 kB / 342.8 MB, free: 29.1 MB / 314.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.0005542/0.1817, allocations: 0.5733 MB / 343.4 MB, free: 28.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1817, allocations: 3.422 kB / 343.4 MB, free: 28.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008267/0.1825, allocations: 0.5428 MB / 344 MB, free: 28.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1825, allocations: 8.625 kB / 344 MB, free: 28.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004082/0.1829, allocations: 289.9 kB / 344.3 MB, free: 28.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.1833, allocations: 135.9 kB / 344.4 MB, free: 28.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.1837, allocations: 185 kB / 344.6 MB, free: 28.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.1851, allocations: 3.787 MB / 348.4 MB, free: 25.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.1854, allocations: 22.78 kB / 348.4 MB, free: 25.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.1854, allocations: 27.91 kB / 348.4 MB, free: 25.14 MB / 314.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.0001849/0.1856, allocations: 173 kB / 348.6 MB, free: 25.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.1857, allocations: 49.95 kB / 348.6 MB, free: 25.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.1861, allocations: 327.3 kB / 348.9 MB, free: 24.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.1861, allocations: 8.281 kB / 349 MB, free: 24.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1861, allocations: 3.094 kB / 349 MB, free: 24.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1861, allocations: 2.859 kB / 349 MB, free: 24.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009534/0.187, allocations: 0.8386 MB / 349.8 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.187, allocations: 2.031 kB / 349.8 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.1874, allocations: 153.1 kB / 350 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1874, allocations: 3.812 kB / 350 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.1875, allocations: 15.11 kB / 350 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.1875, allocations: 8.734 kB / 350 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1875, allocations: 2.281 kB / 350 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/0.1879, allocations: 0.5452 MB / 350.5 MB, free: 24.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.188, allocations: 79.33 kB / 350.6 MB, free: 24.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.1881, allocations: 16.7 kB / 350.6 MB, free: 24.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1882, allocations: 15.58 kB / 350.6 MB, free: 24.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.1883, allocations: 39.98 kB / 350.7 MB, free: 24.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.1883, allocations: 13.7 kB / 350.7 MB, free: 24.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1884, allocations: 192.1 kB / 350.9 MB, free: 24.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1884, allocations: 1.375 kB / 350.9 MB, free: 24.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004763/0.1889, allocations: 202.8 kB / 351.1 MB, free: 24.34 MB / 314.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 9.832e-05/0.189, allocations: 94.25 kB / 351.2 MB, free: 24.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.1897, allocations: 0.7068 MB / 351.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/0.1897, allocations: 9.25 kB / 351.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.1899, allocations: 144 kB / 352 MB, free: 23.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.1903, allocations: 145.8 kB / 352.2 MB, free: 23.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1923, allocations: 1.556 MB / 353.7 MB, free: 23.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.1924, allocations: 242.8 kB / 354 MB, free: 23.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.1926, allocations: 90.75 kB / 354 MB, free: 23.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.1929, allocations: 173.1 kB / 354.2 MB, free: 23.02 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1929, allocations: 5.969 kB / 354.2 MB, free: 23.02 MB / 314.7 MB Notification: Performance of Templates: time 0.01026/0.2031, allocations: 8.298 MB / 362.5 MB, free: 18.76 MB / 314.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0129594220779836]