Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0006625/0.0006625, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008716/0.001534, 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.001162/0.001162, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002556, 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.9311/0.9311, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08309/1.014, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.1121/0.1121, allocations: 29.43 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1197/0.2318, allocations: 9.516 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.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.924e-06/8.906e-06, allocations: 5.297 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.008073/0.008082, allocations: 9.77 MB / 294 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007959/0.01604, allocations: 6.955 MB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.01652, allocations: 71.44 kB / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0125/0.02902, allocations: 12.91 MB / 313.9 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.03044, allocations: 1.193 MB / 315.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009942/0.03143, allocations: 0.7403 MB / 315.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002869/0.0343, allocations: 4.13 MB / 320 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009554/0.03526, allocations: 0.8244 MB / 320.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.03655, allocations: 1.716 MB / 322.5 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.03755, allocations: 1.286 MB / 323.8 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.03772, allocations: 144 kB / 323.9 MB, free: 6.941 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.0384, allocations: 0.5615 MB / 324.5 MB, free: 6.379 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005192/0.03892, allocations: 0.869 MB / 325.4 MB, free: 5.508 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.03939, allocations: 0.5419 MB / 325.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.04079, allocations: 1.775 MB / 327.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.04081, allocations: 3.984 kB / 327.7 MB, free: 3.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.04081, allocations: 0 / 327.7 MB, free: 3.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.04083, allocations: 0 / 327.7 MB, free: 3.18 MB / 314.7 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.002365/0.0432, allocations: 2.434 MB / 330.1 MB, free: 0.707 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.04323, allocations: 12.03 kB / 330.1 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.04428, allocations: 0.5131 MB / 330.6 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.04541, allocations: 1.025 MB / 331.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.04546, allocations: 102.7 kB / 331.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.04577, allocations: 231.8 kB / 332 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.04693, allocations: 1.314 MB / 333.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.04696, allocations: 4 kB / 333.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/0.04705, allocations: 55.98 kB / 333.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002955/0.04735, allocations: 194.6 kB / 333.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.04806, allocations: 0.5547 MB / 334.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004743/0.0528, allocations: 5.966 MB / 340.1 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.0536, allocations: 0.7754 MB / 340.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.05402, allocations: 345.5 kB / 341.2 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.05408, allocations: 25.31 kB / 341.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.0541, allocations: 47.86 kB / 341.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 2.435e-06/0.05411, allocations: 4 kB / 341.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.003973/0.05808, allocations: 2.648 MB / 343.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.05812, allocations: 94.42 kB / 344 MB, free: 2.285 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.0586, allocations: 0.845 MB / 344.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.05866, allocations: 49.7 kB / 344.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.05892, allocations: 0.67 MB / 345.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.05917, allocations: 0.5422 MB / 346.1 MB, free: 144 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.05945, allocations: 307.3 kB / 346.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.05951, allocations: 305.1 kB / 346.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.05976, allocations: 191.9 kB / 346.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.06021, allocations: 0.6587 MB / 347.6 MB, free: 14.49 MB / 346.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.001266/0.06147, allocations: 1.578 MB / 349.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.06148, allocations: 4 kB / 349.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.002809/0.06429, allocations: 2.048 MB / 351.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.06431, allocations: 15.94 kB / 351.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.06432, allocations: 12 kB / 351.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/0.06651, allocations: 1.261 MB / 352.5 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.06712, allocations: 315.6 kB / 352.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009154/0.07627, allocations: 13.29 MB / 366.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.07667, allocations: 63.88 kB / 366.1 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/0.07675, allocations: 56 kB / 366.2 MB, free: 10.95 MB / 362.7 MB Warning: The initial conditions are over specified. The following 4 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 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: 64 * 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 (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.07703, allocations: 228.3 kB / 366.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.07717, allocations: 131.9 kB / 366.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009966/0.07816, allocations: 0.9155 MB / 367.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.07817, allocations: 12 kB / 367.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.07817, allocations: 4 kB / 367.5 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.07818, allocations: 7.969 kB / 367.5 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.08019, allocations: 1.812 MB / 369.3 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.0802, allocations: 4 kB / 369.3 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.08125, allocations: 449.2 kB / 369.7 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.08149, allocations: 198.9 kB / 369.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.08177, allocations: 196 kB / 370.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.08184, allocations: 47.97 kB / 370.2 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/0.08436, allocations: 6.404 MB / 376.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.08436, allocations: 4 kB / 376.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.08565, allocations: 1.282 MB / 377.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.08577, allocations: 47.98 kB / 377.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.08607, allocations: 28 kB / 377.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.08619, allocations: 113 kB / 378 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.08623, allocations: 31.98 kB / 378.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002611/0.08649, allocations: 395.5 kB / 378.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08649, allocations: 0 / 378.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009736/0.08747, allocations: 0.5468 MB / 379 MB, free: 13.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (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.0002364/0.0877, allocations: 167.3 kB / 379.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.08966, allocations: 2.294 MB / 381.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.183e-05/0.08969, allocations: 25.8 kB / 381.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007238/0.09041, allocations: 1 MB / 382.5 MB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007541/0.09117, allocations: 445.6 kB / 382.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.1104, allocations: 3.51 MB / 386.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1108, allocations: 0.4969 MB / 386.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004154/0.1112, allocations: 200.4 kB / 387.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.1117, allocations: 329.2 kB / 387.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1117, allocations: 0 / 387.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of Templates: time 0.02961/0.1413, allocations: 29.55 MB / 417 MB, free: 7.582 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.413127612322569]