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.001319/0.001319, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.004523/0.004523, allocations: 172 kB / 24.82 MB, free: 9.316 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 1.09/1.09, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.2632/0.2632, allocations: 29.43 MB / 291.2 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 4 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.266e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.0111/0.01112, allocations: 9.621 MB / 379.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.02176, allocations: 6.755 MB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008419/0.0226, allocations: 71.44 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02446/0.04706, allocations: 14.42 MB / 401 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.04984, allocations: 1.158 MB / 402.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.05167, allocations: 0.752 MB / 402.9 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004698/0.05637, allocations: 4.238 MB / 407.1 MB, free: 5.609 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.05756, allocations: 0.8552 MB / 408 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.05963, allocations: 1.629 MB / 409.6 MB, free: 3.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.06139, allocations: 1.321 MB / 410.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.06166, allocations: 147.9 kB / 411.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.06273, allocations: 0.5576 MB / 411.6 MB, free: 1.074 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008301/0.06356, allocations: 0.9585 MB / 412.6 MB, free: 116 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007648/0.06432, allocations: 0.6703 MB / 413.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.06674, allocations: 1.939 MB / 415.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.06674, allocations: 0 / 415.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.06675, allocations: 0 / 415.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.06677, allocations: 0 / 415.2 MB, free: 13.5 MB / 394.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.003491/0.07026, allocations: 2.232 MB / 417.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.07031, allocations: 15.98 kB / 417.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.0721, allocations: 0.4914 MB / 418 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.07404, allocations: 1.133 MB / 419.1 MB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/0.07413, allocations: 106.7 kB / 419.2 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005199/0.07465, allocations: 223.8 kB / 419.4 MB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.07632, allocations: 1.36 MB / 420.8 MB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.07635, allocations: 7.938 kB / 420.8 MB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.07645, allocations: 59.97 kB / 420.8 MB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003432/0.07679, allocations: 186.8 kB / 421 MB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008261/0.07762, allocations: 0.6481 MB / 421.7 MB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005793/0.08341, allocations: 7.525 MB / 429.2 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.08431, allocations: 0.8152 MB / 430 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.08479, allocations: 395 kB / 430.4 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.08485, allocations: 29.31 kB / 430.4 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.08488, allocations: 54.62 kB / 430.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 2.414e-06/0.08489, allocations: 0 / 430.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.003882/0.08877, allocations: 2.747 MB / 433.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.08881, allocations: 90.42 kB / 433.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006358/0.08944, allocations: 0.9912 MB / 434.3 MB, free: 9.738 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.0895, allocations: 45.7 kB / 434.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.0899, allocations: 0.8817 MB / 435.2 MB, free: 8.793 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.09018, allocations: 0.5656 MB / 435.8 MB, free: 8.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.09049, allocations: 349 kB / 436.1 MB, free: 7.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.09058, allocations: 476.8 kB / 436.6 MB, free: 7.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.09086, allocations: 223.8 kB / 436.8 MB, free: 7.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.09143, allocations: 0.8979 MB / 437.7 MB, free: 6.02 MB / 410.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.001411/0.09284, allocations: 1.803 MB / 439.5 MB, free: 3.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.09284, allocations: 4 kB / 439.5 MB, free: 3.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003255/0.0961, allocations: 2.369 MB / 441.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.09612, allocations: 11.94 kB / 441.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.09613, allocations: 16 kB / 441.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.09855, allocations: 1.291 MB / 443.2 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1589/0.2574, allocations: 273.6 kB / 443.5 MB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009592/0.267, allocations: 17.35 MB / 460.8 MB, free: 76.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.2678, allocations: 54.78 kB / 460.9 MB, free: 76.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.153e-05/0.2678, allocations: 64.92 kB / 460.9 MB, free: 76.22 MB / 410.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.0004283/0.2683, allocations: 267.8 kB / 461.2 MB, free: 76.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.2685, allocations: 199 kB / 461.4 MB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.2696, allocations: 1.102 MB / 462.5 MB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2696, allocations: 12.81 kB / 462.5 MB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2696, allocations: 3.188 kB / 462.5 MB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2697, allocations: 6.703 kB / 462.5 MB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.272, allocations: 2.15 MB / 464.7 MB, free: 75.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.272, allocations: 3.25 kB / 464.7 MB, free: 75.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.2728, allocations: 321.6 kB / 465 MB, free: 75.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.2731, allocations: 168.6 kB / 465.2 MB, free: 75.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.2731, allocations: 47.5 kB / 465.2 MB, free: 75.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.2753, allocations: 9.041 MB / 474.2 MB, free: 66.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2753, allocations: 8.906 kB / 474.3 MB, free: 66.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.2768, allocations: 1.536 MB / 475.8 MB, free: 66.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.2771, allocations: 221.2 kB / 476 MB, free: 66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.2772, allocations: 43.47 kB / 476 MB, free: 66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.2776, allocations: 34.75 kB / 476.1 MB, free: 66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.2777, allocations: 106.3 kB / 476.2 MB, free: 66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.2778, allocations: 43.38 kB / 476.2 MB, free: 66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.2781, allocations: 0.5271 MB / 476.8 MB, free: 65.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2781, allocations: 0 / 476.8 MB, free: 65.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001441/0.2795, allocations: 0.5467 MB / 477.3 MB, free: 65.84 MB / 410.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.0002687/0.2798, allocations: 180.5 kB / 477.5 MB, free: 65.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.2821, allocations: 2.753 MB / 480.2 MB, free: 64.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2821, allocations: 0 / 480.2 MB, free: 64.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.2829, allocations: 1.31 MB / 481.5 MB, free: 63.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.2837, allocations: 305.8 kB / 481.8 MB, free: 63.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.2882, allocations: 4.058 MB / 485.9 MB, free: 61.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.2887, allocations: 0.4982 MB / 486.4 MB, free: 61.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005517/0.2892, allocations: 198.8 kB / 486.6 MB, free: 61.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.2898, allocations: 365.9 kB / 486.9 MB, free: 61.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2898, allocations: 3.031 kB / 486.9 MB, free: 61.22 MB / 410.7 MB Notification: Performance of Templates: time 0.03581/0.3256, allocations: 28.66 MB / 0.5035 GB, free: 55.87 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.9618356968276203]