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.001496/0.001496, allocations: 77.95 kB / 20.49 MB, free: 1.387 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.001627/0.001627, allocations: 163.1 kB / 23.74 MB, free: 4.57 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.442/1.442, allocations: 177.2 MB / 204.1 MB, free: 9.297 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.2083/0.2083, allocations: 29.43 MB / 289.9 MB, free: 3.398 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.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.003321/0.003321, allocations: 59.91 kB / 430.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3016, allocations: 62.45 MB / 492.9 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01053/0.3122, allocations: 7.635 MB / 0.4888 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009288/0.3215, allocations: 5.048 MB / 0.4937 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.322, allocations: 39.69 kB / 0.4937 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01318/0.3352, allocations: 5.777 MB / 0.4994 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.338, allocations: 0.8519 MB / 0.5002 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.3397, allocations: 0.5068 MB / 0.5007 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004964/0.3447, allocations: 2.624 MB / 0.5033 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.3459, allocations: 0.5439 MB / 0.5038 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.3478, allocations: 1.044 MB / 0.5048 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.3495, allocations: 1.082 MB / 0.5059 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.3497, allocations: 104 kB / 0.506 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00088/0.3506, allocations: 391.5 kB / 0.5064 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000746/0.3514, allocations: 0.67 MB / 0.507 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007619/0.3521, allocations: 0.5678 MB / 0.5076 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.3545, allocations: 1.755 MB / 0.5093 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3545, allocations: 0 / 0.5093 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3545, allocations: 0 / 0.5093 GB, free: 5.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.3545, allocations: 4 kB / 0.5093 GB, free: 5.219 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.003459/0.358, allocations: 1.559 MB / 0.5108 GB, free: 3.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.358, allocations: 11.98 kB / 0.5108 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.3595, allocations: 271.8 kB / 0.5111 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.3618, allocations: 0.8738 MB / 0.5119 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.3619, allocations: 69.98 kB / 0.512 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005016/0.3624, allocations: 187.8 kB / 0.5122 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.365, allocations: 1.56 MB / 0.5137 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.365, allocations: 11.94 kB / 0.5137 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.3651, allocations: 35.98 kB / 0.5137 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006064/0.3657, allocations: 153.9 kB / 0.5139 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.368, allocations: 1.245 MB / 0.5151 GB, free: 15.09 MB / 430.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.009574/0.3776, allocations: 5.504 MB / 0.5205 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.3793, allocations: 0.8753 MB / 0.5213 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/0.3801, allocations: 488.5 kB / 0.5218 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.887e-05/0.3802, allocations: 12.98 kB / 0.5218 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.3803, allocations: 55.44 kB / 0.5219 GB, free: 7.898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 2.936e-06/0.3803, allocations: 0 / 0.5219 GB, free: 7.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007073/0.3873, allocations: 3.241 MB / 0.525 GB, free: 4.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.3874, allocations: 94.11 kB / 0.5251 GB, free: 4.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3884, allocations: 0.7191 MB / 0.5258 GB, free: 3.789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.3885, allocations: 41.7 kB / 0.5259 GB, free: 3.742 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.389, allocations: 0.5667 MB / 0.5264 GB, free: 3.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.3894, allocations: 388.7 kB / 0.5268 GB, free: 2.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.3897, allocations: 230.9 kB / 0.527 GB, free: 2.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.39, allocations: 410.7 kB / 0.5274 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.391, allocations: 0.5687 MB / 0.528 GB, free: 1.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.3923, allocations: 0.8853 MB / 0.5288 GB, free: 0.5586 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.0092/0.4015, allocations: 3.236 MB / 0.532 GB, free: 13.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.4015, allocations: 4 kB / 0.532 GB, free: 13.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006541/0.4081, allocations: 2.69 MB / 0.5346 GB, free: 10.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.4081, allocations: 15.94 kB / 0.5346 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/0.4082, allocations: 11.94 kB / 0.5346 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/0.4116, allocations: 1.148 MB / 0.5358 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009872/0.4126, allocations: 199.7 kB / 0.536 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/0.433, allocations: 11.86 MB / 0.5475 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009355/0.434, allocations: 55.91 kB / 0.5476 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.4341, allocations: 52 kB / 0.5476 GB, free: 12.93 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.0007604/0.4349, allocations: 413.3 kB / 0.548 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.4351, allocations: 95.39 kB / 0.5481 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.4376, allocations: 1.253 MB / 0.5493 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.4376, allocations: 15.94 kB / 0.5494 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4376, allocations: 4 kB / 0.5494 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.4377, allocations: 7.969 kB / 0.5494 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004842/0.4425, allocations: 2.229 MB / 0.5515 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.4425, allocations: 12.2 kB / 0.5516 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/0.4441, allocations: 271.7 kB / 0.5518 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.4443, allocations: 57.67 kB / 0.5519 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.4444, allocations: 35.98 kB / 0.5519 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.4467, allocations: 2.583 MB / 0.5544 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.4467, allocations: 4.25 kB / 0.5544 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.4498, allocations: 1.747 MB / 0.5561 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006141/0.4504, allocations: 175.3 kB / 0.5563 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.4506, allocations: 43.92 kB / 0.5564 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/0.4513, allocations: 43.89 kB / 0.5564 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.4515, allocations: 68.88 kB / 0.5565 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.4515, allocations: 27.98 kB / 0.5565 GB, free: 3.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007004/0.4522, allocations: 479 kB / 0.5569 GB, free: 3.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4522, allocations: 0 / 0.5569 GB, free: 3.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0014/0.4536, allocations: 379.9 kB / 0.5573 GB, free: 2.68 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.0002299/0.4539, allocations: 143.1 kB / 0.5574 GB, free: 2.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004281/0.4582, allocations: 2.043 MB / 0.5594 GB, free: 476 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4582, allocations: 4 kB / 0.5594 GB, free: 472 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.4594, allocations: 0.7331 MB / 0.5602 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4605, allocations: 202.9 kB / 0.5603 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.4675, allocations: 4.068 MB / 0.5643 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.4686, allocations: 0.7054 MB / 0.565 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009101/0.4695, allocations: 315.9 kB / 0.5653 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.4698, allocations: 72.48 kB / 0.5654 GB, free: 10.26 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4698, allocations: 0 / 0.5654 GB, free: 10.26 MB / 478.1 MB Notification: Performance of Templates: time 0.03425/0.504, allocations: 18.09 MB / 0.583 GB, free: 8.371 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: 5.590377114713192] Failed to read output from testmodel.py, exit status != 0: 0.5152309127151966 0.52993594 0.17193061 Calling exit ...