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.001767/0.001767, allocations: 69.41 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002076/0.002076, allocations: 159.6 kB / 24.5 MB, free: 3.848 MB / 14.72 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 1.486/1.486, allocations: 177.2 MB / 204.9 MB, free: 9.016 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.1784/0.1784, allocations: 29.43 MB / 290.7 MB, free: 3.266 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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 63.91 kB / 431.2 MB, free: 3.199 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3683, allocations: 62.45 MB / 493.7 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01005/0.3784, allocations: 7.09 MB / 0.489 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.3845, allocations: 2.835 MB / 0.4918 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005726/0.3851, allocations: 31.81 kB / 0.4918 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.3877, allocations: 0.7618 MB / 0.4926 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.39, allocations: 0.7033 MB / 0.4932 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3912, allocations: 384.7 kB / 0.4936 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.3931, allocations: 1.338 MB / 0.4949 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009245/0.394, allocations: 0.5551 MB / 0.4955 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.395, allocations: 0.5736 MB / 0.496 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.396, allocations: 0.6369 MB / 0.4966 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.3962, allocations: 73.84 kB / 0.4967 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3973, allocations: 0.4957 MB / 0.4972 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.3978, allocations: 468.2 kB / 0.4976 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005258/0.3983, allocations: 431.1 kB / 0.498 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.4001, allocations: 1.441 MB / 0.4995 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4002, allocations: 3.938 kB / 0.4995 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4002, allocations: 0 / 0.4995 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.4002, allocations: 3.188 kB / 0.4995 GB, free: 27.84 MB / 446.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.002694/0.4029, allocations: 1.223 MB / 0.5007 GB, free: 27.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4029, allocations: 21.08 kB / 0.5007 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.4048, allocations: 220 kB / 0.5009 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.4067, allocations: 0.6464 MB / 0.5015 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.4067, allocations: 63.2 kB / 0.5016 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.407, allocations: 102.2 kB / 0.5017 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.409, allocations: 1.114 MB / 0.5028 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.4091, allocations: 0 / 0.5028 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.4092, allocations: 33.66 kB / 0.5028 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.4094, allocations: 72.86 kB / 0.5029 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.4112, allocations: 0.8866 MB / 0.5037 GB, free: 25.75 MB / 446.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.00639/0.4176, allocations: 3.556 MB / 0.5072 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.4184, allocations: 312.5 kB / 0.5075 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.4189, allocations: 254.4 kB / 0.5077 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.4189, allocations: 13.72 kB / 0.5078 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.419, allocations: 45.47 kB / 0.5078 GB, free: 23.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 3.015e-06/0.419, allocations: 0 / 0.5078 GB, free: 23.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.005834/0.4248, allocations: 1.914 MB / 0.5097 GB, free: 22.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.4248, allocations: 83.95 kB / 0.5097 GB, free: 22.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.4256, allocations: 0.5278 MB / 0.5103 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.4256, allocations: 40.41 kB / 0.5103 GB, free: 21.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.4259, allocations: 486.7 kB / 0.5108 GB, free: 21.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.4261, allocations: 200.4 kB / 0.511 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.4264, allocations: 147 kB / 0.5111 GB, free: 21.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4265, allocations: 377.3 kB / 0.5115 GB, free: 20.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006165/0.4271, allocations: 274.5 kB / 0.5117 GB, free: 20.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008096/0.4279, allocations: 0.5006 MB / 0.5122 GB, free: 20.34 MB / 446.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.004487/0.4324, allocations: 1.411 MB / 0.5136 GB, free: 19.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/0.4324, allocations: 2.375 kB / 0.5136 GB, free: 19.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00292/0.4353, allocations: 1.012 MB / 0.5146 GB, free: 19.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4354, allocations: 8.375 kB / 0.5146 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001689/0.4371, allocations: 0.6801 MB / 0.5152 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007994/0.4379, allocations: 155.4 kB / 0.5154 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/0.4388, allocations: 177.7 kB / 0.5156 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.4436, allocations: 4.47 MB / 0.5199 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009207/0.4446, allocations: 46.5 kB / 0.52 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.4447, allocations: 33.81 kB / 0.52 GB, free: 14.91 MB / 446.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.0006662/0.4454, allocations: 319.9 kB / 0.5203 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.4456, allocations: 67.12 kB / 0.5204 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.4473, allocations: 0.6314 MB / 0.521 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4473, allocations: 7.547 kB / 0.521 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4473, allocations: 0 / 0.521 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.4473, allocations: 11.95 kB / 0.521 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/0.4513, allocations: 1.314 MB / 0.5223 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.4513, allocations: 1.578 kB / 0.5223 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009071/0.4522, allocations: 128.6 kB / 0.5224 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.4522, allocations: 3.375 kB / 0.5224 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/0.4523, allocations: 13.03 kB / 0.5224 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/0.4523, allocations: 12.03 kB / 0.5224 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4523, allocations: 2.281 kB / 0.5225 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.4543, allocations: 0.9489 MB / 0.5234 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.4547, allocations: 103.2 kB / 0.5235 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.4549, allocations: 16.44 kB / 0.5235 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006002/0.4555, allocations: 18.52 kB / 0.5235 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.4556, allocations: 38.59 kB / 0.5235 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.4557, allocations: 17.42 kB / 0.5236 GB, free: 13.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007819/0.4565, allocations: 359.8 kB / 0.5239 GB, free: 13.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4565, allocations: 0 / 0.5239 GB, free: 13.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001571/0.4581, allocations: 236.7 kB / 0.5241 GB, free: 12.98 MB / 446.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.0003466/0.4584, allocations: 141.6 kB / 0.5243 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.4607, allocations: 0.9923 MB / 0.5252 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.4607, allocations: 1.688 kB / 0.5252 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006098/0.4614, allocations: 256.3 kB / 0.5255 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4626, allocations: 136.9 kB / 0.5256 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/0.4675, allocations: 1.97 MB / 0.5275 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.4686, allocations: 485.3 kB / 0.528 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009124/0.4695, allocations: 195.8 kB / 0.5282 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.4698, allocations: 65.09 kB / 0.5282 GB, free: 10.87 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4698, allocations: 0 / 0.5282 GB, free: 10.87 MB / 446.1 MB Notification: Performance of Templates: time 0.02083/0.4906, allocations: 8.159 MB / 0.5362 GB, free: 9.926 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.206182819092646] Failed to read output from testmodel.py, exit status != 0: 0.4998286400223151 0.5110036139999999 0.10802844900000001 Calling exit ...