Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001295/0.001295, 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.001435/0.001435, 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.9232/0.9232, allocations: 177.1 MB / 206 MB, free: 4.484 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.117/0.117, allocations: 29.43 MB / 292 MB, free: 2.617 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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.133e-05, allocations: 4.984 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.007014/0.007035, allocations: 9.471 MB / 380.3 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006175/0.01321, allocations: 6.768 MB / 387.1 MB, free: 16.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005954/0.01381, allocations: 67.5 kB / 387.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.02615, allocations: 14.19 MB / 401.4 MB, free: 1.738 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.02779, allocations: 1.138 MB / 402.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.02897, allocations: 0.7169 MB / 403.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003932/0.0329, allocations: 4.132 MB / 407.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.03435, allocations: 0.8396 MB / 408.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.03693, allocations: 1.582 MB / 409.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.03827, allocations: 1.29 MB / 411.1 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.03843, allocations: 139.9 kB / 411.2 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009243/0.03936, allocations: 0.5382 MB / 411.7 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006661/0.04002, allocations: 0.9468 MB / 412.7 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009871/0.04101, allocations: 0.6508 MB / 413.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.04279, allocations: 1.877 MB / 415.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.04279, allocations: 0 / 415.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.04279, allocations: 0 / 415.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.04281, allocations: 0 / 415.2 MB, free: 3.824 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.002496/0.04531, allocations: 2.158 MB / 417.4 MB, free: 1.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.04536, allocations: 12.02 kB / 417.4 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.04656, allocations: 495.2 kB / 417.9 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.04788, allocations: 1.087 MB / 418.9 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-05/0.04794, allocations: 102.7 kB / 419 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.04829, allocations: 227.6 kB / 419.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.0501, allocations: 1.342 MB / 420.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.05014, allocations: 3.984 kB / 420.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/0.05024, allocations: 59.98 kB / 420.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003456/0.05058, allocations: 186.6 kB / 420.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.0514, allocations: 0.6077 MB / 421.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.05801, allocations: 7.692 MB / 429.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009359/0.05895, allocations: 0.7636 MB / 429.9 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.05944, allocations: 380.3 kB / 430.3 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.549e-05/0.05951, allocations: 24.94 kB / 430.3 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.05955, allocations: 54.33 kB / 430.4 MB, free: 4.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 2.996e-06/0.05955, allocations: 0 / 430.4 MB, free: 4.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=137): time 0.003818/0.06337, allocations: 2.483 MB / 432.8 MB, free: 1.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.06342, allocations: 94.42 kB / 432.9 MB, free: 1.422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006962/0.06412, allocations: 0.9651 MB / 433.9 MB, free: 448 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.06419, allocations: 45.7 kB / 434 MB, free: 396 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007772/0.06496, allocations: 0.8582 MB / 434.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.06529, allocations: 0.5345 MB / 435.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.06562, allocations: 333 kB / 435.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.06576, allocations: 484.6 kB / 436.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.06605, allocations: 215.8 kB / 436.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/0.06669, allocations: 0.8669 MB / 437.2 MB, free: 12.84 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.002064/0.06875, allocations: 1.998 MB / 439.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.06876, allocations: 4 kB / 439.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00348/0.07224, allocations: 2.174 MB / 441.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.07226, allocations: 12 kB / 441.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.07228, allocations: 16 kB / 441.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/0.07462, allocations: 1.178 MB / 442.6 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.07522, allocations: 307.5 kB / 442.9 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009883/0.08511, allocations: 12.72 MB / 455.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.08573, allocations: 56.2 kB / 455.7 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.08584, allocations: 63.92 kB / 455.7 MB, free: 9.457 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 5.051577893736758e-5 * $DER.generator.i_s[3] = 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: 61 * 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003852/0.08622, allocations: 272.1 kB / 456 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.08645, allocations: 187 kB / 456.2 MB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.08797, allocations: 1.041 MB / 457.2 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.08798, allocations: 16 kB / 457.2 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.08799, allocations: 7.938 kB / 457.2 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.088, allocations: 11.97 kB / 457.3 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.09099, allocations: 2.042 MB / 459.3 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.09099, allocations: 4 kB / 459.3 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.09202, allocations: 295.7 kB / 459.6 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003372/0.09235, allocations: 178.3 kB / 459.8 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.09244, allocations: 47.97 kB / 459.8 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/0.09654, allocations: 9.036 MB / 468.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.09655, allocations: 4 kB / 468.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.09866, allocations: 1.472 MB / 470.3 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.099, allocations: 219 kB / 470.5 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.09915, allocations: 43.98 kB / 470.6 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.0996, allocations: 28 kB / 470.6 MB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.09977, allocations: 105 kB / 470.7 MB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.09983, allocations: 31.98 kB / 470.7 MB, free: 9.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004337/0.1003, allocations: 0.5152 MB / 471.3 MB, free: 9.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1003, allocations: 0 / 471.3 MB, free: 9.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001337/0.1016, allocations: 0.5077 MB / 471.8 MB, free: 8.613 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,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]) * 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 (126): * Single equations (assignments): 120 * 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.0002882/0.1019, allocations: 177.4 kB / 471.9 MB, free: 8.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.1044, allocations: 2.262 MB / 474.2 MB, free: 6.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1044, allocations: 4 kB / 474.2 MB, free: 6.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.1055, allocations: 1.296 MB / 475.5 MB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/0.1065, allocations: 285.1 kB / 475.8 MB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.1117, allocations: 3.927 MB / 479.7 MB, free: 420 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.1122, allocations: 488.4 kB / 480.2 MB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005531/0.1127, allocations: 191.6 kB / 480.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/0.1134, allocations: 362 kB / 480.7 MB, free: 15.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1134, allocations: 0 / 480.7 MB, free: 15.36 MB / 410.7 MB Notification: Performance of Templates: time 0.1569/0.2703, allocations: 27.55 MB / 0.4964 GB, free: 103.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.713159422390163]