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.001028/0.001028, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001137/0.001137, allocations: 168.7 kB / 24.91 MB, free: 8.77 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2435/0.2435, allocations: 29.41 MB / 291.2 MB, free: 2.402 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.403e-06/1.403e-06, allocations: 0 / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.011e-05, allocations: 2.312 kB / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008433/0.008453, allocations: 9.5 MB / 326.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00904/0.01749, allocations: 6.918 MB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007467/0.01824, allocations: 63.5 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01522/0.03346, allocations: 13.81 MB / 347.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.03571, allocations: 1.142 MB / 348.2 MB, free: 492 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.03705, allocations: 0.7326 MB / 349 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003756/0.0408, allocations: 4.085 MB / 353.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000827/0.04163, allocations: 0.8943 MB / 354 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.04297, allocations: 1.574 MB / 355.5 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.04402, allocations: 1.227 MB / 356.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.04417, allocations: 136 kB / 356.9 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007322/0.0449, allocations: 0.5382 MB / 357.4 MB, free: 7.242 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005624/0.04547, allocations: 0.9429 MB / 358.4 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.04658, allocations: 0.6547 MB / 359 MB, free: 5.641 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.04827, allocations: 1.873 MB / 360.9 MB, free: 3.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.04828, allocations: 0 / 360.9 MB, free: 3.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.04828, allocations: 0 / 360.9 MB, free: 3.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.0483, allocations: 0 / 360.9 MB, free: 3.762 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.002037/0.05034, allocations: 1.965 MB / 362.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.05037, allocations: 11.98 kB / 362.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.05144, allocations: 428.3 kB / 363.3 MB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.05265, allocations: 0.9786 MB / 364.3 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.0527, allocations: 102.7 kB / 364.4 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003476/0.05305, allocations: 215.8 kB / 364.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.05472, allocations: 1.295 MB / 365.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.05476, allocations: 7.953 kB / 365.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.05485, allocations: 51.98 kB / 365.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003089/0.05516, allocations: 186.6 kB / 366.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007505/0.05591, allocations: 0.5767 MB / 366.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005417/0.06133, allocations: 6.035 MB / 372.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.06264, allocations: 0.7405 MB / 373.5 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.06309, allocations: 348.5 kB / 373.8 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.607e-05/0.06315, allocations: 25 kB / 373.8 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.06318, allocations: 55.42 kB / 373.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 2.335e-06/0.06319, allocations: 0 / 373.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=137): time 0.003648/0.06684, allocations: 2.406 MB / 376.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.06688, allocations: 90.42 kB / 376.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.06742, allocations: 0.8156 MB / 377.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/0.0675, allocations: 49.7 kB / 377.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.06788, allocations: 0.6427 MB / 377.9 MB, free: 2.152 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.06822, allocations: 0.5189 MB / 378.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.06859, allocations: 287.3 kB / 378.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.06868, allocations: 309.1 kB / 379 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.06905, allocations: 210.7 kB / 379.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.06963, allocations: 0.636 MB / 379.8 MB, free: 8 kB / 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.002367/0.072, allocations: 1.799 MB / 381.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.07201, allocations: 4 kB / 381.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003636/0.07564, allocations: 1.887 MB / 383.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.07567, allocations: 10.34 kB / 383.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.07568, allocations: 16 kB / 383.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.07856, allocations: 1.158 MB / 384.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.07936, allocations: 299.5 kB / 385 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.08993, allocations: 9.716 MB / 394.7 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007316/0.09066, allocations: 48 kB / 394.8 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.09078, allocations: 68.17 kB / 394.8 MB, free: 312 kB / 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 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.000487/0.09127, allocations: 224.1 kB / 395 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.09148, allocations: 120 kB / 395.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.09283, allocations: 0.8912 MB / 396.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.09284, allocations: 12 kB / 396.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.09284, allocations: 4 kB / 396.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.09286, allocations: 7.969 kB / 396.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.09562, allocations: 1.738 MB / 397.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.09562, allocations: 0 / 397.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/0.09662, allocations: 291.6 kB / 398.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004055/0.09703, allocations: 196.1 kB / 398.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.09713, allocations: 43.97 kB / 398.3 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003781/0.1009, allocations: 6.388 MB / 404.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1009, allocations: 8 kB / 404.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.1026, allocations: 1.228 MB / 406 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.1029, allocations: 190.9 kB / 406.1 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.1031, allocations: 51.92 kB / 406.2 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.1035, allocations: 28 kB / 406.2 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.1037, allocations: 105 kB / 406.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.1037, allocations: 27.98 kB / 406.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003742/0.1041, allocations: 386.2 kB / 406.7 MB, free: 3.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1041, allocations: 0 / 406.7 MB, free: 3.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001608/0.1057, allocations: 0.5077 MB / 407.2 MB, free: 3.203 MB / 378.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.0003169/0.106, allocations: 162.4 kB / 407.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.1088, allocations: 1.893 MB / 409.3 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.416e-05/0.1088, allocations: 12.5 kB / 409.3 MB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.1099, allocations: 0.969 MB / 410.3 MB, free: 36 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.1109, allocations: 307.2 kB / 410.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.1161, allocations: 3.417 MB / 414 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.1166, allocations: 484.4 kB / 414.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005977/0.1172, allocations: 187.6 kB / 414.6 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/0.1179, allocations: 321.2 kB / 415 MB, free: 11.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1179, allocations: 0 / 415 MB, free: 11.25 MB / 394.7 MB Notification: Performance of Templates: time 0.0348/0.1527, allocations: 26.91 MB / 441.9 MB, free: 0.6992 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.8287156457081437]