Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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.00144/0.00144, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001696/0.001696, allocations: 210.5 kB / 23.72 MB, free: 4.391 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.668/1.668, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.1865/0.1865, allocations: 38.55 MB / 352.5 MB, free: 12.28 MB / 286.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.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [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.002156/0.002156, allocations: 63.91 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3704, allocations: 62.47 MB / 0.5424 GB, free: 392 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01216/0.3826, allocations: 7.666 MB / 0.5499 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3937, allocations: 5.045 MB / 0.5548 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.3949, allocations: 38.53 kB / 0.5549 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01391/0.4088, allocations: 5.739 MB / 0.5605 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002809/0.4116, allocations: 0.8519 MB / 0.5613 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.4132, allocations: 0.5107 MB / 0.5618 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.4175, allocations: 2.616 MB / 0.5644 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008803/0.4183, allocations: 0.54 MB / 0.5649 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.4196, allocations: 0.7979 MB / 0.5657 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.4213, allocations: 1.082 MB / 0.5667 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.4215, allocations: 104 kB / 0.5668 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009366/0.4224, allocations: 391.4 kB / 0.5672 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007568/0.4232, allocations: 0.6662 MB / 0.5679 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007337/0.4239, allocations: 0.5717 MB / 0.5684 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.4262, allocations: 1.759 MB / 0.5701 GB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4262, allocations: 0 / 0.5701 GB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4262, allocations: 0 / 0.5701 GB, free: 7.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.4262, allocations: 0 / 0.5701 GB, free: 7.719 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003392/0.4296, allocations: 1.563 MB / 0.5717 GB, free: 6.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4296, allocations: 11.98 kB / 0.5717 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.4311, allocations: 267.8 kB / 0.5719 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.4332, allocations: 0.8737 MB / 0.5728 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.4333, allocations: 69.98 kB / 0.5728 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004775/0.4338, allocations: 195.8 kB / 0.573 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.4364, allocations: 1.562 MB / 0.5746 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.4364, allocations: 4 kB / 0.5746 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4365, allocations: 39.98 kB / 0.5746 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006251/0.4372, allocations: 149.9 kB / 0.5747 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.4394, allocations: 1.241 MB / 0.5759 GB, free: 1.598 MB / 414.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.009085/0.4484, allocations: 5.504 MB / 0.5813 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.4502, allocations: 0.8755 MB / 0.5822 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008166/0.451, allocations: 484.5 kB / 0.5826 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-05/0.451, allocations: 20.94 kB / 0.5827 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.4511, allocations: 43.5 kB / 0.5827 GB, free: 10.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.747e-06/0.4511, allocations: 0 / 0.5827 GB, free: 10.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007218/0.4583, allocations: 3.249 MB / 0.5859 GB, free: 7.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.4584, allocations: 94.09 kB / 0.586 GB, free: 7.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009975/0.4594, allocations: 0.7191 MB / 0.5867 GB, free: 6.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-05/0.4595, allocations: 41.7 kB / 0.5867 GB, free: 6.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/0.46, allocations: 0.5706 MB / 0.5873 GB, free: 5.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.4603, allocations: 380.8 kB / 0.5876 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.4607, allocations: 234.8 kB / 0.5879 GB, free: 5.059 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.4609, allocations: 414.7 kB / 0.5882 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009821/0.4619, allocations: 0.5647 MB / 0.5888 GB, free: 4.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.4632, allocations: 0.8932 MB / 0.5897 GB, free: 3.055 MB / 430.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.008647/0.4719, allocations: 3.232 MB / 0.5928 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4719, allocations: 4 kB / 0.5928 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005939/0.4778, allocations: 2.694 MB / 0.5955 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.4779, allocations: 11.94 kB / 0.5955 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.4779, allocations: 15.94 kB / 0.5955 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002975/0.4809, allocations: 1.135 MB / 0.5966 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.4817, allocations: 199.7 kB / 0.5968 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02027/0.502, allocations: 11.83 MB / 0.6083 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.503, allocations: 59.91 kB / 0.6084 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/0.5033, allocations: 52 kB / 0.6085 GB, free: 15.46 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0008605/0.5041, allocations: 413.3 kB / 0.6088 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.5044, allocations: 95.39 kB / 0.6089 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.5068, allocations: 1.253 MB / 0.6102 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.5068, allocations: 11.94 kB / 0.6102 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.5068, allocations: 4 kB / 0.6102 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5068, allocations: 7.984 kB / 0.6102 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/0.5116, allocations: 2.237 MB / 0.6124 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5117, allocations: 0 / 0.6124 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.5132, allocations: 279.9 kB / 0.6126 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.5134, allocations: 65.59 kB / 0.6127 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.972e-05/0.5135, allocations: 31.98 kB / 0.6127 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.5157, allocations: 2.59 MB / 0.6153 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.5157, allocations: 3.938 kB / 0.6153 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.5186, allocations: 1.747 MB / 0.617 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.5191, allocations: 175.3 kB / 0.6171 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.5193, allocations: 43.86 kB / 0.6172 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.5198, allocations: 39.95 kB / 0.6172 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.52, allocations: 72.81 kB / 0.6173 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.5201, allocations: 27.98 kB / 0.6173 GB, free: 6.035 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006494/0.5207, allocations: 479 kB / 0.6178 GB, free: 5.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5207, allocations: 0 / 0.6178 GB, free: 5.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001345/0.5221, allocations: 376 kB / 0.6181 GB, free: 5.203 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002215/0.5223, allocations: 143.1 kB / 0.6183 GB, free: 5.051 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004029/0.5263, allocations: 2.042 MB / 0.6203 GB, free: 2.992 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5263, allocations: 0 / 0.6203 GB, free: 2.992 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.5276, allocations: 0.7373 MB / 0.621 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.5286, allocations: 198.1 kB / 0.6212 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/0.536, allocations: 4.115 MB / 0.6252 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.5373, allocations: 0.7171 MB / 0.6259 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009502/0.5383, allocations: 307.9 kB / 0.6262 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/0.5386, allocations: 71.42 kB / 0.6262 GB, free: 12.74 MB / 478.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5386, allocations: 0 / 0.6262 GB, free: 12.74 MB / 478.1 MB Notification: Performance of Templates: time 0.03767/0.5763, allocations: 19.77 MB / 0.6455 GB, free: 9.176 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.109018467366695] Failed to read output from testmodel.py, exit status != 0: 0.5863759759813547 0.601211558 0.171681724 Calling exit ...