Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001382/0.001382, allocations: 73.56 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.001899/0.001899, allocations: 160.5 kB / 24.5 MB, free: 3.715 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.522/1.522, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.22/0.22, allocations: 29.43 MB / 290.7 MB, free: 3.258 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") [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.002135/0.002135, allocations: 68.17 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.00948/0.3439, allocations: 10.27 MB / 0.4921 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008953/0.3529, allocations: 6.473 MB / 0.4984 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.3539, allocations: 67.84 kB / 0.4985 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02112/0.3751, allocations: 14.3 MB / 0.5125 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.3779, allocations: 1.144 MB / 0.5136 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3797, allocations: 0.7052 MB / 0.5143 GB, free: 21.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006019/0.3857, allocations: 4.189 MB / 0.5183 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.3871, allocations: 0.8519 MB / 0.5192 GB, free: 19.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.3895, allocations: 1.157 MB / 0.5203 GB, free: 19.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.392, allocations: 1.502 MB / 0.5218 GB, free: 18.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003399/0.3924, allocations: 150.3 kB / 0.5219 GB, free: 18.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.3937, allocations: 0.5569 MB / 0.5225 GB, free: 18.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009502/0.3946, allocations: 0.9266 MB / 0.5234 GB, free: 18.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.3957, allocations: 0.8087 MB / 0.5242 GB, free: 18.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.399, allocations: 2.607 MB / 0.5267 GB, free: 17.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.399, allocations: 1.062 kB / 0.5267 GB, free: 17.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.399, allocations: 0 / 0.5267 GB, free: 17.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.065e-05/0.399, allocations: 0 / 0.5267 GB, free: 17.17 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.00478/0.4038, allocations: 2.215 MB / 0.5289 GB, free: 15.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4039, allocations: 17.84 kB / 0.5289 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.406, allocations: 393.6 kB / 0.5293 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.4088, allocations: 1.245 MB / 0.5305 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.4089, allocations: 104 kB / 0.5306 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005648/0.4095, allocations: 251.5 kB / 0.5308 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.4126, allocations: 2.188 MB / 0.533 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/0.4127, allocations: 7.625 kB / 0.533 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.4128, allocations: 58.3 kB / 0.533 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006206/0.4134, allocations: 192.9 kB / 0.5332 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.4163, allocations: 1.825 MB / 0.535 GB, free: 12.63 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.009989/0.4262, allocations: 7.387 MB / 0.5422 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.4285, allocations: 1.379 MB / 0.5435 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.4295, allocations: 0.7545 MB / 0.5443 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-05/0.4296, allocations: 21.3 kB / 0.5443 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.4296, allocations: 47.88 kB / 0.5443 GB, free: 5.453 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.356e-06/0.4296, allocations: 0 / 0.5443 GB, free: 5.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.0206/0.4503, allocations: 8.473 MB / 0.5526 GB, free: 12.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.4503, allocations: 98.45 kB / 0.5527 GB, free: 12.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.4517, allocations: 1.016 MB / 0.5537 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.4518, allocations: 57.7 kB / 0.5538 GB, free: 11.72 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006185/0.4524, allocations: 0.8053 MB / 0.5545 GB, free: 10.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/0.4529, allocations: 0.6197 MB / 0.5552 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005371/0.4535, allocations: 351.4 kB / 0.5555 GB, free: 9.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4536, allocations: 309.1 kB / 0.5558 GB, free: 9.625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.455, allocations: 0.8472 MB / 0.5566 GB, free: 8.773 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.457, allocations: 1.348 MB / 0.5579 GB, free: 7.219 MB / 462.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.014/0.471, allocations: 5.191 MB / 0.563 GB, free: 1.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.4711, allocations: 4 kB / 0.563 GB, free: 1.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009675/0.4807, allocations: 3.988 MB / 0.5669 GB, free: 13.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.4808, allocations: 16.12 kB / 0.5669 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.4808, allocations: 16 kB / 0.5669 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004705/0.4855, allocations: 1.581 MB / 0.5685 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.4868, allocations: 315.5 kB / 0.5688 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02846/0.5153, allocations: 19.88 MB / 0.5882 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.5174, allocations: 95.92 kB / 0.5883 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/0.5177, allocations: 80 kB / 0.5883 GB, free: 7.23 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 66 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.519, allocations: 0.5441 MB / 0.5889 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.5194, allocations: 155 kB / 0.589 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.5248, allocations: 2.495 MB / 0.5915 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.5248, allocations: 16 kB / 0.5915 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.5248, allocations: 7.938 kB / 0.5915 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.5248, allocations: 11.97 kB / 0.5915 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008923/0.5337, allocations: 4.096 MB / 0.5955 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.5337, allocations: 0 / 0.5955 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.5355, allocations: 351.8 kB / 0.5958 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.537, allocations: 0.4977 MB / 0.5963 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.5372, allocations: 55.97 kB / 0.5964 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.5497, allocations: 11.81 MB / 0.6079 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.5497, allocations: 7.938 kB / 0.6079 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00722/0.557, allocations: 3.389 MB / 0.6112 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.558, allocations: 294.9 kB / 0.6115 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/0.5584, allocations: 51.94 kB / 0.6116 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.5596, allocations: 79.86 kB / 0.6116 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003728/0.56, allocations: 132.9 kB / 0.6118 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.5601, allocations: 55.98 kB / 0.6118 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001183/0.5613, allocations: 0.6534 MB / 0.6125 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5613, allocations: 0 / 0.6125 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002764/0.5641, allocations: 0.5898 MB / 0.613 GB, free: 12.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,line.v[1,2],line.v[1,3],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],PI.x) * 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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005766/0.5646, allocations: 194 kB / 0.6132 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006896/0.5715, allocations: 3.376 MB / 0.6165 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.5715, allocations: 0 / 0.6165 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.5749, allocations: 1.83 MB / 0.6183 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.5772, allocations: 330.3 kB / 0.6186 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.5873, allocations: 5.318 MB / 0.6238 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.5891, allocations: 1.054 MB / 0.6248 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001506/0.5906, allocations: 436.7 kB / 0.6253 GB, free: 196 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/0.5911, allocations: 108.5 kB / 0.6254 GB, free: 88 kB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.5911, allocations: 0 / 0.6254 GB, free: 88 kB / 0.5137 GB Notification: Performance of Templates: time 0.05625/0.6473, allocations: 30.77 MB / 0.6554 GB, free: 1.66 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.406250723986886] Failed to read output from testmodel.py, exit status != 0: 0.6568944550817832 0.67091195 0.26874986999999995 Calling exit ...