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.0009523/0.0009523, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001081/0.001081, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.938/0.938, allocations: 177.2 MB / 206.1 MB, free: 4.465 MB / 186.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.1262/0.1262, allocations: 29.41 MB / 292 MB, free: 2.633 MB / 266.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 1.884e-06/1.884e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.243e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.006912/0.006935, allocations: 9.623 MB / 380.5 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007632/0.01457, allocations: 6.757 MB / 387.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.01593, allocations: 75.38 kB / 387.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01374/0.02967, allocations: 14.19 MB / 401.5 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.0316, allocations: 1.17 MB / 402.7 MB, free: 428 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.03282, allocations: 0.7522 MB / 403.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003989/0.03681, allocations: 4.234 MB / 407.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.03792, allocations: 0.8592 MB / 408.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.03962, allocations: 1.636 MB / 410.2 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.04088, allocations: 1.325 MB / 411.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.04107, allocations: 144 kB / 411.6 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.04186, allocations: 0.5615 MB / 412.2 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.04247, allocations: 0.9585 MB / 413.2 MB, free: 5.902 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006363/0.04311, allocations: 0.6664 MB / 413.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.04574, allocations: 1.939 MB / 415.8 MB, free: 3.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.04575, allocations: 4 kB / 415.8 MB, free: 3.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.04575, allocations: 0 / 415.8 MB, free: 3.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.412e-05/0.04579, allocations: 0 / 415.8 MB, free: 3.285 MB / 330.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.003021/0.04881, allocations: 2.224 MB / 418 MB, free: 1.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.04885, allocations: 8.031 kB / 418 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.05013, allocations: 0.4914 MB / 418.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.05153, allocations: 1.149 MB / 419.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.05159, allocations: 102.7 kB / 419.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003256/0.05191, allocations: 215.8 kB / 419.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.05325, allocations: 1.371 MB / 421.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.05329, allocations: 15.88 kB / 421.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/0.05337, allocations: 55.97 kB / 421.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003322/0.05371, allocations: 190.8 kB / 421.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.05475, allocations: 0.6404 MB / 422.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006435/0.06119, allocations: 7.525 MB / 429.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.06243, allocations: 0.8168 MB / 430.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.06306, allocations: 384.2 kB / 430.9 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.06314, allocations: 25.31 kB / 431 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.06319, allocations: 50.64 kB / 431 MB, free: 3.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 6.171e-06/0.06319, allocations: 0 / 431 MB, free: 3.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.006571/0.06976, allocations: 2.738 MB / 433.7 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.06984, allocations: 98.41 kB / 433.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.07108, allocations: 0.995 MB / 434.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002342/0.07131, allocations: 53.7 kB / 434.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006411/0.07196, allocations: 0.8856 MB / 435.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.07309, allocations: 0.5617 MB / 436.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.07352, allocations: 348.9 kB / 436.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.07369, allocations: 476.8 kB / 437.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.07405, allocations: 227.8 kB / 437.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007665/0.07481, allocations: 0.8978 MB / 438.3 MB, free: 11.82 MB / 362.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.002003/0.07682, allocations: 1.803 MB / 440.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.07683, allocations: 4 kB / 440.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004964/0.0818, allocations: 2.364 MB / 442.4 MB, free: 7.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.08186, allocations: 15.94 kB / 442.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/0.0819, allocations: 16 kB / 442.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/0.0858, allocations: 1.293 MB / 443.8 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/0.08672, allocations: 271.6 kB / 444 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.1008, allocations: 17.35 MB / 461.4 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/0.1017, allocations: 52 kB / 461.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.1018, allocations: 63.94 kB / 461.5 MB, free: 3.5 MB / 378.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.0005262/0.1024, allocations: 283.2 kB / 461.8 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.1026, allocations: 191.1 kB / 461.9 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.1039, allocations: 1.104 MB / 463 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1039, allocations: 12 kB / 463.1 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1039, allocations: 8 kB / 463.1 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.104, allocations: 7.969 kB / 463.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.107, allocations: 2.164 MB / 465.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.107, allocations: 4 kB / 465.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.1078, allocations: 311.6 kB / 465.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003111/0.1081, allocations: 166.4 kB / 465.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.1082, allocations: 51.98 kB / 465.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/0.1119, allocations: 9.033 MB / 474.8 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1119, allocations: 3.938 kB / 474.8 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.1136, allocations: 1.525 MB / 476.3 MB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.114, allocations: 234.9 kB / 476.6 MB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.1141, allocations: 39.98 kB / 476.6 MB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.1144, allocations: 35.94 kB / 476.6 MB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.1146, allocations: 105 kB / 476.7 MB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.1146, allocations: 35.98 kB / 476.8 MB, free: 3.402 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003871/0.115, allocations: 0.5318 MB / 477.3 MB, free: 2.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.115, allocations: 0 / 477.3 MB, free: 2.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001388/0.1164, allocations: 0.5429 MB / 477.8 MB, free: 2.32 MB / 394.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.0002948/0.1167, allocations: 194.7 kB / 478 MB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.1195, allocations: 2.733 MB / 480.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1195, allocations: 0 / 480.8 MB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009432/0.1205, allocations: 1.316 MB / 482.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.1214, allocations: 312.5 kB / 482.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/0.1269, allocations: 4.05 MB / 486.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.1273, allocations: 0.4969 MB / 486.9 MB, free: 8.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006023/0.1279, allocations: 200.2 kB / 487.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/0.1284, allocations: 370 kB / 487.5 MB, free: 8.344 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1284, allocations: 0 / 487.5 MB, free: 8.344 MB / 410.7 MB Notification: Performance of Templates: time 0.1609/0.2893, allocations: 29.24 MB / 0.5046 GB, free: 97.64 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.9663669583387673]