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.0009953/0.0009953, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001557/0.002552, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009424/0.0009424, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.00224, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9278/0.9278, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07561/1.003, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.1323/0.1323, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1286/0.2609, allocations: 9.526 MB / 283.1 MB, free: 12.82 MB / 282.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.363e-06/1.363e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.227e-05, allocations: 4.469 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006078/0.006101, allocations: 6.459 MB / 290.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004002/0.0101, allocations: 3.03 MB / 293.9 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005409/0.01064, allocations: 37.19 kB / 293.9 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007689/0.01141, allocations: 308.4 kB / 294.2 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.01283, allocations: 0.7368 MB / 295 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007731/0.01361, allocations: 387.7 kB / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.0151, allocations: 1.412 MB / 296.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000682/0.01578, allocations: 0.5731 MB / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.01687, allocations: 0.8574 MB / 298.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009018/0.01777, allocations: 0.6194 MB / 298.8 MB, free: 224 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.01787, allocations: 72 kB / 298.9 MB, free: 152 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006906/0.01856, allocations: 399.2 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.01889, allocations: 462.9 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.01919, allocations: 295.4 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009784/0.02017, allocations: 0.8837 MB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.02018, allocations: 0 / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.02019, allocations: 0 / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.02021, allocations: 0 / 300.9 MB, free: 14.13 MB / 298.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.001487/0.0217, allocations: 1.359 MB / 302.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.02173, allocations: 8.031 kB / 302.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.02251, allocations: 313.7 kB / 302.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.02321, allocations: 0.5517 MB / 303.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.469e-05/0.02329, allocations: 62.31 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.02344, allocations: 100.6 kB / 303.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.02415, allocations: 0.6844 MB / 304 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.02417, allocations: 3.953 kB / 304 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.02422, allocations: 35.94 kB / 304 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/0.02437, allocations: 69.95 kB / 304.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.02474, allocations: 281.7 kB / 304.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.02758, allocations: 3.04 MB / 307.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.02782, allocations: 202.2 kB / 307.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.02792, allocations: 103.1 kB / 307.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.02795, allocations: 8 kB / 307.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.02798, allocations: 38.56 kB / 307.7 MB, free: 6.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 2.935e-06/0.02798, allocations: 4 kB / 307.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001673/0.02965, allocations: 1.026 MB / 308.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.02969, allocations: 81.61 kB / 308.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.02995, allocations: 462.9 kB / 309.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.02998, allocations: 33.7 kB / 309.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.03032, allocations: 448.6 kB / 309.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.402e-05/0.03041, allocations: 190.4 kB / 310 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.03054, allocations: 142.5 kB / 310.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.03063, allocations: 378.6 kB / 310.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.03073, allocations: 69.97 kB / 310.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.03092, allocations: 333 kB / 310.9 MB, free: 3.664 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: generator.w_el = generator.omega[1] + generator.omega[2] ((314.1592653589793 + (if noEvent(2e4 * infBus.v0 * sin(infBus.alpha0) == 0.0) then 2e4 * infBus.v0 * sin(infBus.alpha0) else 0.0)) / /*Real*/(powerAngle.pp) = 314.1592653589793) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/0.03179, allocations: 0.7823 MB / 311.6 MB, free: 2.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.03179, allocations: 4 kB / 311.7 MB, free: 2.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007319/0.03252, allocations: 0.5287 MB / 312.2 MB, free: 2.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.03254, allocations: 17.5 kB / 312.2 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.03255, allocations: 12.03 kB / 312.2 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.03284, allocations: 130.9 kB / 312.3 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.03322, allocations: 199.7 kB / 312.5 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.03509, allocations: 3.786 MB / 316.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.03532, allocations: 24 kB / 316.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.03535, allocations: 27.98 kB / 316.4 MB, free: 13.71 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: 35 * 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.0001794/0.03553, allocations: 172.4 kB / 316.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.03559, allocations: 51.95 kB / 316.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.03593, allocations: 320.9 kB / 316.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.03594, allocations: 4 kB / 316.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.03594, allocations: 0 / 316.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.03595, allocations: 7.984 kB / 316.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/0.03687, allocations: 0.842 MB / 317.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.03687, allocations: 4 kB / 317.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.03725, allocations: 156.9 kB / 317.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.03736, allocations: 83.55 kB / 318 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.03736, allocations: 16.11 kB / 318 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.03739, allocations: 12 kB / 318 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.03739, allocations: 4 kB / 318 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.03739, allocations: 4 kB / 318 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.03783, allocations: 0.5353 MB / 318.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.03788, allocations: 23.89 kB / 318.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.03801, allocations: 8 kB / 318.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.03805, allocations: 40.41 kB / 318.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.03807, allocations: 15.98 kB / 318.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.03821, allocations: 200.4 kB / 318.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03821, allocations: 0 / 318.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004356/0.03864, allocations: 208 kB / 319 MB, free: 10.93 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 0.0001064/0.03875, allocations: 89.12 kB / 319.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.03939, allocations: 0.7259 MB / 319.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.2e-05/0.03941, allocations: 12.5 kB / 319.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.03957, allocations: 174.4 kB / 320 MB, free: 9.887 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008225/0.04039, allocations: 1.14 MB / 321.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.05317, allocations: 1.606 MB / 322.8 MB, free: 6.875 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.05341, allocations: 242.8 kB / 323 MB, free: 6.617 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.05371, allocations: 89.53 kB / 323.1 MB, free: 6.527 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.05397, allocations: 181.2 kB / 323.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.05397, allocations: 0 / 323.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of Templates: time 0.01184/0.06582, allocations: 8.194 MB / 331.5 MB, free: 14.3 MB / 330.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7806412391364574]