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.0006478/0.0006478, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008202/0.001468, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007043/0.0007043, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00084/0.001544, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8863/0.8863, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08302/0.9693, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.1228/0.1228, allocations: 29.42 MB / 273.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/0.223, allocations: 9.521 MB / 282.9 MB, free: 12.84 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.442e-06/1.442e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.885e-06/9.327e-06, allocations: 3.438 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.005143/0.005153, allocations: 6.443 MB / 290.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.008116, allocations: 3.027 MB / 293.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.008316, allocations: 37.41 kB / 293.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.008816, allocations: 295.5 kB / 294 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008299/0.009646, allocations: 0.7444 MB / 294.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.01009, allocations: 384.8 kB / 295.1 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009354/0.01103, allocations: 1.425 MB / 296.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.0115, allocations: 0.5575 MB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006405/0.01214, allocations: 0.8613 MB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.01273, allocations: 0.6233 MB / 298.6 MB, free: 356 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/0.0128, allocations: 72 kB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.0132, allocations: 395.2 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.01346, allocations: 454.9 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.0137, allocations: 299.4 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006562/0.01435, allocations: 0.8797 MB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.01437, allocations: 0 / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01437, allocations: 0 / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.01439, allocations: 0 / 300.7 MB, free: 14.27 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.00154/0.01593, allocations: 1.359 MB / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.01596, allocations: 16.03 kB / 302 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006478/0.0166, allocations: 305.8 kB / 302.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.01724, allocations: 0.5555 MB / 302.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.01727, allocations: 62.36 kB / 303 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.01741, allocations: 100.6 kB / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006166/0.01803, allocations: 0.6766 MB / 303.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.01805, allocations: 7.938 kB / 303.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.01809, allocations: 32 kB / 303.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-05/0.01818, allocations: 65.97 kB / 303.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.01852, allocations: 285.6 kB / 304.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.02088, allocations: 3.036 MB / 307.2 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.02111, allocations: 202.2 kB / 307.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.02121, allocations: 102.7 kB / 307.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.02124, allocations: 11.94 kB / 307.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.02126, allocations: 38.56 kB / 307.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 2.675e-06/0.02126, allocations: 7.984 kB / 307.5 MB, free: 7.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001518/0.02278, allocations: 1.01 MB / 308.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.02282, allocations: 81.61 kB / 308.6 MB, free: 5.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.02307, allocations: 458.9 kB / 309.1 MB, free: 5.516 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.02311, allocations: 41.73 kB / 309.1 MB, free: 5.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.02326, allocations: 440.5 kB / 309.5 MB, free: 5.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.008e-05/0.02335, allocations: 194.3 kB / 309.7 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.02347, allocations: 138.5 kB / 309.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.0236, allocations: 374.6 kB / 310.2 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.02369, allocations: 73.97 kB / 310.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.02387, allocations: 324.3 kB / 310.6 MB, free: 3.828 MB / 298.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.0004365/0.02431, allocations: 0.5762 MB / 311.2 MB, free: 3.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02431, allocations: 4 kB / 311.2 MB, free: 3.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006758/0.02499, allocations: 0.5463 MB / 311.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.025, allocations: 11.94 kB / 311.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003212/0.02532, allocations: 288.1 kB / 312 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.02558, allocations: 135.1 kB / 312.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.02595, allocations: 190.2 kB / 312.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.02776, allocations: 3.796 MB / 316.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.02794, allocations: 24 kB / 316.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.02797, allocations: 27.98 kB / 316.2 MB, free: 13.8 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.0001564/0.02813, allocations: 168.4 kB / 316.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.02819, allocations: 51.89 kB / 316.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.0285, allocations: 324.9 kB / 316.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.02851, allocations: 4 kB / 316.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.02851, allocations: 8 kB / 316.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.02851, allocations: 3.984 kB / 316.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008294/0.02934, allocations: 0.8383 MB / 317.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.02935, allocations: 4.031 kB / 317.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.02971, allocations: 154 kB / 317.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/0.0298, allocations: 87.48 kB / 317.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.0298, allocations: 4 kB / 317.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.02983, allocations: 15.98 kB / 317.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.02983, allocations: 4 kB / 317.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.02984, allocations: 7.938 kB / 317.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.03024, allocations: 0.5392 MB / 318.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.03028, allocations: 15.95 kB / 318.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.0304, allocations: 12 kB / 318.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.03045, allocations: 44.34 kB / 318.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.03046, allocations: 12 kB / 318.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.03059, allocations: 200.4 kB / 318.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03059, allocations: 0 / 318.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003663/0.03096, allocations: 208 kB / 318.9 MB, free: 11.02 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 8.041e-05/0.03104, allocations: 98 kB / 319 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.03158, allocations: 0.7044 MB / 319.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.908e-05/0.0316, allocations: 12.5 kB / 319.7 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.03173, allocations: 142.1 kB / 319.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.03212, allocations: 210.3 kB / 320 MB, free: 9.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.0444, allocations: 1.613 MB / 321.6 MB, free: 8.148 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.04457, allocations: 242.8 kB / 321.9 MB, free: 7.887 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.04478, allocations: 97.53 kB / 322 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.04502, allocations: 169.3 kB / 322.1 MB, free: 7.625 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.04502, allocations: 0 / 322.1 MB, free: 7.625 MB / 314.7 MB Notification: Performance of Templates: time 0.01145/0.05647, allocations: 8.522 MB / 330.7 MB, free: 15.25 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.6117544639855623]